git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa0c85
)
s3:winbindd: discard the expired gid cache if we're online (bug #9002)
author
Stefan Metzmacher
<metze@samba.org>
Fri, 2 Mar 2012 04:08:17 +0000
(
05:08
+0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 30 Jun 2012 11:21:05 +0000
(13:21 +0200)
This matches the uid case...
metze
source3/winbindd/winbindd_sids_to_xids.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_sids_to_xids.c
b/source3/winbindd/winbindd_sids_to_xids.c
index 9c38b5a2a9a5fcc44db2360c9f2c00f0e9c95358..b3699d06f801c86d227c8d1629dd93d6e5b86cba 100644
(file)
--- a/
source3/winbindd/winbindd_sids_to_xids.c
+++ b/
source3/winbindd/winbindd_sids_to_xids.c
@@
-135,7
+135,7
@@
static bool winbindd_sids_to_xids_in_cache(struct dom_sid *sid,
* sids. So we check groups before users.
*/
if (idmap_cache_find_sid2gid(sid, &gid, &expired)) {
- if (expired && is_domain_o
ff
line(find_our_domain())) {
+ if (expired && is_domain_o
n
line(find_our_domain())) {
return false;
}
map->sid = sid;