Re: [PHP] LDAP problem

2005-08-25 Thread Richard Lynch
On Wed, August 24, 2005 12:47 pm, Björn Bartels wrote:        $binddn  'uid='.$username.',ou=users,ou=OxObjects,dc=dbusiness,dc=de'; Either you're missing an = sign here, or my eyesight is getting worse than I thought... :-) -- Like Music? http://l-i-e.com/artists.htm -- PHP

[PHP] LDAP problem

2005-08-24 Thread Björn Bartels
Hello there... I have a problem with LDAP and need your advice... I built a test script with help from the manual which authenticates a user and does a simple test query (cn=*). the test script works fine, no matter what protocol version it uses, on any (internal) client computer. The problem

Re: [PHP] LDAP problem

2005-08-24 Thread Björn Bartels
Hello, Richard... How long does it take to fail? I get the answer immidiatly (0-1sec.)... Is there some sort of permission system in LDAP which allows one to connect, but not to bind? Only clients from 192.168.* are allowed to bind, i guess... These are just guesses from a VERY limited knowlege

Re: [PHP] LDAP problem

2005-08-24 Thread Richard Lynch
On Tue, August 23, 2005 11:59 pm, Björn Bartels wrote: I built a test script with help from the manual which authenticates a user and does a simple test query (cn=*). the test script works fine, no matter what protocol version it uses, on any (internal) client computer. The problem occurs

Re: [PHP] LDAP problem

2005-08-24 Thread Mark Rees
How long does it take to fail? I get the answer immidiatly (0-1sec.)... Are you sure you are connecting? As in, do you only try to bind if you have a successful connection? Have you checked ldap_error? Are you doing an anonymous bind, or using a username and password? Try each and see what

Re: [PHP] LDAP problem

2005-08-24 Thread Björn Bartels
Hello Mark, first of all, thank you (all) a lot for your contributions... Are you sure you are connecting? As in, do you only try to bind if you have a successful connection? (...) I try to bind only when the connection itself is established...   Have you checked ldap_error? Can't contact LDAP

[PHP] Apache+php+ldap problem

2002-03-19 Thread Cecilia Cabrera
Hi, i've search through the mail archive and couldn't find a solution for this. Any ideas? I'm installing Apache_1.3.23+php-4.1.2+OpenLDAP-2.0.23 in a NetBSD 1.5.1. Apache alone worked fine, so did apache+php. When i added LDAP: i had no compilation pronblems, but i can't start apache:

[PHP] ldap problem

2001-05-06 Thread Wolfgang Ebneter
Hi list, i've compiled php-4.0.4pl1 with ldap support. It compiled nice and clean. A make install put the lib in apache's libexec directory. When I start apache I get the following : cannot load .../libphp4.so into server undefined symbol : ldap_value_free I checked the ldap.c file and found

[PHP] LDAP problem

2001-03-22 Thread almir
ok i am usng php3.0.11 ,IIS4 and NT4 trying to connect to ldap server but i get a error Fatal error: Call to unsupported or undefined function ldap_connect() in ... i have included php3_ldap.dll in my php3.ini, i have even tried to include it dinamicaly with dl but then i get Fatal error: Unable

Re: [PHP] LDAP problem

2001-03-22 Thread Brett Bandy
Make sure all the dlls used by php3_ldap.dll are available. I have php4 and the php_ldap.dll requires the libsasl.dll to be available. Brett ""almir"" [EMAIL PROTECTED] wrote in message 99d00g$j4h$[EMAIL PROTECTED]">news:99d00g$j4h$[EMAIL PROTECTED]... ok i am usng php3.0.11 ,IIS4 and NT4