This readds the ability to store password and group
information within the same dbm file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98142
13f79535-47bb-0310-9956-
ffa450edef68
apr_datum_t dbm_pw;
apr_status_t rv;
char *dbm_password = NULL;
+ char *colon_pw;
rv = fetch_dbm(conf->dbmtype, conf->pwfile, user, &dbm_pw, r->pool);
return AUTH_USER_NOT_FOUND;
}
+ colon_pw = strchr(dbm_password, ':');
+ if (colon_pw) {
+ *colon_pw = '\0';
+ }
+
rv = apr_password_validate(password, dbm_password);
if (rv != APR_SUCCESS) {