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:
parent
6a9bbd1da3
commit
703f101136
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user