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

RE: commit: ldap/servers/slapd connection.c operation.c



Maybe... connection_input() will abandon all outstanding operations whenever
it receives a BIND request. This happens before the Bind code gets to invoke
connection2anonymous, so those operations should fail gracefully. But I see
what you mean, this was probably a bad idea. Revert?

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: Tuesday, August 06, 2002 9:09 PM
> To: hyc@OpenLDAP.org
> Cc: OpenLDAP Commit
> Subject: Re: commit: ldap/servers/slapd connection.c operation.c
>
>
> Bad can't the connections authz be changed (to NULL)
> while operations are outstanding?
>         Kurt
>
> At 08:19 PM 2002-08-06, hyc@OpenLDAP.org wrote:
> >Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
> >
> >Modified Files:
> >        connection.c  1.184 -> 1.185
> >        operation.c  1.27 -> 1.28
> >
> >Log Message:
> >Don't strdup conn->authz into op, just reference directly. (Conn cannot
> >be freed until after all associated ops are freed.)
> >
> >
> >CVS Web URLs:
> >  http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/
> >    http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/connection.c
> >    http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/operation.c
> >
> >Changes are generally available on cvs.openldap.org (and CVSweb)
> >within 30 minutes of being committed.
>
>