summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-23 09:04:09 +0000
committerJeremy Allison <jra@samba.org>2001-11-23 09:04:09 +0000
commitd2e279ecf2b767a1f5dc119484383f694680e691 (patch)
tree6fc201ac89c49ac6c9b832093bd9fe2f64c6bf8f /source3/nsswitch
parentd1b5508a7b8c9a8085db4bb9f0c0fa26b7eb542a (diff)
downloadsamba-d2e279ecf2b767a1f5dc119484383f694680e691.tar.gz
samba-d2e279ecf2b767a1f5dc119484383f694680e691.tar.bz2
samba-d2e279ecf2b767a1f5dc119484383f694680e691.zip
Set type to NOTUSED if lookup fail.
Jeremy. (This used to be commit 20a4167599ce211f239d0f324e7e73a1c2d8a5a6)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 749ae1a223..8895e8347d 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -439,6 +439,7 @@ BOOL winbindd_lookup_sid_by_name(char *name, DOM_SID *sid, enum SID_NAME_USE *ty
ZERO_STRUCT(nullsid);
store_sid_by_name_in_cache(name, &nullsid, SID_NAME_USE_NONE);
+ *type = SID_NAME_UNKNOWN;
}
rv = NT_STATUS_IS_OK(result);