[Date Prev][Date Next]
Re: SASL regex segmentation faults with group based acls (ITS#1978)
At 02:59 PM 2002-07-22, firstname.lastname@example.org wrote:
>Full_Name: Simon Wilkinson
>Version: 2.1.2, 2.1.3 and CVS head
>Submission from: (NULL) (22.214.171.124)
Why do you need to reset groups after successful bind?
This appears to be unnecessary.
>The code to do in-directory lookups for SASLregex performs its backend searches
>with the connection structure set to be NULL. This results in a segmentation
>when backend_group attempts to cache results in the connection structure.
>Having asked on the openldap-devel list, the patch at the URL noted fixes the
>SASL code to pass around connection information, and extracts the code to
>reset the cached group information into a procedure of its own, in order that it
>can be called whenever connection DN information is changed.