summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-17 15:31:28 +1000
committerAndrew Tridgell <tridge@samba.org>2010-10-14 02:35:04 +0000
commit170b345e0c688b178eb37a73a8110dec68a8ae31 (patch)
tree79e5191ba2681c55e8846cd301662b8cc0749ede /source3/smbd
parent58cf83732a3af2cf2098b1b2108e4b5f36e8fa9e (diff)
downloadsamba-170b345e0c688b178eb37a73a8110dec68a8ae31.tar.gz
samba-170b345e0c688b178eb37a73a8110dec68a8ae31.tar.bz2
samba-170b345e0c688b178eb37a73a8110dec68a8ae31.zip
s3-auth Use security_token_debug() from common code
This prints the security token including the privileges as strings instead of just a bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sec_ctx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 017613cf1e..2405eb51d4 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "libcli/security/security_token.h"
extern struct current_user current_user;
@@ -309,7 +310,7 @@ void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, struct securi
DEBUG(3, ("setting sec ctx (%u, %u) - sec_ctx_stack_ndx = %d\n",
(unsigned int)uid, (unsigned int)gid, sec_ctx_stack_ndx));
- debug_nt_user_token(DBGC_CLASS, 5, token);
+ security_token_debug(DBGC_CLASS, 5, token);
debug_unix_user_token(DBGC_CLASS, 5, uid, gid, ngroups, groups);
/* Change uid, gid and supplementary group list. */