Ldap problem on Imp 2.2.4 and 2.2.5 + horde 1.2.4

Santiago Romero sromero@servicom2000.com
Tue, 29 May 2001 18:32:09 +0200


 Hi!

 I've noticed the LDAP Contact Window is not working for me
 on IMP . Firstly I thought it was my fault, but now, after
 installing another time horde+imp, I've added the following
 to horde/imp/ldap.search.php3 


 $str_emailattr = $lserver->emailattr;

 print $str_serv; ----> THAT'S What I've added

 $ds = ldap_connect($str_serv);


 This shows NOTHING on the screen, appart from the 
 "Couldn't establish connection to LDAP Server." ...

 Efectively, in the LDAP server, IPPL says me that nobody
 is trying to connect to the ldap server...
 
 If I change
 
 $str_serv  = $lserver->server;

 by:

 
 $str_serv = "mail.servicom2000.com";
 
 Then it connects and IPPL reports me the connection...
 This means that str_serv is being read wrongly?

 If so, then all other parameters are being read wrongly too,
 as doing a search for a name (that is only once on the ldap
 server) it returns that "there are too many entries, reduce
 your scope and ..."...

 It's a bug? It's my fault? It's moon-phase? :)

 CU and thanks a lot!!!

-- 
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com

Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com