r3628: A typo and a compile-warning.
[ira/wip.git] / source3 / passdb / pdb_ldap.c
index 058ecb04d3e75a0496635b74d9e10666876f39b6..41d650fad5260ef081b08188d3082643c616c757 100644 (file)
@@ -2741,7 +2741,7 @@ static NTSTATUS ldapsam_alias_memberships(struct pdb_methods *methods,
                (struct ldapsam_privates *)methods->private_data;
        LDAP *ldap_struct;
 
-       const char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL };
+       char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL };
 
        LDAPMessage *result = NULL;
        LDAPMessage *entry = NULL;