note 81427 added to function.ldap-connect

From: Date: Wed, 27 Feb 2008 22:30:32 +0000
Subject: note 81427 added to function.ldap-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-136537@lists.php.net to get a copy of this message
Everyone is posting about getting ldaps:// working in a WAMP/AD stack, I had a tough time finding how to get it going in RHEL 5.1 (w/ all stock rpms). Good old strace did the trick and helped me find the problem... Turns out php was looking for the CA file in /etc/pki/CA, and I didn't have the correct permissions on the folder. chmod'ing it to 755 solved my "Can't contact LDAP server" message. ---- Server IP: 66.207.199.35 Probable Submitter: 142.90.115.147 ---- Manual Page -- http://www.php.net/manual/en/function.ldap-connect.php Edit -- https://master.php.net/note/edit/81427 Del: integrated -- https://master.php.net/note/delete/81427/integrated Del: useless -- https://master.php.net/note/delete/81427/useless Del: bad code -- https://master.php.net/note/delete/81427/bad+code Del: spam -- https://master.php.net/note/delete/81427/spam Del: non-english -- https://master.php.net/note/delete/81427/non-english Del: in docs -- https://master.php.net/note/delete/81427/in+docs Del: other reasons-- https://master.php.net/note/delete/81427 Reject -- https://master.php.net/note/reject/81427 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136537) next »