From 67dae09cc6b124662aa514df06dd89492382e15f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 29 Oct 2001 03:46:09 +0000 Subject: Fixed confusing debug message - it was always printing uid 0 instead of the correct uid. (This used to be commit ad30a35ebc04f6a56c3ffb28bfb793557cf1fdf7) --- source3/smbd/sec_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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] ) ); } -- cgit