summaryrefslogtreecommitdiff
path: root/libds/common/roles.h
diff options
context:
space:
mode:
Diffstat (limited to 'libds/common/roles.h')
-rw-r--r--libds/common/roles.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libds/common/roles.h b/libds/common/roles.h
index 0ebb8771ac1..f6f04758dde 100644
--- a/libds/common/roles.h
+++ b/libds/common/roles.h
@@ -29,7 +29,10 @@ enum server_role {
ROLE_STANDALONE = 0,
ROLE_DOMAIN_MEMBER = 1,
ROLE_DOMAIN_BDC = 2,
- ROLE_DOMAIN_PDC = 3
+ ROLE_DOMAIN_PDC = 3,
+
+ /* To determine the role automatically, this is not a valid role */
+ ROLE_AUTO = 100
};
/* keep compatibility with the s4 'ROLE_DOMAIN_CONTROLLER' by mapping