git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3e5a1
)
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
author
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 00:52:05 +0000
(17:52 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 00:52:05 +0000
(17:52 -0700)
Jeremy.
source/winbindd/idmap_util.c
patch
|
blob
|
history
diff --git
a/source/winbindd/idmap_util.c
b/source/winbindd/idmap_util.c
index bf06cd84726e6e812e2177eb120beaa07cfc4e33..0d24070dd6747d62ae86c7915e1ee351ef295ed5 100644
(file)
--- a/
source/winbindd/idmap_util.c
+++ b/
source/winbindd/idmap_util.c
@@
-157,11
+157,10
@@
NTSTATUS idmap_sid_to_gid(DOM_SID *sid, gid_t *gid)
}
if ((map.status != ID_MAPPED) || (map.xid.type != ID_TYPE_GID)) {
- DEBUG(10, ("sid [%s] not mapped to a gid [%u,%u
,%u
]\n",
+ DEBUG(10, ("sid [%s] not mapped to a gid [%u,%u]\n",
sid_string_dbg(sid),
map.status,
- map.xid.type,
- map.xid.id));
+ map.xid.type));
return NT_STATUS_NONE_MAPPED;
}