diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-25 14:46:11 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-25 14:46:11 +0000 |
commit | 4905ba282fc1692b74208b177e934cdebd447c66 (patch) | |
tree | b5babd7fd0a7f39c175915cc563cf0239d552b25 /source3/libads/ldap_utils.c | |
parent | bdd96341f1116dd67a24447ed672f7235b518c46 (diff) | |
download | samba-4905ba282fc1692b74208b177e934cdebd447c66.tar.gz samba-4905ba282fc1692b74208b177e934cdebd447c66.tar.bz2 samba-4905ba282fc1692b74208b177e934cdebd447c66.zip |
- Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 71b05cd14ae6df8340730e7bad1c783dc278c5d3)
Diffstat (limited to 'source3/libads/ldap_utils.c')
-rw-r--r-- | source3/libads/ldap_utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libads/ldap_utils.c b/source3/libads/ldap_utils.c index 907f7c8aff..6855600288 100644 --- a/source3/libads/ldap_utils.c +++ b/source3/libads/ldap_utils.c @@ -28,7 +28,7 @@ this is supposed to catch dropped connections and auto-reconnect */ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope, - const char *exp, + const char *expr, const char **attrs, void **res) { ADS_STATUS status; @@ -46,10 +46,10 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope return ADS_ERROR_NT(NT_STATUS_NO_MEMORY); while (count--) { - status = ads_do_search_all(ads, bp, scope, exp, attrs, res); + status = ads_do_search_all(ads, bp, scope, expr, attrs, res); if (ADS_ERR_OK(status)) { DEBUG(5,("Search for %s gave %d replies\n", - exp, ads_count_replies(ads, *res))); + expr, ads_count_replies(ads, *res))); free(bp); return status; } @@ -79,11 +79,11 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope ADS_STATUS ads_search_retry(ADS_STRUCT *ads, void **res, - const char *exp, + const char *expr, const char **attrs) { return ads_do_search_retry(ads, ads->config.bind_path, LDAP_SCOPE_SUBTREE, - exp, attrs, res); + expr, attrs, res); } ADS_STATUS ads_search_retry_dn(ADS_STRUCT *ads, void **res, |