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 ...
-
25th September 2007, 06:45 PM #1 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?
-
-
IDG Tech News
-
25th September 2007, 07:44 PM #2 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.
-
-
26th September 2007, 02:26 PM #3 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:
-
-
26th September 2007, 05:35 PM #4 Re: GLPI - Ldap
Try this LDAP test script to see if there is anything wrong with the PHP config and narrow it down.
-
-
26th September 2007, 06:27 PM #5 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
-
-
26th September 2007, 08:41 PM #6 Re: GLPI - Ldap
You mean you don't have SSH access to the box from home? 8O
-
-
27th September 2007, 12:14 AM #7 Re: GLPI - Ldap
Still waiting for it, only been 3yrs coming
-
-
29th September 2007, 09:58 AM #8 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*
-
-
29th September 2007, 10:55 AM #9 Re: GLPI - Ldap
Must be the killer wifi signals taking effect
-
-
29th October 2007, 02:46 PM #10
- Rep Power
- 14
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
-
-
29th October 2007, 02:47 PM #11
- Rep Power
- 14
Re: GLPI - Ldap
btw, with the password field left blank although it says successful I cant pull up any users
-
-
29th October 2007, 03:29 PM #12
- Rep Power
- 14
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
-
-
29th October 2007, 03:56 PM #13
-
-
29th October 2007, 04:15 PM #14
- Rep Power
- 14
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
-
-
29th October 2007, 04:22 PM #15
- Rep Power
- 14
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: 
Similar Threads
-
By techyphil in forum Windows
Replies: 3
Last Post: 29th January 2011, 05:47 PM
-
By russdev in forum Web Development
Replies: 1
Last Post: 14th June 2007, 07:02 PM
-
By wesleyw in forum How do you do....it?
Replies: 7
Last Post: 23rd May 2007, 03:15 PM
-
By wesleyw in forum How do you do....it?
Replies: 1
Last Post: 2nd April 2007, 08:40 PM
-
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
-
Forum Rules