LDAP Referrals not working

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anders.ostling
Forum Newbie
Posts: 1
Joined: Wed Oct 23, 2002 4:40 am

LDAP Referrals not working

Post by anders.ostling »

Hi
I am trying to use ldap_set_rebind_proc since we have a partitioned LDAP topology and need to be able to follow referrals. And of course, since I am writing this, it does _not_ work. I get an error message saying "Unknown function called". I have a stock RH 7.2 server with PHP/LDAP/Apache. Do I have to do anything special to have the referral mechanism to work ?

Best regards
Anders Östling
IKEA IT AB
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

http://www.php.net/manual/en/function.l ... ebind_proc
(PHP 4 >= 4.2.0)[/quote]what version do you use?
if in doubt

Code: Select all

<?php phpinfo(); ?>
will tell you.
Also observe the user contributed note
If rebind_proc isn't compiled in slapd, your will never get that funtction working. Check out the new alpha release of slapd and rtfm.
Post Reply