summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd_rpc.c')
-rw-r--r--source3/nsswitch/winbindd_rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index d8797ee2bc..f4676cc2fe 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -774,7 +774,8 @@ static int get_ldap_sequence_number( const char* domain, uint32 *seq)
struct ip_service *ip_list = NULL;
int count;
- if ( !get_sorted_dc_list(domain, &ip_list, &count, False) ) {
+ if ( !NT_STATUS_IS_OK(get_sorted_dc_list(domain, &ip_list, &count,
+ False)) ) {
DEBUG(3, ("Could not look up dc's for domain %s\n", domain));
return False;
}