mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
Added uid and gid to push_sec_ctx() debug.
This commit is contained in:
parent
ec7f7e350d
commit
2817b6cc8a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user