+ Post New Thread
Results 1 to 8 of 8
How do you do....it? Thread, MediaWiki LDAP AD authentication in Technical; Has anyone here got MediaWiki working with LDAP auth against AD? I'm trying to set it up for use as ...
  1. #1

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    MediaWiki LDAP AD authentication

    Has anyone here got MediaWiki working with LDAP auth against AD?

    I'm trying to set it up for use as our intranet as I figure an easy to update system for posting information and links for students etc... would be handier than other cms systems.

    Just can't get ldap to work.

    I'll post some configuration if needed.

    Ben

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: MediaWiki LDAP AD authentication

    This blog posting will help you out.

    http://www.librarywebchic.net/wordpr...ing-mediawiki/

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: MediaWiki LDAP AD authentication

    Looked at some info from that site allready.

    Followed the mediawiki docs on ldap and got current version of plugin 1.1d

    I'm not sure if I've grasped how ldpa auth works with media wiki.

    Is it:

    Supply AD credentials
    If user lookup and bind succeeds add user to local mediawiki database
    allow login

    or just:

    Supply AD credentials
    If user lookup and bind succeeds allow edit access to mediawiki

    ???

    Ben

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: MediaWiki LDAP AD authentication

    It does exactly what it says. If the AD authentication is successful, either allow login or allow login + editing.

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: MediaWiki LDAP AD authentication

    Thats where I am getting stuck becuase with logging enabled I can it doing the lookup and the bind successfully but then I just get a "user does not exist" message.

    Ben

  6. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: MediaWiki LDAP AD authentication

    Oh well for the moment it's gone live as our student intranet with me being the only login to the local database and anonymous edits disabled as well as the ability for anyone else to register.

    Ben

  7. #7

    Join Date
    Jan 2007
    Location
    Lowestoft, Suffolk
    Posts
    84
    Thank Post
    6
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: MediaWiki LDAP AD authentication

    Quote Originally Posted by plexer
    Thats where I am getting stuck becuase with logging enabled I can it doing the lookup and the bind successfully but then I just get a "user does not exist" message.
    That sounds like it's possible your search isn't quite right. Download this LDAP browser and double check the containers etc that you're searching.
    It helped me fix a similar issue I had.

  8. #8

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: MediaWiki LDAP AD authentication

    Sorry the user doesn't exist message is one from MediaWiki presumably becuase the user doesn't exist in the local database.

    From the log it does an ldap lookup with the account I've set up specifically for them and when it finds the user I've entered it does a look up as that user with the password you type in. That all works fine.

    Ben

SHARE:
+ Post New Thread

Similar Threads

  1. Common CSS Theme: MediaWiki, phpbb2, gallery2, etc...
    By contink in forum Web Development
    Replies: 4
    Last Post: 8th October 2007, 10:59 PM
  2. mediawiki prob
    By browolf in forum Web Development
    Replies: 2
    Last Post: 25th April 2007, 10:32 AM
  3. e107 - LDAP authentication
    By alan-d in forum Web Development
    Replies: 11
    Last Post: 28th February 2007, 06:21 PM
  4. MediaWiki WAMP LDAP setup
    By plexer in forum Educational Software
    Replies: 0
    Last Post: 22nd January 2007, 12:39 PM
  5. mediawiki
    By russdev in forum Web Development
    Replies: 1
    Last Post: 23rd February 2006, 01:25 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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