[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28a-25-ge4ac966

Volker Lendecke vlendec at samba.org
Wed Apr 9 07:59:37 GMT 2008


The branch, v3-0-test has been updated
       via  e4ac9660fe9838766525be32dc1aca9d66cce6af (commit)
      from  f1cff02beef84a1d35d7786f143959807d3de28a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit e4ac9660fe9838766525be32dc1aca9d66cce6af
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Apr 9 09:07:04 2008 +0200

    Try anonymous session setup
    
    ... if there's no trust password
    
    Attempt to fix bug 5350

-----------------------------------------------------------------------

Summary of changes:
 source/nsswitch/winbindd_cm.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/winbindd_cm.c b/source/nsswitch/winbindd_cm.c
index 5b3120e..91c8c46 100644
--- a/source/nsswitch/winbindd_cm.c
+++ b/source/nsswitch/winbindd_cm.c
@@ -720,7 +720,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
 					 &machine_account,
 					 &machine_krb5_principal);
 		if (!NT_STATUS_IS_OK(result)) {
-			goto done;
+			goto anon_fallback;
 		}
 
 		if (lp_security() == SEC_ADS) {
@@ -803,6 +803,8 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
 		}
 	}
 
+ anon_fallback:
+
 	/* Fall back to anonymous connection, this might fail later */
 
 	if (NT_STATUS_IS_OK(cli_session_setup(*cli, "", NULL, 0,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list