summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-30 00:37:05 +0200
committerGünther Deschner <gd@samba.org>2011-05-02 15:03:43 +0200
commit61cd1067efacd91e22b4acbdf0d1d92dc2efc162 (patch)
tree44ec7babfc5f97f420b5ef853440c4c191022345 /source3/rpc_server
parentcd5b2b242b39437081592d41d297bce0668b40ab (diff)
downloadsamba-61cd1067efacd91e22b4acbdf0d1d92dc2efc162.tar.gz
samba-61cd1067efacd91e22b4acbdf0d1d92dc2efc162.tar.bz2
samba-61cd1067efacd91e22b4acbdf0d1d92dc2efc162.zip
s3-smbd: avoid using pipes_struct when only session_info is needed.
Guenther
Diffstat (limited to 'source3/rpc_server')
-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 27a7aaeaf4..256540965c 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -1547,7 +1547,7 @@ static bool api_pipe_request(struct pipes_struct *p,
((p->auth.auth_type == DCERPC_AUTH_TYPE_NTLMSSP) ||
(p->auth.auth_type == DCERPC_AUTH_TYPE_KRB5) ||
(p->auth.auth_type == DCERPC_AUTH_TYPE_SPNEGO))) {
- if(!become_authenticated_pipe_user(p)) {
+ if(!become_authenticated_pipe_user(p->session_info)) {
data_blob_free(&p->out_data.rdata);
return False;
}