summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-17 11:28:56 +0100
committerMichael Adam <obnox@samba.org>2007-12-17 13:05:29 +0100
commit470e970e41b4c90a0e733e52f1f7784ad017c447 (patch)
treeebdd39163f15bf42249b3c6b13682dcede740cd2 /source3
parent7ec9ee0e05c902022dc4629b5605b0fc93980deb (diff)
downloadsamba-470e970e41b4c90a0e733e52f1f7784ad017c447.tar.gz
samba-470e970e41b4c90a0e733e52f1f7784ad017c447.tar.bz2
samba-470e970e41b4c90a0e733e52f1f7784ad017c447.zip
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 (This used to be commit cd8c0057446a1311a860f6cc3876a113568f6c30)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index a725ae1392..1222c9a73a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -254,6 +254,10 @@ typedef uint64_t NTTIME;
#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\