diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index c013fae787..8a1456f407 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1665,6 +1665,10 @@ static NTSTATUS init_dc_connection_network(struct winbindd_domain *domain) NTSTATUS init_dc_connection(struct winbindd_domain *domain) { + if (domain->internal) { + return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; + } + if (domain->initialized && !domain->online) { /* We check for online status elsewhere. */ return NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND; |