summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-05-28 23:34:34 +0000
committerLuke Leighton <lkcl@samba.org>2000-05-28 23:34:34 +0000
commit140523dc46786bff24d9940728baacfa3a359b80 (patch)
tree3382acd3d5d6dcb486cdba22350e76670e1cfaf7 /source3/include/smb.h
parent325cf05312a47751bb0c2fcab5c2082aae3366de (diff)
downloadsamba-140523dc46786bff24d9940728baacfa3a359b80.tar.gz
samba-140523dc46786bff24d9940728baacfa3a359b80.tar.bz2
samba-140523dc46786bff24d9940728baacfa3a359b80.zip
lp_server_role() + use in srv_reg.
(This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 993d7626ef..e2ce652608 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -34,6 +34,7 @@
#define False (0)
#define True (1)
+#define Auto (2)
#ifndef _BOOL
typedef int BOOL;
@@ -1461,6 +1462,15 @@ enum protocol_types {PROTOCOL_NONE,PROTOCOL_CORE,PROTOCOL_COREPLUS,PROTOCOL_LANM
/* security levels */
enum security_types {SEC_SHARE,SEC_USER,SEC_SERVER,SEC_DOMAIN};
+/* server roles */
+enum server_types
+{
+ ROLE_STANDALONE,
+ ROLE_DOMAIN_MEMBER,
+ ROLE_DOMAIN_BDC,
+ ROLE_DOMAIN_PDC
+};
+
/* printing types */
enum printing_types {PRINT_BSD,PRINT_SYSV,PRINT_AIX,PRINT_HPUX,
PRINT_QNX,PRINT_PLP,PRINT_LPRNG,PRINT_SOFTQ,PRINT_CUPS};