Lower-casing the domain field can cause base ACL match results if the
ACL is checking for case-sensitive or upper-case domain label.
The helper should be emitting the standard UPPER case domain and many
administrators will be expecting taht when they write ACLs.
} else if (ntlm_validate_packet(packet, NTLM_AUTHENTICATE) == NTLM_ERR_NONE) {
if (ntlm_unpack_auth((ntlm_authenticate *)packet, user, domain, decodedLen) == NTLM_ERR_NONE) {
lc(user);
- lc(domain);
if (strip_domain_enabled) {
SEND2("AF %s", user);
} else {
}
} else {
lc(user);
- lc(domain);
SEND4("NA invalid credentials, user=%s%s%s", domain, (*domain?"\\":""), user);
}
} else {