summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-04 09:21:23 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-04 10:56:00 +0200
commit1ff61f1223f36a7cfa7acfc9da500b2684e5282b (patch)
tree5879093081ad5dd48384035a96337b379f2fd43a
parent6b5d8e02f78ed2039ea25edeb372d5b86089e3df (diff)
downloadsamba-1ff61f1223f36a7cfa7acfc9da500b2684e5282b.tar.gz
samba-1ff61f1223f36a7cfa7acfc9da500b2684e5282b.tar.bz2
samba-1ff61f1223f36a7cfa7acfc9da500b2684e5282b.zip
s3:param: use ROLE_DOMAIN_CONTROLLER for an AD domain controller
metze
-rw-r--r--source3/param/loadparm_server_role.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm_server_role.c b/source3/param/loadparm_server_role.c
index 3cc8f35a19..1f18b4fd12 100644
--- a/source3/param/loadparm_server_role.c
+++ b/source3/param/loadparm_server_role.c
@@ -79,7 +79,7 @@ void set_server_role(void)
break;
case SEC_ADS:
if (lp_domain_logons()) {
- server_role = ROLE_DOMAIN_PDC;
+ server_role = ROLE_DOMAIN_CONTROLLER;
break;
}
server_role = ROLE_DOMAIN_MEMBER;