diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 2 | ||||
-rw-r--r-- | source3/include/smb.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index ea09dcb367..6eab1a1641 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -600,6 +600,8 @@ char *mktemp(char *); /* No standard include */ #include <arpa/inet.h> #include <netinet/tcp.h> #include <locale.h> +#include <grp.h> +#define HAVE_GETGRNAM 1 #define SYSV #define USE_WAITPID #define USE_SIGBLOCK diff --git a/source3/include/smb.h b/source3/include/smb.h index 734dddff14..9cedc890b8 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1090,6 +1090,8 @@ struct parm_struct #define FILE_ATTRIBUTE_NORMAL 0x80L #define FILE_ATTRIBUTE_TEMPORARY 0x100L #define FILE_ATTRIBUTE_COMPRESSED 0x800L +#define SAMBA_ATTRIBUTES_MASK 0x7F + /* Flags - combined with attributes. */ #define FILE_FLAG_WRITE_THROUGH 0x80000000L #define FILE_FLAG_NO_BUFFERING 0x20000000L @@ -1106,6 +1108,12 @@ struct parm_struct #define OPEN_ALWAYS 4 #define TRUNCATE_EXISTING 5 +/* Filesystem Attributes. */ +#define FILE_CASE_SENSITIVE_SEARCH 0x1 +#define FILE_CASE_PRESERVED_NAMES 0x2 +#define FILE_UNICODE_ON_DISK 0x4 +#define FILE_PERISITANT_ACLS 0x8 + /* where to find the base of the SMB packet proper */ #define smb_base(buf) (((char *)(buf))+4) |