Home Forums OS X Server and Client Discussion Open Directory Geeklog / GLFusion LDAP integration on OS X

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #377703
    trampoline
    Participant

    well this is probably the right place to ask this question…

    I have the LDAP auth file from GL FUsion and it does not seem to connect to our correctly set up OD server which it is sitting on…
    the config is below…
    can anyone point me to a proper config for this ?
    Thanks…

    // Basic LDAP variables
    $_LDAP_CONF[‘user_ou’] = “People”;
    $_LDAP_CONF[‘group_ou’] = “Group”;
    $_LDAP_CONF[‘branch’] = “dc=server,dc=ourdomain,dc=co,dc=uk”;
    $_LDAP_CONF[‘user_branch’] = “ou={$_LDAP_CONF[‘user_ou’]},” . $_LDAP_CONF[‘branch’];
    $_LDAP_CONF[‘user_attributes’] = array(“uid”,”cn”,”ou”,”objectClass”,”shadowLastChange”,”loginShell”,”uidnumber”,”gidNumber”,”homeDirectory”,”gecos”,”userPassword”,”givenName”,”sn”,”mail”);

    // LDAP server configuration
    $_LDAP_CONF[‘servers’][0][‘bind_dn’] = “ou=users,dc=server,dc=ourdomanin,dc=co,dc=uk”;
    $_LDAP_CONF[‘servers’][0][‘password’] = “”;
    $_LDAP_CONF[‘servers’][0][‘host’] = “ldaps://server.ourdomain.co.uk”;

    #377902
    fherbert
    Participant

    I would try setting your bind dn to an user that can query your OD, and don’t forget the password, unless you can do anonymous queries on your OD.

    ie:
    $_LDAP_CONF[‘servers’][0][‘bind_dn’] = “cn=adminuser,cn=users,dc=server,dc=ourdomanin,dc=co,dc=uk”;

    and use the correct password, also I note you are accessing your ldap via ssl (ldaps://server.ourdomain.co.uk), is ssl actually enabled on your OD server?

    Your user ou should probably be set to something like:
    $_LDAP_CONF[‘user_ou’] = “users”

    Your group ou:
    $_LDAP_CONF[‘group_ou’] = “groups”;

    But you also need to change the user_branch to:
    $_LDAP_CONF[‘user_branch’] = “cn={$_LDAP_CONF[‘user_ou’]},” . $_LDAP_CONF[‘branch’];

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed