git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36851d
)
r3388: when doing schannel use a anonymous session setup (as the machine acct
author
Andrew Tridgell
<tridge@samba.org>
Sat, 30 Oct 2004 09:23:39 +0000
(09:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:05:04 +0000
(13:05 -0500)
isn't allowed to login on a share)
source/librpc/rpc/dcerpc_util.c
patch
|
blob
|
history
diff --git
a/source/librpc/rpc/dcerpc_util.c
b/source/librpc/rpc/dcerpc_util.c
index fc09382430953ea937816b2bc1039e3b073a1658..960fe7aea8c807fc4fc1c06bd973a1f61c0649c3 100644
(file)
--- a/
source/librpc/rpc/dcerpc_util.c
+++ b/
source/librpc/rpc/dcerpc_util.c
@@
-778,7
+778,8
@@
static NTSTATUS dcerpc_pipe_connect_ncacn_np(struct dcerpc_pipe **p,
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$", "?????",