• Resolved jheikkila

    (@jheikkila)


    Good morning,

    I am attempting to setup my multi-site with Authorizer and appear to have an issue with the authenticating. I believe that I have setup the LDAP information correctly, considering 3 other plugins worked with the info I supplied them.

    I have the following info filled in (options not used/blank are excluded):

    LDAP Host: ldap.mydomain.com
    Ldap Port: 389
    LDAP Search Base: cn=users,dc=mydomain,dc=com
    LDAP attribute containing username: samAccountName
    LDAP attribute containing email: mail
    LDAP directory user: cn=ldap,cn=users,dc=hatcocorp,dc=com
    LDAP attribute containing first name: givenName
    Ldap attribute containing last name: sn

    I would really appreciate any help that you can give as this seems to be the best way to separate authorization to various sites in a multi-site setup.

    https://ww.wp.xz.cn/plugins/authorizer/

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Ryan

    (@figureone)

    I can see a couple things that might be wrong:

    1) try all lowercase ldap attributes (the php ldap module seems kinda picky about this sometimes). Example: samaccountname, givenname
    http://php.net/manual/en/function.ldap-get-entries.php#107267

    2) ldap search base and directory user both look wrong; there can’t be two cn’s in a given entry. users is probably an ou, not a cn. Try:
    search base: ou=users,dc=yourdomain,dc=com
    directory user: cn=ldap,ou=users,dc=yourdomain,dc=com

Viewing 1 replies (of 1 total)

The topic ‘Won't Authenticate with LDAP’ is closed to new replies.