Support » Plugin: Active Directory Authentication Integration » [Plugin: Active Directory Authentication Integration] AD names populating to WP

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Curtiss Grymala

    (@cgrymala)

    In the options, make sure that the “Automatically update users on each login?” and the “Automatically create new user?” options are checked. They should be in the User Options metabox. Thanks.

    Thread Starter bloofrog

    (@bloofrog)

    Those boxes are checked and I have created a new user and logged in as myself after the fact.

    However, the first name, last name box remain empty and the email addreess does not update to reflect the email address from the AD.

    Any other thoughts as to what I might be missing??

    Plugin Author Curtiss Grymala

    (@cgrymala)

    The plugin is set to use the following information from AD. Is it possible that the information you’re trying to pull in is stored in different AD fields?

    First name – givenname
    Last name – sn
    Email address – mail
    Display name – whatever option you chose from the drop down

    Are you certain that the user is being authenticated through AD, or are they just being authenticated through the normal WordPress procedures? To test that, try changing the user’s WordPress password to something completely different than their AD password; then try logging into WordPress with their AD username and password. If the login fails, that means it’s not authenticating the user through AD for some reason.

    Also, just to be clear, the user’s information only gets updated when they login to WordPress.

    Thread Starter bloofrog

    (@bloofrog)

    Thanks Curtiss –

    Yes – those are the AD fields we have populated.

    I did change my password in the AD this afternoon – and I can still authenticate to WP using the new credentials. How do I change the WP password? I can’t find that field anywhere.

    I changed my email address from username@co.com to fn.ln@co.com (confirmed via email link and verified) and as soon as I logged in again it reset back to username@co.com.

    Now – I don’t have bind information/credentials in – are those mandatory for the fields to populate?

    Thread Starter bloofrog

    (@bloofrog)

    Oh yes – that’s exactly what it was! Thank you so much for your help!!

    Plugin Author Curtiss Grymala

    (@cgrymala)

    Awesome. Glad you got it working. Yes, for some reason (I haven’t really looked into it), the PHP class that this plugin uses to handle most of the LDAP functions requires a username and password to perform the bind.

    Let me know if you run into any other issues.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Active Directory Authentication Integration] AD names populating to WP’ is closed to new replies.