summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-08 05:01:20 +0000
committerJeremy Allison <jra@samba.org>2001-03-08 05:01:20 +0000
commit25db9b02ba36b25c3254bbb44323fcbfa2a2a5e7 (patch)
treefcb9fce4016bb0c9acb44c5576f0626de828f4e1 /source3/rpc_server/srv_pipe.c
parent393bede7db6af546431cd5255e465b7b7b0e7c81 (diff)
downloadsamba-25db9b02ba36b25c3254bbb44323fcbfa2a2a5e7.tar.gz
samba-25db9b02ba36b25c3254bbb44323fcbfa2a2a5e7.tar.bz2
samba-25db9b02ba36b25c3254bbb44323fcbfa2a2a5e7.zip
Fix for AS/U not liking it's own assoc_gid.
Jeremy. (This used to be commit 81fe571daf62ff3f53d7137dcd30312b6874b786)
Diffstat (limited to 'source3/rpc_server/srv_pipe.c')
-rw-r--r--source3/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 6d0a006593..c0174280ab 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -886,7 +886,7 @@ BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
if (p->ntlmssp_auth_requested)
assoc_gid = 0x7a77;
else
- assoc_gid = hdr_rb.bba.assoc_gid;
+ assoc_gid = hdr_rb.bba.assoc_gid ? hdr_rb.bba.assoc_gid : 0x53f0;
/*
* Create the bind response struct.