diff options
author | Günther Deschner <gd@samba.org> | 2007-07-13 09:53:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:28:35 -0500 |
commit | 684fcf39dcc08bcf571272549222fdeb11d2725f (patch) | |
tree | 5dd9f6011b660fef34a84198e8f1ee4650ebcc90 /source | |
parent | b4eff3f68089f082781afcf90d43faa317949566 (diff) | |
download | samba-684fcf39dcc08bcf571272549222fdeb11d2725f.tar.gz samba-684fcf39dcc08bcf571272549222fdeb11d2725f.tar.xz samba-684fcf39dcc08bcf571272549222fdeb11d2725f.zip |
r23861: Fix return code in ads_find_samaccount().
Guenther
Diffstat (limited to 'source')
-rw-r--r-- | source/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c index 32cc82c9252..84ceba2406a 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -3310,7 +3310,7 @@ ADS_STATUS ads_find_samaccount(ADS_STRUCT *ads, } if (ads_count_replies(ads, res) != 1) { - printf("no result\n"); + status = ADS_ERROR(LDAP_NO_RESULTS_RETURNED); goto out; } |