diff options
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r-- | source3/nameelect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c index 391320e84f..ae4dc0857a 100644 --- a/source3/nameelect.c +++ b/source3/nameelect.c @@ -323,6 +323,8 @@ void become_local_master(struct subnet_record *d, struct work_record *work) */ uint32 domain_type = SV_TYPE_DOMAIN_ENUM|SV_TYPE_NT; + if (lp_domain_controller()) domain_type |= SV_TYPE_DOMAIN_CTRL; + if (!work || !d) return; |