summaryrefslogtreecommitdiffstats
path: root/libds/common
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-11-10 19:48:06 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-11-17 00:34:09 +0100
commita01a186a6cfd3b6f1f49ea6d3e7363d2a58d3d4a (patch)
tree55672065e9ba128cd72e749758de0e36bf785958 /libds/common
parenteb4fa13fd967a2604284de357ee8e8bfbee0a507 (diff)
downloadsamba-a01a186a6cfd3b6f1f49ea6d3e7363d2a58d3d4a.tar.gz
samba-a01a186a6cfd3b6f1f49ea6d3e7363d2a58d3d4a.tar.xz
samba-a01a186a6cfd3b6f1f49ea6d3e7363d2a58d3d4a.zip
libds: Make server role values explicit for easier debugging
Diffstat (limited to 'libds/common')
-rw-r--r--libds/common/roles.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libds/common/roles.h b/libds/common/roles.h
index 67236032bc..19ea1c4dab 100644
--- a/libds/common/roles.h
+++ b/libds/common/roles.h
@@ -43,6 +43,11 @@ enum server_role {
#define ROLE_DOMAIN_CONTROLLER ROLE_DOMAIN_BDC
/* security levels for 'security =' option */
-enum security_types {SEC_AUTO, SEC_SHARE,SEC_USER,SEC_SERVER,SEC_DOMAIN,SEC_ADS};
+enum security_types {SEC_AUTO = 0,
+ SEC_SHARE = 1,
+ SEC_USER = 2,
+ SEC_SERVER = 3,
+ SEC_DOMAIN = 4,
+ SEC_ADS = 5};
#endif /* _LIBDS_ROLES_H_ */