diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/credentials/credentials.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c index d884fb59ce..caaef3e0c2 100644 --- a/source4/auth/credentials/credentials.c +++ b/source4/auth/credentials/credentials.c @@ -216,8 +216,8 @@ BOOL cli_credentials_authentication_requested(struct cli_credentials *cred) return True; } - if (cred->machine_account_pending) { - cli_credentials_set_machine_account(cred); + if (cli_credentials_is_anonymous(cred)){ + return False; } if (cred->principal_obtained >= CRED_SPECIFIED) { |