svn commit: samba r4663 - in branches/SAMBA_4_0/source/rpc_server: .

tridge at samba.org tridge at samba.org
Tue Jan 11 01:53:14 GMT 2005


Author: tridge
Date: 2005-01-11 01:53:14 +0000 (Tue, 11 Jan 2005)
New Revision: 4663

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4663

Log:
fixed SPNEGO auth in the rpc server 

Modified:
   branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c	2005-01-11 01:39:06 UTC (rev 4662)
+++ branches/SAMBA_4_0/source/rpc_server/dcesrv_auth.c	2005-01-11 01:53:14 UTC (rev 4663)
@@ -239,8 +239,9 @@
 	struct dcesrv_connection *dce_conn = call->conn;
 	NTSTATUS status;
 
-	/* on a pure interface change there is no auth blob */
-	if (pkt->u.alter.auth_info.length == 0) {
+	/* on a pure interface change there is no auth_info structure
+	   setup */
+	if (!call->conn->auth_state.auth_info) {
 		return True;
 	}
 
@@ -252,7 +253,7 @@
 			       call,
 			       dce_conn->auth_state.auth_info->credentials, 
 			       &dce_conn->auth_state.auth_info->credentials);
-	
+
 	if (NT_STATUS_IS_OK(status)) {
 		status = gensec_session_info(dce_conn->auth_state.gensec_security,
 					     &dce_conn->auth_state.session_info);



More information about the samba-cvs mailing list