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 Gen

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 LD

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 hap

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 occ

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 k

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