From 9482de397977fc6b7c18795f0398bcc3768fd189 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 14 Jun 2006 04:00:42 +0000 Subject: r16218: If a connection is forced as 'anonymous', don't treat it as 'authentication requested'... Andrew Bartlett (This used to be commit d5fc88c93697dbcab13b2356ef4e5d1d2a7d59eb) --- source4/auth/credentials/credentials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth/credentials/credentials.c') 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) { -- cgit