diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-27 19:28:56 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-28 07:57:29 +1000 |
commit | 5adf8c8634ccc2dc63fb1f64d3dfa11449c78272 (patch) | |
tree | 242940ebf982536fee2bc92461068a43aed0c070 /source3/passdb/machine_account_secrets.c | |
parent | 708ce41b32881e5a45c38929be66f9a1392dda8a (diff) | |
download | samba-5adf8c8634ccc2dc63fb1f64d3dfa11449c78272.tar.gz samba-5adf8c8634ccc2dc63fb1f64d3dfa11449c78272.tar.xz samba-5adf8c8634ccc2dc63fb1f64d3dfa11449c78272.zip |
s3-secrets: Handle all valid ROLE_ values in get_default_sec_channel()
Diffstat (limited to 'source3/passdb/machine_account_secrets.c')
-rw-r--r-- | source3/passdb/machine_account_secrets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c index 1e4111a7c58..300455a2e56 100644 --- a/source3/passdb/machine_account_secrets.c +++ b/source3/passdb/machine_account_secrets.c @@ -307,7 +307,8 @@ void *secrets_get_trust_account_lock(TALLOC_CTX *mem_ctx, const char *domain) enum netr_SchannelType get_default_sec_channel(void) { if (lp_server_role() == ROLE_DOMAIN_BDC || - lp_server_role() == ROLE_DOMAIN_PDC) { + lp_server_role() == ROLE_DOMAIN_PDC || + lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC) { return SEC_CHAN_BDC; } else { return SEC_CHAN_WKSTA; |