On Sunday 16 March 2003 08:19 pm, Spiro Philopoulos wrote: > When using smb-2b.lrp to run a Samba server I couldn't get Windows XP > clients to connect, so I decided to compile some of the latest versions > (2.2.3a, 2.2.7a, 2.2.8) of Samba to use. However with these new versions I > get the following error when trying to login from any client (Win2K, > smbclient): > > build_sam_account: smbpasswd database is corrupt! username someuser not > in unix passwd database! > > The odd thing is that the user does exist in /etc/passwd, and everything > worked fine before with smb-2b.lrp (version 2.0.4b). > > Similarly, when using smbpasswd to add a user I get the error message: > > User someotheruser does not exist in system password file (usually > /etc/passwd). Cannot add account without a valid local system user. > Failed to modify password entry for user someotheruser > > I've statically compiled these new versions so it shouldn't be a library > issue. Has anybody had any success using Samba (other than the smb-2.lrp & > smb-2b.lrp packages) or knows what the problem might be? Has anybody had > success connecting with WinXP clients when using the smb-2.lrp or > smb-2b.lrp packages? Any help/guesses would be greatly appreciated.
You need to setup a home directory for each of the users and login under that username(s) and set the password. Linux/Samba uses shadow-passwords instead of the old passwd file. This is likely the source of your errors. -- ~Lynn Avants Linux Embedded Appliance Firewall Developer http://leaf.sourceforge.net http://www.guitarlynn.homelinux.org:81 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html