diff options
author | Luke Leighton <lkcl@samba.org> | 2000-02-19 20:57:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-02-19 20:57:20 +0000 |
commit | 6678f948368302ce7cb83e27b83f441e4e79b134 (patch) | |
tree | 2869d9bcb5dc5ae3a8386046be1c182c3625a9c4 /source/lsarpcd | |
parent | b5aea3f2dec044dea7704835a0ad7f7a156578b7 (diff) | |
download | samba-6678f948368302ce7cb83e27b83f441e4e79b134.tar.gz |
adding debug info, test purposes.
Diffstat (limited to 'source/lsarpcd')
-rw-r--r-- | source/lsarpcd/lsarpcd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/lsarpcd/lsarpcd.c b/source/lsarpcd/lsarpcd.c index 9dc96f2cefb..23fc9518bcb 100644 --- a/source/lsarpcd/lsarpcd.c +++ b/source/lsarpcd/lsarpcd.c @@ -90,6 +90,7 @@ static void update_trust_account(void) if (res2 && time(NULL) > nt_time_to_unix(&ntlct) + lp_machine_password_timeout()) { + DEBUG(1,("$MACHINE.ACC password being updated.\n")); trust_pwd_needs_changing = True; } @@ -111,6 +112,10 @@ static void update_trust_account(void) res2 = res2 ? (_lsa_set_secret(&pol_sec, &secret, 0x0) == NT_STATUS_NOPROBLEMO) : False; + if (!res2) + { + DEBUG(0,("$MACHINE.ACC password update FAILED\n")); + } } res1 = res1 ? _lsa_close(&pol_sec) : False; |