svn commit: samba r3388 - in branches/SAMBA_4_0/source/librpc/rpc: .
tridge at samba.org
tridge at samba.org
Sat Oct 30 09:23:40 GMT 2004
Author: tridge
Date: 2004-10-30 09:23:39 +0000 (Sat, 30 Oct 2004)
New Revision: 3388
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3388
Log:
when doing schannel use a anonymous session setup (as the machine acct
isn't allowed to login on a share)
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-10-30 05:53:56 UTC (rev 3387)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c 2004-10-30 09:23:39 UTC (rev 3388)
@@ -778,7 +778,8 @@
pipe_name = talloc_asprintf(mem_ctx, "\\%s", pipe_name);
}
- if (!username || !username[0]) {
+ if (!username || !username[0] ||
+ (binding->flags & DCERPC_SCHANNEL_ANY)) {
status = smbcli_full_connection(NULL, &cli, lp_netbios_name(),
binding->host, NULL,
"ipc$", "?????",
More information about the samba-cvs
mailing list