diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/smbldap_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap_util.c b/source3/lib/smbldap_util.c index 98abe7f0d7..798cb3fff7 100644 --- a/source3/lib/smbldap_util.c +++ b/source3/lib/smbldap_util.c @@ -194,7 +194,7 @@ NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state, goto failed; status = add_new_domain_info(ldap_state, domain_name); - if (NT_STATUS_IS_OK(status)) { + if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("Adding domain info for %s failed with %s\n", domain_name, nt_errstr(status))); goto failed; |