summaryrefslogtreecommitdiff
path: root/source3/smbd/sec_ctx.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-29 03:46:09 +0000
committerTim Potter <tpot@samba.org>2001-10-29 03:46:09 +0000
commit67dae09cc6b124662aa514df06dd89492382e15f (patch)
treee2021a942eb8ebd2bc6fc5e95716e8a6078b9916 /source3/smbd/sec_ctx.c
parent7433cb7c75591429cb6dcbe6fc50248d6dbfb359 (diff)
downloadsamba-67dae09cc6b124662aa514df06dd89492382e15f.tar.gz
samba-67dae09cc6b124662aa514df06dd89492382e15f.tar.bz2
samba-67dae09cc6b124662aa514df06dd89492382e15f.zip
Fixed confusing debug message - it was always printing uid 0 instead of the
correct uid. (This used to be commit ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7)
Diffstat (limited to 'source3/smbd/sec_ctx.c')
-rw-r--r--source3/smbd/sec_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index cea39b82cb..fd69521d4e 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/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] ) );
}