diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-01 19:25:51 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-01 19:25:51 +0000 |
commit | 86ac6fa9389532bc0e39b4da2fb73766cf29aeb9 (patch) | |
tree | 4b3c8546baa832cc228ad796ab6a10676993b88e /source3/utils/smbpasswd.c | |
parent | d9cc4c39504534da0f4cd2569c724de4909ebd79 (diff) | |
download | samba-86ac6fa9389532bc0e39b4da2fb73766cf29aeb9.tar.gz |
fixing joining to domain plus something weird going down with nt logins...
(This used to be commit cef258f1c931ecb7c2dda9d5c9977153e4c1dc73)
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r-- | source3/utils/smbpasswd.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 7411d07a9ba..3b87687c261 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -81,39 +81,6 @@ static void usage(void) } /********************************************************* -record Trust Account password. -**********************************************************/ -static BOOL create_trust_account_file(char *domain, char *name, uchar pass[16]) -{ - /* - * Create the machine account password file. - */ - - if(!trust_password_lock( domain, name, True)) - { - fprintf(stderr, "unable to open the trust account password file for \ -machine %s in domain %s.\n", global_myname, domain); - return False; - } - - /* - * Write the old machine account password. - */ - - if(!set_trust_account_password( pass)) - { - fprintf(stderr, "unable to write the trust account password for \ -%s in domain %s.\n", name, domain); - trust_password_unlock(); - return False; - } - - trust_password_unlock(); - - return True; -} - -/********************************************************* Join a domain. **********************************************************/ static int create_interdomain_trust_acct(char *domain, char *name) |