On Sun, 20 Oct 2002 19:49:30 -0600 "K. Vaughan" <[EMAIL PROTECTED]> wrote:
> -> Make sure that your user login names in Win2000 and RedHat are > the-> same, and that the Win2000 login password is the same as the > RedHat-> Samba password if you are using the login names as basis > for access to-> the shares.. Also, check that the Samba users ID > number in RedHat's-> /etc/passwd file match those in the > /etc/samba/smbpasswd file ( or it-> could be just /etcsmbpasswd.) > -> I have had instances where the regular Rehat /etc/passwd UID of > user-> "Bob" and Samba's /etc/samba/smbpasswd UID for user "Bob" did > not-> match; keeping that user "Bob" from mapping shares ( kept > getting-> "wrong password" messages on the MS Windows machine.) > -> There is good troubleshooting read for Samaba in > -> /usr/share/doc/samba<version>/docs/textdocs/DIAGNOSTICS.txt > > Tom, > > Thank you for your reply; the usernames in both Linux and Windows > don't match; however, Windows 2000's "Map Network Drive" dialogue > has a place to enter both the username and password, so I've been > trying through there. In the event that I need to change the > username/make a new user for the person who is trying to access the > shares, can *nix usernames contain spaces? (e.g. "John Smith") > > I'm not entirely sure about the linux usernames, but I believe that they have to be one continuous phrase, and "case" does make a difference; example: johnsmith and Johnsmith aren't the same user. You can always use 'John.Smith" or "John_Smith." My MS Windows machines (Win 3.11 and Win98) don't seem to care about case. In fact, the Win3.11 machine will accept a "blank" password as well as a proper one. The usernames and passwords in Win2000 and Samba's 'valid users' and the /etc/samba/smbpasswd file have to be the same. The linux password and the samba do not have to be the same. So, you can can have a regular root (user) password, and a Samba root ( samba user) password that are different. But, then if the user logs in on Win2000 ( where there is a valid user named 'root') as 'root', the login password has to match the linux /etc/samba/smbpasswd entry. Otherwise, the user 'root' on the Win2000 machine can't mount shares. The problem I was having, was that all my user names and password, in linux, Samba,and in Win98, were identical. But only 'root' could map drives from the Win98 machine. It turned out that root's UID=0 in both the normal /etc/passwd and in Samba's /etc/samba/smbpasswd. But my other users UID's did not all match. Editing the /etc/samba/smbpasswd file to make the UIDs the same fixed the problem. Best, Tom -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list