Fixed confusing debug message - it was always printing uid 0 instead of the
authorTim Potter <tpot@samba.org>
Mon, 29 Oct 2001 03:46:09 +0000 (03:46 +0000)
committerTim Potter <tpot@samba.org>
Mon, 29 Oct 2001 03:46:09 +0000 (03:46 +0000)
correct uid.

source/smbd/sec_ctx.c

index cea39b82cb8e89a70d6dce5386f8b1959c750acb..fd69521d4e1a235f0606a8608d1a9550bd8efdb6 100644 (file)
@@ -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] ) );
        }