git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e0314f
)
idmap_gid_to_sid: Fix a cut-a-npaste error.
author
Gerald (Jerry) Carter
<jerry@samba.org>
Fri, 22 Aug 2008 19:54:50 +0000
(14:54 -0500)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Fri, 22 Aug 2008 19:54:50 +0000
(14:54 -0500)
The call was looking up a uid and not gid in the cache.
(This used to be commit
25293ba1507f8f8fa7e33c302200184e980bb123
)
source3/winbindd/idmap_util.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_util.c
b/source3/winbindd/idmap_util.c
index 2a6beca5a2a9b3f0b5b68d6947ec208a46dc0812..b10a1a4ba940452b18bf515dd9af2ab794878ed1 100644
(file)
--- a/
source3/winbindd/idmap_util.c
+++ b/
source3/winbindd/idmap_util.c
@@
-87,7
+87,7
@@
NTSTATUS idmap_gid_to_sid(const char *domname, DOM_SID *sid, gid_t gid)
DEBUG(10,("gid = [%lu]\n", (unsigned long)gid));
- if (idmap_cache_find_
u
id2sid(gid, sid, &expired)) {
+ if (idmap_cache_find_
g
id2sid(gid, sid, &expired)) {
DEBUG(10, ("idmap_cache_find_gid2sid found %d%s\n", gid,
expired ? " (expired)": ""));
if (expired && idmap_is_online()) {