mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
don't try to auto-change the trust password unless we are in domain
security (This used to be commit 00e4f0c803c6376387c31efd01cf3437c589da9d)
This commit is contained in:
parent
3dc6fe1fe4
commit
1fb4d2f1b0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user