diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-11 10:53:46 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-11 10:53:46 +0000 |
commit | 17030fc403feb3ce5097d088ecf992e8b684d81a (patch) | |
tree | 71d2f54be0fc7f9264edc98d7897bc98260d1301 /source3 | |
parent | 60a8e3c20c24b6150946d7b6f348e8e5b050ed94 (diff) | |
download | samba-17030fc403feb3ce5097d088ecf992e8b684d81a.tar.gz samba-17030fc403feb3ce5097d088ecf992e8b684d81a.tar.bz2 samba-17030fc403feb3ce5097d088ecf992e8b684d81a.zip |
security=domain and domain logons = yes should be a BDC (of sorts).
Matches 2.2
Andrew Bartlett
(This used to be commit f6497fd639c5bb7d61eda0286c4c3c38609933b0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7d0208fb85..c21b88ff20 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3813,8 +3813,11 @@ static void set_server_role(void) server_role = ROLE_DOMAIN_MEMBER; break; case SEC_DOMAIN: - if (lp_domain_logons()) - DEBUG(0, ("Server's Role (logon server) NOT ADVISED with domain-level security\n")); + if (lp_domain_logons()) { + DEBUG(1, ("Server's Role (logon server) NOT ADVISED with domain-level security\n")); + server_role = ROLE_DOMAIN_BDC; + break; + } server_role = ROLE_DOMAIN_MEMBER; break; case SEC_ADS: |