Results 1 to 3 of 3

Thread: authenticate moodle and apache against LDAP

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    26
    Rep Power
    7

    Default authenticate moodle and apache against LDAP

    w00t! solved. delete or mark as solved

    Hey there, I am trying to authenticate moodle 2.0
    and apache using zimbra users.

    I am running FC7 and zimbra 4, the free one
    Zimbra and moodle are hosted on the same box.

    Whenever I try to login to moodle, using a user from zimbra, I get this error:
    LDAP-module cannot connect to any servers


    Settings in moodle:
    host URL: I've tried localhost, 127.0.0.1, the IP as well. Sometimes I put a ldap:// in there for fun, too.

    distinguished name: uid=zimbra,cn=admins,cn=zimbra
    user type: postixAccount rfc2307
    context: ou=people,dc=crunk,dc=com
    search subcontext: Yes
    User attribute: uid

    These are the same settings as another server in our organization that has almost identical roles.

    Any love? Thanks!
    Last edited by whiskey6; 11-24-2007 at 06:47 PM.

  2. #2
    Join Date
    Nov 2007
    Posts
    26
    Rep Power
    7

    Default

    it should be noted that I was able to authenticate a zimbra user to get into an apache site.

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    zimbra ldap doesn't bind to localhost by default (for some unknown historical reason) - do:
    ps -ef |grep slap |grep zim
    the -h flag will tell you the url to use

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •