Add 'net rpc join' to match the ADS equiv.
commitc0b7ee6ee547dc7ff798eaf8cb63fbe344073029
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Dec 2001 05:03:03 +0000 (4 05:03 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Dec 2001 05:03:03 +0000 (4 05:03 +0000)
treee1b3b295c5146524848e9a2614fe2ddba85350c9
parent16d302c5cc0da93a58e0ce10843f9c8d8062c689
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
source/Makefile.in
source/libsmb/pwd_cache.c
source/libsmb/smbencrypt.c
source/utils/net_rpc.c
source/utils/net_rpc_join.c [new file with mode: 0644]
source/utils/smbpasswd.c