Samba does not use the UNIX/Linux /etc/passwd file, it will only look at the smbpasswd file. You need to add users to the smbpasswd file. You can do this with the following command: smbpasswd -a <user name>. If you have swat running, you can use the swat interface to add users as well. Since you did not show your smb.conf file, I will assume that your Samba server is standalone, you should make security = SHARE and encrypt passwords = Yes. Win2k sends encrypted passwords. If you need to sync the UNIX/Linux passwords to the samba you can use the following: passwd program = /usr/bin/passwd %u unix password sync = Yes
Mike On Wed, 2003-04-02 at 07:20, Zoki wrote: > Le 29/03/2003 20:46, � James Wilford � <[EMAIL PROTECTED]> a �crit : > > > Hi, > > > > I've got an annoying little problem with Samba and Win2k. I installed a Win2k > > Pro client on the network and set it to use plain text passwords and join the > > workgroup. > > > > The username and password of the user on the win2k box are the same as the > > account in /etc/passwd on the linux box. But after logging in, when trying to > > reconnect the mapped drives the windows box says: > > > > "Incorrect password or unknown username for: \\linuxbox\share" > > <snip> > > > *** Had the same problem. Life is too short to try and understand Win2k > brainstorms so this is what I did: > > - Instruct user to hit "Esc" twice after login to get rid of the error > window. > > - Created a *.bat file which is in user "Start up" folder and which mounts > the shares automatically: > > @ECHO OFF > echo. "............................" > echo. "" > echo. " Mounting Linux drives" > echo. "" > echo. "............................" > net use D: \\[server_name]\[share] [PASSWORD] > > or this if you're connecting to a domain server > > net use D: \\[server_name]\[share] /USER:[DOMAIN]\[DOMAIN_USER_NAME] > [DOMAIN_PASSWORD] > > P.S. On one line! > > > Have fun. > > -- > Cheers, > Zoran. > > "Home is where you hang your @" > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
