25 RCSIDH(password_h,
"$Id: 1207b891bd44e7e835532065708b1757358830f9 $")
31 #include <freeradius-devel/server/request.h>
37 size_t allowed_attrs_len,
bool normify);
static ssize_t normify(normalise_t *action, uint8_t *buffer, size_t bufflen, char const *known_good, size_t len, size_t min_len)
int password_init(void)
Load our dictionaries.
fr_pair_t * password_find(bool *ephemeral, TALLOC_CTX *ctx, request_t *request, fr_dict_attr_t const *allowed_attrs[], size_t allowed_attrs_len, bool normify)
Find a "known good" password in the control list of a request.
int password_normalise_and_replace(request_t *request, bool normify)
Find all password attributes in the control list of a request and normalise them.
Stores an attribute, a value and various bits of other data.