diff options
author | Michael Adam <obnox@samba.org> | 2007-11-28 02:15:37 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-12-13 10:15:21 +0100 |
commit | 5db4a7f6c423bb5df8403e1b8737a4d80cee85ae (patch) | |
tree | c852acfc1f8245395726e08e3f6108991d93c55b /source3/include | |
parent | 9104d2bf79e92ccdca3e6406bda9f0facea89ddb (diff) | |
download | samba-5db4a7f6c423bb5df8403e1b8737a4d80cee85ae.tar.gz samba-5db4a7f6c423bb5df8403e1b8737a4d80cee85ae.tar.bz2 samba-5db4a7f6c423bb5df8403e1b8737a4d80cee85ae.zip |
Add flags for correctly implementing lsa_lookup_name levels.
(Prepare fix for Bug #4801.)
Michael
(This used to be commit 537b12647e25adcb7da3581f18d2e9feca1caf0c)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index d58c124e6d..a725ae1392 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -242,6 +242,7 @@ typedef uint64_t NTTIME; #define SID_MAX_SIZE ((size_t)(8+(MAXSUBAUTHS*4))) +#define LOOKUP_NAME_NONE 0x00000000 #define LOOKUP_NAME_ISOLATED 0x00000001 /* Look up unqualified names */ #define LOOKUP_NAME_REMOTE 0x00000002 /* Ask others */ #define LOOKUP_NAME_GROUP 0x00000004 /* (unused) This is a NASTY hack for @@ -250,7 +251,14 @@ typedef uint64_t NTTIME; #define LOOKUP_NAME_EXPLICIT 0x00000008 /* Only include explicitly mapped names and not the Unix {User,Group} domain */ -#define LOOKUP_NAME_ALL (LOOKUP_NAME_ISOLATED|LOOKUP_NAME_REMOTE) +#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_ALL (LOOKUP_NAME_ISOLATED\ + |LOOKUP_NAME_REMOTE\ + |LOOKUP_NAME_BUILTIN\ + |LOOKUP_NAME_WKN\ + |LOOKUP_NAME_DOMAIN) /** * @brief Security Identifier |