[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
LDAP_PARAM_ERROR sometimes under multithread environment
Hi,
I have an application which needs to add entries to LDAP.If I use single thread,then everything is OK.But if I use multithread to access LDAP,it will popup error "LDAP_PARAM_ERROR" sometimes.
For example,I have entris "c=CN","o=SSTech,c=CN","ou=Develop,o=SSTech,c=CN" in my ldap server already.Everytime, I add entries such as "cn=a,ou=Develop,o=SSTech,c=CN","cn=b,ou=Develop,o=SSTech,c=CN" to ldap.If I use multithread to do that,sometimes I get such logs from my application as below:
...
search [ou=Develop,o=SSTech,c=CN] failed,error=89;
search [o=SSTech,c=CN] failed,error=89;
search [c=CN] failed,error=89;
...
Who can tell me how this happen? Why multithread operation cause such problem? And how to solve it?
Any hints or suggestions will be appreciated.
Thanks in advance.
Best Regards
----------------------------------------------
ÈËÖ®³õ£¬ÐÔ±¾ÉÆ£¬ÐÔѧxy¶ÌÐŶ©ÔÄרÌâ
http://sms.21cn.com/sexxy.jsp
¶©ÇóÖ°Åàѵ¶ÌÐÅ£¬¿ìÈËÒ»²½ÇÀÏÈ»ú
http://sms.21cn.com/dy.jsp
¸ßËÙÎȶ¨¸ßЧ30Õ×´óÓÊÏä3ÕÛ30Ôª/Ä꣨У԰¼Û£©£¡
http://mail.21cn.com/huodong/9yue/
ɱ¶¾±¸·Ý·Òëרҵ¡ª¡ªÉÌÎñÓÊ¡°ÂòÒ»ËÍÒ»¡±
http://mail.21cn.com/huodong/9yue/index1.html