summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-10-05 03:28:58 +0000
committerTim Potter <tpot@samba.org>2000-10-05 03:28:58 +0000
commitf0af8acc9d6a546fe96a8a8ab985224c353084dd (patch)
treeca9cf48d70de6acf6943c458b6a6338c03a2c421 /source3/smbd
parent46fa3590a8ce66a69e86abddbe24f8cc985304a9 (diff)
downloadsamba-f0af8acc9d6a546fe96a8a8ab985224c353084dd.tar.gz
samba-f0af8acc9d6a546fe96a8a8ab985224c353084dd.tar.bz2
samba-f0af8acc9d6a546fe96a8a8ab985224c353084dd.zip
Added uid and gid to push_sec_ctx() debug.
(This used to be commit 2817b6cc8af3edbaa63b5db67689ab94cb240d4f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sec_ctx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 0cab2a7e9c..6837a8d4f8 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -272,13 +272,14 @@ BOOL push_sec_ctx(void)
sec_ctx_stack_ndx++;
- DEBUG(3, ("push_sec_ctx() : sec_ctx_stack_ndx = %d\n", sec_ctx_stack_ndx ));
-
ctx_p = &sec_ctx_stack[sec_ctx_stack_ndx];
ctx_p->uid = geteuid();
ctx_p->gid = getegid();
+ DEBUG(3, ("push_sec_ctx(%d, %d) : sec_ctx_stack_ndx = %d\n",
+ ctx_p->uid, ctx_p->gid, sec_ctx_stack_ndx ));
+
ctx_p->token = dup_nt_token(sec_ctx_stack[sec_ctx_stack_ndx-1].token);
ctx_p->ngroups = sys_getgroups(0, NULL);