Guest Guest Posted September 25, 2007 Report Posted September 25, 2007 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?
Ric_ Posted September 25, 2007 Report Posted September 25, 2007 Have you followed the wiki at http://glpi-project.org/wiki/doku.php?id=en:ldap&s=active%20directory ? I found that the by following this information it worked straight away.
Guest Guest Posted September 26, 2007 Report Posted September 26, 2007 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:
webman Posted September 26, 2007 Report Posted September 26, 2007 Try this LDAP test script to see if there is anything wrong with the PHP config and narrow it down.
Guest Guest Posted September 26, 2007 Report Posted September 26, 2007 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
webman Posted September 26, 2007 Report Posted September 26, 2007 You mean you don't have SSH access to the box from home? 8O
Guest Guest Posted September 26, 2007 Report Posted September 26, 2007 Still waiting for it, only been 3yrs coming
Guest Guest Posted September 29, 2007 Report Posted September 29, 2007 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*
webman Posted September 29, 2007 Report Posted September 29, 2007 Must be the killer wifi signals taking effect
techyphil Posted October 29, 2007 Report Posted October 29, 2007 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
techyphil Posted October 29, 2007 Report Posted October 29, 2007 btw, with the password field left blank although it says successful I cant pull up any users
techyphil Posted October 29, 2007 Report Posted October 29, 2007 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
techyphil Posted October 29, 2007 Report Posted October 29, 2007 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
techyphil Posted October 29, 2007 Report Posted October 29, 2007 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 [email protected] as the name rather then all this OU=Users,DC=domain,DC=com Thanks very much guys!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now