[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Help! bind funny?



"Kurt D. Zeilenga" escribió:
> 
> At 01:43 AM 5/15/00 +0200, Juan Gonzalo de Silva Medina wrote:
> >What?
> >This is a cut+paste of shell-backend :) (thanks for this).
> 
> You'll note that the last few lines of back-shell/results.c read_and_send_results():
>     /* otherwise, front end will send this result */
>     if ( err != 0 || op->o_tag != LDAP_REQ_BIND ) {
>         send_ldap_result( conn, op, err, matched, info );
>     }
> That is, the backend bind routine should not send a result
> if it returns LDAP_SUCCESS.

YES! YES! YES! I'M BLIND!

I comment the line with send_ldap_result(xxxx) and only return 0 and...
ALL IT'S OK!.

Thanks, guru

--
Juan Gonzalo de Silva Medina