> -----Original Message-----
> From: 
> [email protected]
>  
> [mailto:[email protected]
> illa.org] On Behalf Of Markus Moeller
> Sent: Monday, April 13, 2009 6:08 PM
> To: [email protected]
> Subject: Re: SASL authentication
> 
> sasl_secprops = (char *)"maxssf=0";
> ldap_set_option( ld, LDAP_OPT_X_SASL_SECPROPS,  (void *) 
> sasl_secprops );

Very strange. After this expression is added into the code, its behavior looks 
like pingpong style: 
===================================================
<apManager> (Tue Apr 14 2009 17:54:24.215) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:54:24.382) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 0
......
<apManager> (Tue Apr 14 2009 17:54:24.390) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:54:24.395) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 81
<apManager> (Tue Apr 14 2009 17:54:24.395) 
<p7800,t3078957984,aba_ldap_interface.c,1671>
    ERROR>> LDAP BIND: Value of ldap failure status and text 81 Can't contact 
LDAP server
......
<apManager> (Tue Apr 14 2009 17:54:40.943) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:54:41.030) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 0
......
<apManager> (Tue Apr 14 2009 17:54:41.038) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:54:41.043) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 81
<apManager> (Tue Apr 14 2009 17:54:41.043) 
<p7800,t3078957984,aba_ldap_interface.c,1671>
    ERROR>> LDAP BIND: Value of ldap failure status and text 81 Can't contact 
LDAP server
......
<apManager> (Tue Apr 14 2009 17:54:57.444) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:55:00.450) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 0
......
<apManager> (Tue Apr 14 2009 17:55:00.458) 
<p7800,t3078957984,aba_ldap_interface.c,1650>
     INFO>> SASL Login
<apManager> (Tue Apr 14 2009 17:55:00.463) 
<p7800,t3078957984,aba_ldap_interface.c,1664>
     INFO>> SASL LDAP BIND with GSSAPI: Value of ldapStatus 81
<apManager> (Tue Apr 14 2009 17:55:00.463) 
<p7800,t3078957984,aba_ldap_interface.c,1671>
    ERROR>> LDAP BIND: Value of ldap failure status and text 81 Can't contact 
LDAP server
===================================================
Such pattern really confuses me. After examining the code, I found nothing is 
wrong with the caller in apManager. I am at a loss now.

Could you give me any more suggestions, Marcus? And anyone has had the same 
experience before?

Thanks,
Xu Qiang
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to