diff options
author | Tim Potter <tpot@samba.org> | 2001-10-29 03:46:09 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-29 03:46:09 +0000 |
commit | ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7 (patch) | |
tree | a04848ac9505c7fc75bbe0ffdca3cbbabe6751be | |
parent | 5246d7609c3aff658fcd08a1f1c1bb6e11509e35 (diff) | |
download | samba-ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7.tar.gz samba-ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7.tar.xz samba-ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7.zip |
Fixed confusing debug message - it was always printing uid 0 instead of the
correct uid.
-rw-r--r-- | source/smbd/sec_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/sec_ctx.c b/source/smbd/sec_ctx.c index cea39b82cb8..fd69521d4e1 100644 --- a/source/smbd/sec_ctx.c +++ b/source/smbd/sec_ctx.c @@ -159,7 +159,7 @@ int get_current_groups(int *p_ngroups, gid_t **p_groups) (*p_ngroups) = ngroups; (*p_groups) = groups; - DEBUG( 3, ( "get_current_groups: uid %u is in %u groups: ", (unsigned int)getuid() , ngroups ) ); + DEBUG( 3, ( "get_current_groups: user is in %u groups: ", ngroups)); for (i = 0; i < ngroups; i++ ) { DEBUG( 3, ( "%s%d", (i ? ", " : ""), (int)groups[i] ) ); } |