svn commit: samba r16218 - in
branches/SAMBA_4_0/source/auth/credentials: .
abartlet at samba.org
abartlet at samba.org
Wed Jun 14 04:00:44 GMT 2006
Author: abartlet
Date: 2006-06-14 04:00:42 +0000 (Wed, 14 Jun 2006)
New Revision: 16218
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16218
Log:
If a connection is forced as 'anonymous', don't treat it as
'authentication requested'...
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/auth/credentials/credentials.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/credentials/credentials.c
===================================================================
--- branches/SAMBA_4_0/source/auth/credentials/credentials.c 2006-06-14 02:06:30 UTC (rev 16217)
+++ branches/SAMBA_4_0/source/auth/credentials/credentials.c 2006-06-14 04:00:42 UTC (rev 16218)
@@ -216,8 +216,8 @@
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) {
More information about the samba-cvs
mailing list