[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-713-g99f6b63

Volker Lendecke vlendec at samba.org
Wed Apr 9 08:01:45 GMT 2008


The branch, v3-2-test has been updated
       via  99f6b63f3c637457fdda7ed930c6666171b25b61 (commit)
      from  3aefb0df1c4065223d50c32910ef26704791a6a3 (commit)

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


- Log -----------------------------------------------------------------
commit 99f6b63f3c637457fdda7ed930c6666171b25b61
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Apr 9 09:48:59 2008 +0200

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

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

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_cm.c b/source/winbindd/winbindd_cm.c
index b792de0..8026186 100644
--- a/source/winbindd/winbindd_cm.c
+++ b/source/winbindd/winbindd_cm.c
@@ -825,7 +825,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) {
@@ -910,6 +910,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