Re: [openldap] The server is referring the client to another server

2004-09-09 Thread news.hinet.net
ok ! I got referrals uri,But how to know what dn referral to those referrals? use Net::LDAP; use Encode::TW; use Net::LDAP; use Net::LDAP::Util qw(ldap_error_text ldap_error_name ldap_error_desc); $Server="211.x.x.x"; $BaseDN="cn=Manager,dc=prog,dc=com,dc=tw"; $Passwd="abc123"; $DN=shift ||

[openldap] The server is referring the client to another server

2004-09-09 Thread news.hinet.net
The ldap_error_text($mesg->code()) ahow this messgae when i search an ou that referral to another server. Ok! I know this is a referral .But how to solve this problem? How to search the remote server data and what is the server info ?

Re: [openldap] The server is referring the client to another server

2004-09-09 Thread news.hinet.net
dc=prog,dc=com,dc=tw ou=Host ou=People(referral to server1) uid=ccc ou=se4 (referral to server2) uid=aaa uid=bbb The code result will list ou=Host , uid=aaa , uid=bbb and it attr. But Can not list ou=People ou=se4 (or any information). How to list those referr