Re: [PHP] LDAP and referrals

2004-12-12 Thread List User
Whoops. For some reason I've attached the wrong file. Here's the correct one. Cajus #!/usr/bin/php4 -q ldap://[^/]+)/.*$!', '\\1', $referral); if (!($ds= ldap_connect($server))){ echo "reconnect failed - "; return ($ldap); } ldap_set_option(

[PHP] LDAP and referrals

2004-12-12 Thread List User
Hello! Currently I'm playing with LDAP referrals in a PHP application and I've reached a point, where it's not clear if there's some kind of misunderstanding on my side, or if there's a problem either in the PHP functions or the OpenLDAP server here... The attached mini script tries to access the