summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,