[Samba] Re: unable to open passdb database.
chuck
chuck at gelm.net
Tue Mar 30 00:45:31 GMT 2004
I put the 'list' back in the address and bottom posted.
Scott Moseman wrote:
>
> Run this to find the password file:
>
> find / -name smbpasswd
>
> It will locate the binary and the password database,
> since they both use that same name. You will easily
> tell which is which by looking at the directory path.
>
> Sounds like it might be a permissions related issue.
> Once you verify the location of the smbpasswd file,
> check the file permissions to make sure you edit it.
>
> Scott
>
> -----Original Message-----
> From: chuck [mailto:chuck at gelm.net]
> Sent: Monday, March 29, 2004 5:04 PM
> To: Scott Moseman
> Subject: unable to open passdb database.
>
> I upgraded my file server to kernel 2.4.22
> (Slackware9.1) and cannot 'smbpasswd <username>'.
> It fails with this error:
> unable to open passdb database.
>
> I 'google'ed for this and found many queries
> and zero answers. I searched the March archives
> and found no answers.
>
> Odd, there is no filename 'passdb' on the old system
> which worked fine.
>
> What does this error message really mean?
>
> Sincerely,
> Chuck
Hi, Scott:
Thanks. I found /etc/samba/private/smbpasswd in the old file system.
I moved it to the new file system. Now I can change|edit one user
(gelmce) account, yet another user account (chuck) fails due to
"Failed to find entry for user chuck."
IIRC, there was a command to add samba users....like 'addsmbuser'.
I'll check the 'docs'. Again, Thanks.
Chuck
More information about the samba
mailing list