Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 818 Bytes

UPGRADE-3.0.md

File metadata and controls

32 lines (27 loc) · 818 Bytes

UPGRADE FROM 2.0 to 3.0

  • Define the attribute which hold the username value if was different than uid.

    Before:

    # app/config/config.yml
    fr3d_ldap:
        user:
            attributes:
                - { ldap_attr: customUID, user_method: setUsername }

    After:

    # app/config/config.yml
    fr3d_ldap:
        user:
            usernameAttribute: customUID # Add this line
            attributes:
                - { ldap_attr: customUID, user_method: setUsername }
  • If you was using the legacy (deprecated) old driver remove the ldap_driver setting and use the default one.

    # app/config/config.yml
    fr3d_ldap:
        service:
            ldap_driver: fr3d_ldap.ldap_driver.legacy # Remove this line.