summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-02 12:05:02 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-03 07:37:07 +0200
commit1d165c080300c7ecef63164c323b1ec0a37bc012 (patch)
tree1b6a1a914c9051d76907eeb117e732ea2b6a2d97 /source3/include/smb.h
parentb1055763d8b046b42580054e4bc15dc8cb414977 (diff)
downloadsamba-1d165c080300c7ecef63164c323b1ec0a37bc012.tar.gz
samba-1d165c080300c7ecef63164c323b1ec0a37bc012.tar.bz2
samba-1d165c080300c7ecef63164c323b1ec0a37bc012.zip
s3-include: use new roles.h
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8885ef2d14..827a9db018 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -27,6 +27,7 @@
#define _SMB_H
#include "libcli/smb/smb_common.h"
+#include "libds/common/roles.h"
/* logged when starting the various Samba daemons */
#define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-2011"
@@ -1298,14 +1299,6 @@ enum protocol_types {
/* security levels */
enum security_types {SEC_SHARE,SEC_USER,SEC_SERVER,SEC_DOMAIN,SEC_ADS};
-/* 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,