git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
054ef13
)
s3:rpc_server: make sure we have a unix token
author
Stefan Metzmacher
<metze@samba.org>
Wed, 23 Apr 2014 16:13:04 +0000
(18:13 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 24 Apr 2014 09:21:05 +0000
(11:21 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe.c
b/source3/rpc_server/srv_pipe.c
index aaf58871d3ecb9c7949a141c6850ee83a82dd566..23d84311649cc2e770f19abf0d9a9748df7ed121 100644
(file)
--- a/
source3/rpc_server/srv_pipe.c
+++ b/
source3/rpc_server/srv_pipe.c
@@
-508,6
+508,11
@@
static bool pipe_auth_generic_verify_final(TALLOC_CTX *mem_ctx,
return false;
}
+ if ((*session_info)->unix_token == NULL) {
+ DEBUG(1, ("Auth module failed to provide unix_token\n"));
+ return false;
+ }
+
/*
* We're an authenticated bind over smb, so the session key needs to
* be set to "SystemLibraryDTC". Weird, but this is what Windows