1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

roles: Add ROLE_AUTO to indicate that the server role is calculated

This commit is contained in:
Amitay Isaacs 2011-11-08 13:22:37 +11:00 committed by Andrew Bartlett
parent d97acc8fb9
commit 299ed45670

View File

@ -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