From 299ed456705944c0b6f848d4fce1fbf6853df965 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 8 Nov 2011 13:22:37 +1100 Subject: roles: Add ROLE_AUTO to indicate that the server role is calculated --- libds/common/roles.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libds/common') diff --git a/libds/common/roles.h b/libds/common/roles.h index 0ebb8771ac..f6f04758dd 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 -- cgit