[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Fri Oct 1 20:28:02 MDT 2010


The branch, master has been updated
       via  0ea3877 s4-gensec Always honour the set server principal
      from  23a8fad s4-drs: fixed comparison login in replicated renames

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0ea38779353a964c01a6cdb71d1b627539159d5d
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Oct 2 10:58:46 2010 +1000

    s4-gensec Always honour the set server principal
    
    The spengo code won't set this unless it is allowed to by this
    same option, but other callers may need it.
    
    Andrew Bartlett
    
    Autobuild-User: Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date: Sat Oct  2 02:27:39 UTC 2010 on sn-devel-104

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

Summary of changes:
 source4/auth/gensec/gensec_gssapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index ecf2a73..51d59d9 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -352,7 +352,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
 	gensec_gssapi_state = talloc_get_type(gensec_security->private_data, struct gensec_gssapi_state);
 
 	principal = gensec_get_target_principal(gensec_security);
-	if (principal && lpcfg_client_use_spnego_principal(gensec_security->settings->lp_ctx)) {
+	if (principal) {
 		name_type = GSS_C_NULL_OID;
 	} else {
 		principal = talloc_asprintf(gensec_gssapi_state, "%s/%s@%s",


-- 
Samba Shared Repository


More information about the samba-cvs mailing list