Discussion Locked

Accessing Linux server from W2K prof.

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Relatively new to Linux 7.2. Got it installed, thought I got Samba all set and running, even got to add my user name and password in and thought that was all set. Tried to verify the smb.conf file, verified domains, etc...

I can telnet into the machine. I can ping it by either IP or by Name. I can see it through network neighborhood. Bubt any time I try and acces it through Windows, I get the User name and password dialog and nothing will work. I use the same exact user name and password fortelneting and it works fine there. But anytime I try and get Windows to access the Linex server, I get stuck at this password and user name prompt. Any ideas??? Thanks in advance for the help!!

Richard

3 replies

by masinick

It's really hard to give you any kind of a definitive answer on this, but observing what you've said, a couple things come to mind.

1. Things aren't what they seem to be.
2. Access to resources isn't what it should be.

Given those two statements, the places I would begin my search to figure out what's going on are in areas of access control. I'd check in three areas for starters -

File and directory names and permissions (access rights). Make sure that both the files and directoriesyou're interested in are named exactly what you expect and make sure that BOTH the files AND directories have sufficient access that you can get to them.

Account names and passwords - you state that you can telnet into the account(s) you're interested in, so this is unlikely to be your problem, but make sure the account you're telnetting into is the same account that owns the DIRECTORY you are interested in. If not, that could be the problem or it could at least point you closer to the problem.

Samba has quite a few settings of its own. On Windows, all of the choices in the Network Neighborhood are pretty much made for you. In
Samba, whether on UNIX or Linux, there are quite a few choices to consider. One would hope that the defaults are acceptable, but that may or may not be the case. I'd check the first two areas vigilantly FIRST, but after exhausting them, I'd locate a good Samba HOWTO and make sure you understand what you've set up.

I wish I could be more help thanthat, but hopefully I've given you a few ideas of places to start. Sure sounds like an access problem of some sort, so really check all access possibilities first. Clearly you can "see" the machine OK, so hardware and networking aren't the problem. Clearly you can even login, so access between the systems isn't the problem. Start with directory and file access, then check accounts and go from there.

Email me, masinick@y

by rlevesque

Thanks for providing a detailed answer. I checked the file and directory rights and those seemed fine, but at the same time, you made me think of something else, encrypted passwords. Although I thought it was set up to do so, the password for the linux account wasn't "matched" with the one in the smbpasswd file?? (that sound right?). Anyways, once those were sync'd, I got in.

Although your answer wasn't 100% direct, it did help me figure it out. Thanks and enjoy the exrra points!!

This discussion is closed to new replies.