Skip to content

fix ldap - resolve wildcard attribute fetch and case-sensitivity issues#4

Open
lahirujayathilake wants to merge 1 commit intostfc:masterfrom
lahirujayathilake:master
Open

fix ldap - resolve wildcard attribute fetch and case-sensitivity issues#4
lahirujayathilake wants to merge 1 commit intostfc:masterfrom
lahirujayathilake:master

Conversation

@lahirujayathilake
Copy link

  • Fixes attribute selection in ldap_check_attr by initializing the attrs list to request only the configured LDAP attribute (instead of */all attributes). Also switches strcmpstrcasecmp for case-insensitive comparison of attribute names, avoiding false mismatches and authorization failures for valid users.
  • Performed code formatting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant