Auto Registering users and logins with multiple attributes

  • Tim Gross
    # 5 years, 4 months ago

    When we configure our LDAP Search Filter to allow logging in with multiple attributes (email and sAMAccountName) the plugin creates a WordPress user based on the attribute the user is logging in with. This is good unless the user logs in with both attributes.

    For example: If I login with <sAMAccountName> it will create a WordPress user <sAMAccountName>. Then if I login with <email> it creates a WordPress user <email> but <sAMAccountName> and <email> are the same user in LDAP. Now the user has two WordPress user accounts but should really only need one.

    We need the Auto Registering function to check LDAP before creating the WordPress accounts to make sure the accounts are really different accounts. I thought maybe that is what the Attribute Mapping was for but after configuring that I still end up with two different accounts.

    Please advise.

    Gaurav Sood
    Participant
    # 4 years, 6 months ago

    The recent updates to the plugin fetch the user from both username and email and if in both cases the user is not found, a new user is created.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.