Must a Samba PDC use encrypted passwords?

Albert Chin-A-Young china at pprd.abbott.com
Fri Jun 5 20:28:36 GMT 1998


On Sat, 6 Jun 1998, Gerald Carter wrote:

>Paul Keck wrote:
>> 
>> After the period of getting everyone to log in and get their password
>> updated is done and we switch to encrypted passwords, /etc/passwd and
>> smbpasswd will start to diverge, right?  Meaning, if they change one 
>> the other will NOT change.  
>
>Correct
>
>> If that is true, is there a good way around this?
>
>The best solution is to rewrite you passwd program on the unix box to
>pipe the change to /etc/passwd and smbpasswd.  This is fairly trivial 
>if these files are located on the same box that user's login to change
>their passwd.  If uses's change their passwd on other machines besides
>these master's, then things get a little trickier.

If you're running NIS, I'd like to see a modified rpc.yppasswdd that
updated NIS passwd and NIS smbpasswd at the same time. Samba would
then have to be modified to use NIS for smbpasswd. I'd also like to
see Samba refer to both smbpasswd and passwd (if the login name is not
in smbpasswd, then look in passwd). The latter is important until
everyone changes their password.

>                            Gerald ( Jerry ) Carter	

-- 
albert chin (china at pprd.abbott.com)



More information about the samba-ntdom mailing list