CVS update: samba/source/libsmb

abartlet at samba.org abartlet at samba.org
Tue Dec 4 16:03:03 EST 2001


Date:	Mon Dec  3 21:03:03 2001
Author:	abartlet

Update of /data/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv923/libsmb

Modified Files:
	pwd_cache.c smbencrypt.c 
Log Message:
Add 'net rpc join' to match the ADS equiv.

This kills off the offending code in smbpasswd -j -Uab%c

In the process we have changed from unsing compelatly random passwords
to random, 15 char ascii strings.  While this does produce a decrese in
entropy, it is still vastly greater than we need, considering the application.

In the meantime this allows us to actually *type* the machine account 
password duruign debugging.

This code also adds a 'check' step to the join, confirming that the 
stored password does indeed do somthing of value :-)

Andrew Bartlett


Revisions:
pwd_cache.c		1.22 => 1.23
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/pwd_cache.c?r1=1.22&r2=1.23
smbencrypt.c		1.66 => 1.67
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/smbencrypt.c?r1=1.66&r2=1.67




More information about the samba-cvs mailing list