| 1745 | } |
| 1746 | |
| 1747 | static const char *set_bind_pattern(cmd_parms *cmd, void *_cfg, const char *exp, const char *subst) |
| 1748 | { |
| 1749 | authn_ldap_config_t *sec = _cfg; |
| 1750 | ap_regex_t *regexp; |
| 1751 | |
| 1752 | regexp = ap_pregcomp(cmd->pool, exp, AP_REG_EXTENDED); |
| 1753 | |
| 1754 | if (!regexp) { |
| 1755 | return apr_pstrcat(cmd->pool, "AuthLDAPInitialBindPattern: cannot compile regular " |
| 1756 | "expression '", exp, "'", NULL); |
| 1757 | } |
| 1758 | |
| 1759 | sec->bind_regex = regexp; |
| 1760 | sec->bind_subst = subst; |
| 1761 | |
| 1762 | return NULL; |
| 1763 | } |
| 1764 | |
| 1765 | static const char *set_bind_password(cmd_parms *cmd, void *_cfg, const char *arg) |
| 1766 | { |
nothing calls this directly
no test coverage detected