git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5246d76
)
Fixed confusing debug message - it was always printing uid 0 instead of the
author
Tim Potter
<tpot@samba.org>
Mon, 29 Oct 2001 03:46:09 +0000
(
03:46
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 29 Oct 2001 03:46:09 +0000
(
03:46
+0000)
correct uid.
source/smbd/sec_ctx.c
patch
|
blob
|
history
diff --git
a/source/smbd/sec_ctx.c
b/source/smbd/sec_ctx.c
index cea39b82cb8e89a70d6dce5386f8b1959c750acb..fd69521d4e1a235f0606a8608d1a9550bd8efdb6 100644
(file)
--- 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: u
id %u is in %u groups: ", (unsigned int)getuid() , ngroups )
);
+ DEBUG( 3, ( "get_current_groups: u
ser is in %u groups: ", ngroups)
);
for (i = 0; i < ngroups; i++ ) {
DEBUG( 3, ( "%s%d", (i ? ", " : ""), (int)groups[i] ) );
}