[Samba] Unix password sync

Jesse Molina jesse at opendreams.net
Tue Feb 24 07:01:57 GMT 2004


Try, as root "smbpasswd -e username" where username is the non-root user 
having this problem.

I was having this problem too.  I don't know the details, but try it out 
and let the list know the results please.





Ben Jensz wrote:

> Hi all,
> Sorry if this has been answered before, but I've searched Google and the 
> archives and it hasn't revealed an answer to my problem.
> Basically I'm trying to get unix password sync to work so that users can 
> change both their logon and other services (POP3 etc) passwords from 
> within Windows.  but the problem is that if I enable unix password sync, 
> it fails with the error of:
> [user at mail user]$ smbpasswd
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> machine rejected the password change: Error was : RAP86: The 
> specified password is invalid.
> Failed to change password for user
> So basically because it won't even work via smbpasswd from the machine 
> as the unprivileged user, then changing from Windows won't (and doesn't) 
> work either.  But of course, if I turn off unix password sync, password 
> changes by the users on the command line with smbpasswd work fine and 
> they do from Windows as well.
> I have tried a variety of versions of Samba from earlier 2.2.x series, 
> to the latest 2.2.8a version and the latest 3.0.x versions as well.  So 
> it doesn't appear to be a bug in any specific version of Samba causing 
> the problem.  I'm running Samba on a Fedora Core 1 machine, but I've 
> also tested unix password sync on another machine with Red Hat 7.3 on it 
> and it fails on that one also if unix password sync is on.
> What else needs to be done to get this to work properly?
> TIA.
> / Ben

# Jesse Molina
# Mail = jesse at opendreams.net
# Page = page-jesse at opendreams.net
# Cell = 1.407.970.0280
# Web  = http://www.opendreams.net/jesse/

More information about the samba mailing list