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

Re: (ITS#4516) Rebinding in the same conn confuses ppolicy overlay



ahasenack@terra.com.br wrote:
> Full_Name: Andreas Hasenack
> Version: 2.3.21
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (200.140.247.99)
>
>
> I have an user with pwdReset: TRUE and the policy for that user has
> pwdMustChange: TRUE. While testing this I found out that the following happens
> if done in this order in the same connection:
>
> 1) bind anon, do a search: works
> 2) bind as that user, do a search: fails (expected)
> 3) rebind as anon, do a search: fails with the same error as (2) (not expected)
>
>   
This should now be working with the patch in overlays/ppolicy.c 1.77 -> 
1.78  please test.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/