[Samba] smbpasswd

Ryan Novosielski novosirj at umdnj.edu
Wed Apr 23 13:57:03 GMT 2003


Do not use -e. -e is for enable, which I suppose will fail if the user
does not exist. Users are enabled by default. Do:

smbpasswd -a <user>

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 23 Apr 2003, Anonymous wrote:

> I'm new in SMB and Linux in gerneral, I've tried to set up samba;
> I created a new user in Linux using useradd, after that I wanted to create the same user for samba using "smbpasswd -a -e username"
> but I get an error saying "unable to open passdb database ERROR: Unable to lacate username in passdb!"
>
> thx a lot for any help
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list