git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97acc8
)
roles: Add ROLE_AUTO to indicate that the server role is calculated
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 8 Nov 2011 02:22:37 +0000
(13:22 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 Nov 2011 23:34:08 +0000
(
00:34
+0100)
libds/common/roles.h
patch
|
blob
|
history
diff --git
a/libds/common/roles.h
b/libds/common/roles.h
index 0ebb8771ac149ae1cdca369e08b2e12c27a9fcc3..f6f04758ddec09350aabd85375f27bec5453d1a6 100644
(file)
--- 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