dummy commit...
authorStefan Metzmacher <metze@samba.org>
Sun, 30 Sep 2007 10:01:42 +0000 (12:01 +0200)
committerStefan Metzmacher <metze@sernet.de>
Thu, 11 Oct 2007 15:21:49 +0000 (17:21 +0200)
metze

source/winbindd/winbindd_misc.c

index 8a5bafe..c7250e0 100644 (file)
@@ -236,7 +236,7 @@ void winbindd_getdcname(struct winbindd_cli_state *state)
                  state->request.domain_name));
 
        domain = find_domain_from_name_noinit(state->request.domain_name);
-       if (domain && domain->internal) {
+       if (domain && (domain->internal || sid_check_is_domain(&domain->sid))) {
                fstrcpy(state->response.data.dc_name, global_myname());
                request_ok(state);      
                return;