+ Post New Thread
Results 1 to 15 of 15
Web Development Thread, GLPI - Ldap in Coding and Web Development; Trying to get GLPI authenticating against AD, fully with mod_NTLM, but i cant even get LDAP working lol Ive read ...
  1. #1


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    GLPI - Ldap

    Trying to get GLPI authenticating against AD, fully with mod_NTLM, but i cant even get LDAP working lol

    Ive read the documentation but cant get my head round it for some reason, dont know why as im normally fine with ldap.


    So does anyone fancy posting a screenshot of their LDAP config please?

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: GLPI - Ldap

    Have you followed the wiki at http://glpi-project.org/wiki/doku.ph...ve%20directory ?

    I found that the by following this information it worked straight away.

  3. #3


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: GLPI - Ldap

    Yeah thats what i followed.

    Im not 100% that ive got php ldap installed properly mind

    A screenshot would be really good as i can see for certain if ive got something wrong in the config as theres no example on the wiki.

    :beer:

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: GLPI - Ldap

    Try this LDAP test script to see if there is anything wrong with the PHP config and narrow it down.

  5. #5


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: GLPI - Ldap

    Thankyou good sir.

    Problem is i dont get 5 mins to sit down with a project without getting disturbed and it might be days before i get back to it so i forget what i have and havnt done

    Ill try the script tomorrow, maybe

  6. #6

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: GLPI - Ldap

    You mean you don't have SSH access to the box from home? 8O

  7. #7


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: GLPI - Ldap

    Still waiting for it, only been 3yrs coming

  8. #8


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: GLPI - Ldap

    sometimes im class; i managed to feck up just about every field and thats why it wasnt working. I sat down for 10mins yesterday and actually thought about what i was doing and its all working now!

    *Note to self; engage brain before starting any future projects*

  9. #9

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,400
    Thank Post
    636
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: GLPI - Ldap

    Must be the killer wifi signals taking effect

  10. #10

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Re: GLPI - Ldap

    Hey,

    I've been playing around with this for a while now also. At first I tried it on my laptop not a member of a DOMAIN and just assumed thats why mine doesnt work. Ive now got a dedicated box on the domain running...

    WindowsXP Pro SP2
    PHP 5.2.4
    Apache 2.0
    MySQL 5.0
    GLPI 0.7

    I've followed alot of guides on what to type into the fields but none work. If I leave the password field blank and complete the rest it says "LDAP Test Successful", yet when i fill the password field in it says "Test failed".

    I also tried that script out which but I get errors like...

    "LDAP query test
    Connecting ...connect result is Resource id #2
    Binding ...Bind result is 1

    Searching for (sn=S*) ...
    Warning: ldap_search() [function.ldap-search]: Search: Operations error in C:\www\test.php on line 16
    Search result is
    "

    Anybody else having the same problems? Is there something I have to enable in AD? I can make GLPI talk to OCS perfectly

    Thanks for your support

  11. #11

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Re: GLPI - Ldap

    btw, with the password field left blank although it says successful I cant pull up any users

  12. #12

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Re: GLPI - Ldap

    Im beginning to wonder if its AD (Windows Server 2003) itself. Ive downloaded LDAP Browser and it doesnt want to connect to that either.

    Is LDAP installed and enabled by default in windows 2003?

    Thanks

  13. #13

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,529
    Thank Post
    513
    Thanked 2,406 Times in 1,862 Posts
    Blog Entries
    24
    Rep Power
    822

    Re: GLPI - Ldap

    AD *is* LDAP...

  14. #14

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Re: GLPI - Ldap

    okie dokie, well just needed to make sure. Thanks

    Well, ive tried eeeeeeeverything. LDAP Browser doesnt want to connect to it either. Even used administrator credentials and it comes back with "ERROR 49 Invalid Credentials"

    Aaarg!!11

  15. #15

    Join Date
    Mar 2007
    Posts
    323
    Thank Post
    6
    Thanked 7 Times in 6 Posts
    Rep Power
    16

    Re: GLPI - Ldap

    Ah its working!!

    Well i dont know what ive changed other then I copied and pasted the baseDN from LDAP browser and it worked. I also used username@domain.com as the name rather then all this OU=Users,DC=domain,DC=com

    Thanks very much guys!

SHARE:
+ Post New Thread

Similar Threads

  1. OCS and GLPI
    By techyphil in forum Windows
    Replies: 3
    Last Post: 29th January 2011, 05:47 PM
  2. glpi 0.70
    By russdev in forum Web Development
    Replies: 1
    Last Post: 14th June 2007, 07:02 PM
  3. GLPI and OCS
    By wesleyw in forum How do you do....it?
    Replies: 7
    Last Post: 23rd May 2007, 03:15 PM
  4. GLPI
    By wesleyw in forum How do you do....it?
    Replies: 1
    Last Post: 2nd April 2007, 08:40 PM
  5. GLPI
    By russdev in forum Educational Software
    Replies: 15
    Last Post: 14th November 2006, 07:05 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
  •