git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0120dea
)
don't try to auto-change the trust password unless we are in domain
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Nov 2001 01:51:10 +0000
(
01:51
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Nov 2001 01:51:10 +0000
(
01:51
+0000)
security
source/smbd/process.c
patch
|
blob
|
history
diff --git
a/source/smbd/process.c
b/source/smbd/process.c
index d4881b0ba5615ecc4ac4ca73662575367b24b81e..bbccc67f97a06d34ade6e7919fba5abf2f1ba25b 100644
(file)
--- a/
source/smbd/process.c
+++ b/
source/smbd/process.c
@@
-1139,7
+1139,10
@@
static BOOL timeout_processing(int deadtime, int *select_timeout, time_t *last_t
return False;
}
- if(global_machine_password_needs_changing)
+ if(global_machine_password_needs_changing &&
+ /* for ADS we need to do a regular ADS password change, not a domain
+ password change */
+ lp_security() == SEC_DOMAIN)
{
unsigned char trust_passwd_hash[16];
time_t lct;