svn commit: samba r1850 - branches/SAMBA_4_0/source/librpc/rpc

metze at samba.org metze at samba.org
Tue Aug 17 10:02:55 GMT 2004


Author: metze
Date: 2004-08-17 10:02:54 +0000 (Tue, 17 Aug 2004)
New Revision: 1850

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1850&nolog=1

Log:
when we have a username and use sign or seal on a dcerpc over np

use dcerpc auth instead off smb auth

metze

Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-08-17 09:31:36 UTC (rev 1849)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-08-17 10:02:54 UTC (rev 1850)
@@ -457,7 +457,8 @@
 		pipe_name += 6;
 	}
 	    
-	if ((binding->flags & DCERPC_SCHANNEL_ANY) || !username || !username[0]) {
+	if ((binding->flags & (DCERPC_SCHANNEL_ANY | DCERPC_SIGN | DCERPC_SEAL))
+		|| !username || !username[0]) {
 		status = smbcli_full_connection(&cli, lp_netbios_name(),
 					     binding->host, NULL, 
 					     "ipc$", "?????", 



More information about the samba-cvs mailing list