summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/config_ldap.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/param/config_ldap.c b/source3/param/config_ldap.c
index ad9b515381..1413fe158c 100644
--- a/source3/param/config_ldap.c
+++ b/source3/param/config_ldap.c
@@ -80,11 +80,9 @@ static NTSTATUS parse_section(
LDAPMessage *result = NULL;
LDAPMessage *entry = NULL;
pstring filter;
- pstring suffix;
pstring option_name;
pstring option_value;
char **attr_list = NULL;
- char *temp;
int rc;
int count;
@@ -156,14 +154,13 @@ static NTSTATUS ldap_config_load(
LDAPMessage *result = NULL;
LDAPMessage *entry = NULL;
pstring filter;
- pstring suffix;
pstring attr_text;
char *config_dn = NULL;
char *temp;
int rc;
int count;
- char *config_attr_list[] = {"description", NULL};
- char *share_attr_list[] = {"sambaShareName", "description", NULL};
+ const char *config_attr_list[] = {"description", NULL};
+ const char *share_attr_list[] = {"sambaShareName", "description", NULL};
char **share_dn;
char **share_name;