Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hey there! Thanks for the plugin!

    I’m having the save problem, groups aren’t working. To me, it looks like a wrong ldapsearch? The wording suggests we are supposed to use the memberOf overlay which I do. If this is true:

    The working query would look like this:

    ldapsearch -ZZ -D cn=admin,dc=example,dc=org -x -W -LLL -h hostname -b ou=users,dc=example,dc=org '(memberOf=cn=administrator,ou=wordpress,ou=services,dc=example,dc=org)' uid

    Here, I need to specify where in the DIT I keep my wordpress users.

    The plugin tries something like this though:
    ldapsearch -ZZ -D cn=admin,dc=example,dc=org -x -W -LLL -h hostname -b ou=users,dc=example,dc=org '(cn=cn=administrator)' uid

    Giving the whole dn (cn=administrator,ou=wordpress,ou=services,dc=example,dc=org) of a group obviously doesn’t work because the plugin takes it to be a comma separated list. It cuts the string into filter="(cn=cn=administrator)",filter=”(cn=cn=wordpress)”, `filter=”(cn=cn=services)” etc.

    Or am I completely wrong and we must not think in terms of memberOf? Then how is it supposed to work?

Viewing 1 replies (of 1 total)