Bugfix.
* libmu_auth/ldap.c (_mu_ldap_search): Fix improper addressing of env.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -534,7 +534,7 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key, | ... | @@ -534,7 +534,7 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key, |
534 | 534 | ||
535 | env[0] = "user"; | 535 | env[0] = "user"; |
536 | env[1] = key; | 536 | env[1] = key; |
537 | env[3] = NULL; | 537 | env[2] = NULL; |
538 | 538 | ||
539 | ws.ws_env = env; | 539 | ws.ws_env = env; |
540 | if (mu_wordsplit (filter_pat, &ws, | 540 | if (mu_wordsplit (filter_pat, &ws, | ... | ... |
-
Please register or sign in to post a comment