summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2007-01-14 17:58:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:08 -0500
commit9e8715e4e15d9cede8f4aa9652642995392617e6 (patch)
treea3950dc8404d6830fad6742ef1592f83588ab0ad /source/auth
parent14c88b560e5c8fd59b84333e92337805620ccd7c (diff)
downloadsamba-9e8715e4e15d9cede8f4aa9652642995392617e6.tar.gz
samba-9e8715e4e15d9cede8f4aa9652642995392617e6.tar.xz
samba-9e8715e4e15d9cede8f4aa9652642995392617e6.zip
r20774: I thought I committed this before Xmas holidays ...
This change is needed to make it possible to not expire caches in disconnected mode. Jerry, please can you look at this and confirm it is ok? Simo.
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index c1f58cfecde..94551cb8a56 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -1048,7 +1048,7 @@ NTSTATUS create_local_token(auth_serversupplied_info *server_info)
gid_t agid;
if (wb) {
- if ( ! ids[i].mapped) {
+ if (ids[i].status != ID_MAPPED) {
DEBUG(10, ("Could not convert SID %s to gid, "
"ignoring it\n", sid_string_static(ids[i].sid)));
continue;