Displaying 1 result from an estimated 1 matches for "auth_request_set_null_field".
2017 Aug 23
1
Patch: acl list from ldap must be possible to have multiple values, that combined in one comma separated list
...ll in one CSV list
diff -upbBr src/auth/passdb-ldap.c src/auth/passdb-ldap.c
--- src/auth/passdb-ldap.c 2017-06-26 13:29:36.000000000 +0200
+++ src/auth/passdb-ldap.c 2017-08-22 09:56:59.697420441 +0200
@@ -52,13 +52,27 @@ ldap_query_save_result(struct ldap_conne
auth_request_set_null_field(auth_request, name);
continue;
}
+ if (strcmp(name,"userdb_acl_groups")==0) {
+ int i = 1;
+ while (values[i] != NULL) {
+ strcat(values[0],",");
+...