Skip to content
Snippets Groups Projects
Select Git revision
0 results

iparole.py

  • Rafael Guterres Jeffman's avatar
    971fcc91
    iparole: Case insensitive comparison of service members. · 971fcc91
    Rafael Guterres Jeffman authored
    Service members in IPA role objects must be compared ignoring character
    capitalization, but are stored in a case preserving manner.
    
    This patch modifies the way service members are handled, creating a map
    between a lowercase version of the service parameter and the parameter
    itself, and using the map key to compare against existing services. The
    mapped value is then added as role member, if necessary.
    971fcc91
    History
    iparole: Case insensitive comparison of service members.
    Rafael Guterres Jeffman authored
    Service members in IPA role objects must be compared ignoring character
    capitalization, but are stored in a case preserving manner.
    
    This patch modifies the way service members are handled, creating a map
    between a lowercase version of the service parameter and the parameter
    itself, and using the map key to compare against existing services. The
    mapped value is then added as role member, if necessary.