[Samba] "password server" not working: 2.2.4

Gerald Carter jerry at samba.org
Mon Jun 10 06:29:03 GMT 2002


On 10 Jun 2002, Ken D'Ambrosio wrote:

> I've been having some trouble getting ACLs to work under my Samba 2.2.4
> client (talking to my 2.2.4 "PDC").  Finally, I checked the log and
> realized that it wasn't able to map SIDs to UID/GIDs.  Further checking,
> and I realized that the client never made the request to the server. 
> Here's some output from smbpasswd:
> 
> smbpasswd -D 4 fred
...
> startsmbfilepwent_internal: unable to open file
> /usr/local/samba/private/smbpasswd. Error was No such file or directory
> unable to open passdb database.
> Failed to find entry for user fred.
> Failed to modify password entry for user fred
> 
> So, despite the fact that:
> a) the PDC is explicitly listed (I've also tried "*") in the "password
>    server" paramater, and
> b) there is no "smb passwd file" heading,
> 
> it's still trying to go there.  Methinks this is a bug.  Clearly
> something I've done has triggered it, though I'm not sure what.  If it's
> of any help, this is also configured --with-acl-support for XFS.

No bug.  If you are trying to change the password for a user on a
remote server, type

	smbpasswd -r <machine> 

as that user.





cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list