summaryrefslogtreecommitdiffstats
path: root/source/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
commit81fe571daf62ff3f53d7137dcd30312b6874b786 (patch)
tree4977fcdacf4dd1a486a8e96840d7ab5a2b52a084 /source/rpc_server/srv_pipe.c
parent0e6a34510ed598eaec7fe71a9c91fda528a4675c (diff)
downloadsamba-81fe571daf62ff3f53d7137dcd30312b6874b786.tar.gz
samba-81fe571daf62ff3f53d7137dcd30312b6874b786.tar.xz
samba-81fe571daf62ff3f53d7137dcd30312b6874b786.zip
Fix for AS/U not liking it's own assoc_gid.
Jeremy.
Diffstat (limited to 'source/rpc_server/srv_pipe.c')
-rw-r--r--source/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_pipe.c b/source/rpc_server/srv_pipe.c
index 6d0a0065939..c0174280ab2 100644
--- a/source/rpc_server/srv_pipe.c
+++ b/source/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.