1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

The correct test for 'is our primary domain' is domain->primary

This commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent 6a9bbd1da3
commit 703f101136

View File

@ -132,7 +132,7 @@ enum winbindd_result winbindd_list_trusted_domains(struct winbindd_cli_state
/* Skip own domain */
if (strequal(domain->name, lp_workgroup())) continue;
if (domain->primary) continue;
/* Add domain to list */