From 920c8a9d5496e81aa0661ffb92cb484aafe94831 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 17 Dec 2007 12:11:41 +0100 Subject: [PATCH] Add combined flag LOOKUP_NAME_LOCAL. Presence of LOOKUP_NAME_ISOLATED as the only flag is not the sign for doing local lookups only but the sign for allowing lookups of unqualified names. The correct sign is absence of the flag LOOKUP_NAME_REMOTE. Michael --- source/include/smb.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/include/smb.h b/source/include/smb.h index ed1d0492166..ee43bae764b 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -270,6 +270,10 @@ enum lsa_SidType { #define LOOKUP_NAME_BUILTIN 0x00000010 /* builtin names */ #define LOOKUP_NAME_WKN 0x00000020 /* well known names */ #define LOOKUP_NAME_DOMAIN 0x00000040 /* only lookup own domain */ +#define LOOKUP_NAME_LOCAL (LOOKUP_NAME_ISOLATED\ + |LOOKUP_NAME_BUILTIN\ + |LOOKUP_NAME_WKN\ + |LOOKUP_NAME_DOMAIN) #define LOOKUP_NAME_ALL (LOOKUP_NAME_ISOLATED\ |LOOKUP_NAME_REMOTE\ |LOOKUP_NAME_BUILTIN\ -- 2.11.4.GIT