git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8dc2ea
)
r23861: Fix return code in ads_find_samaccount().
author
Günther Deschner
<gd@samba.org>
Fri, 13 Jul 2007 09:53:55 +0000
(09:53 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:28:35 +0000
(12:28 -0500)
Guenther
(This used to be commit
684fcf39dcc08bcf571272549222fdeb11d2725f
)
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 32cc82c9252ca350612511c90109de1592e029de..84ceba2406ada958d86880130920390fd68e7248 100644
(file)
--- 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;
}