winbindd: add missing can_do_ncacn_ip_tcp initialisation
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Jan 2018 13:30:48 +0000 (14:30 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 10 Feb 2018 07:35:15 +0000 (08:35 +0100)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13232

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_util.c

index 4d66571703f917db6804480af2a782f25f679464..910e02269b501f989b25dc54374a73f989036ef0 100644 (file)
@@ -275,6 +275,8 @@ static NTSTATUS add_trusted_domain(const char *domain_name,
                }
        }
 
+       domain->can_do_ncacn_ip_tcp = domain->active_directory;
+
        /* Link to domain list */
        DLIST_ADD_END(_domain_list, domain);