summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-16 14:52:24 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-02 11:12:11 -0400
commit82962098e3848ed039a57522d74fc500bc6df8ad (patch)
tree994919819267b4c8255680f009b18c0c661fc62a /src
parent4d4c5aa6285aa055a4ec780ba47c180106f0926b (diff)
downloadsssd-82962098e3848ed039a57522d74fc500bc6df8ad.tar.gz
sssd-82962098e3848ed039a57522d74fc500bc6df8ad.tar.bz2
sssd-82962098e3848ed039a57522d74fc500bc6df8ad.zip
Make sdap_get_id_specific_filter() more strict
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/ldap_common.c4
-rw-r--r--src/providers/ldap/ldap_common.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index aad42bac..5a375bf0 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -1117,8 +1117,8 @@ bool sdap_is_secure_uri(const char *uri)
}
char *sdap_get_id_specific_filter(TALLOC_CTX *mem_ctx,
- char *base_filter,
- char *extra_filter)
+ const char *base_filter,
+ const char *extra_filter)
{
char *filter = NULL;
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 2d4b1755..e08a65bb 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -163,8 +163,8 @@ errno_t list_missing_attrs(TALLOC_CTX *mem_ctx,
bool sdap_is_secure_uri(const char *uri);
char *sdap_get_id_specific_filter(TALLOC_CTX *mem_ctx,
- char *base_filter,
- char *extra_filter);
+ const char *base_filter,
+ const char *extra_filter);
errno_t msgs2attrs_array(TALLOC_CTX *mem_ctx, size_t count,
struct ldb_message **msgs,