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 | ed0ffc5cef4056121f707a1526688ff323445556 (patch) | |
tree | 1ae2f0920d5a1c6c513aca1e8577d9f4c181c405 | |
parent | e8dc2ea03d212bc4b4facc2a900f6a443365c390 (diff) | |
download | samba-ed0ffc5cef4056121f707a1526688ff323445556.tar.gz samba-ed0ffc5cef4056121f707a1526688ff323445556.tar.bz2 samba-ed0ffc5cef4056121f707a1526688ff323445556.zip |
r23861: Fix return code in ads_find_samaccount().
Guenther
(This used to be commit 684fcf39dcc08bcf571272549222fdeb11d2725f)
-rw-r--r-- | source3/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 32cc82c925..84ceba2406 100644 --- a/source3/libads/ldap.c +++ b/source3/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; } |