directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: Force password change on next login with Active Directory
Date Wed, 19 May 2021 11:47:57 GMT


On 19/05/2021 12:26, 4 Integration wrote:
> Hi again,
> 
> I noted that when using LdapConnectionTemplate and authenticate(...) it
> doesn't return any useful error codes in the exception and no
> PasswordWarning.
> Shouldn't this scenario return a PasswordWarning?
> https://nightlies.apache.org/directory/api/2.0.1/apidocs/org/apache/directory/ldap/client/template/PasswordWarning.html

This is a class used when PasswordPolicy control is sent. It would not 
help you in this context.


> 
> If I use:
> LdapNetworkConnection and connection.bind(...) it returns an LdapException with
> message
> 80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error,
> data 773, v3839
> where 773 is what is expected.
> 
> It feels like LdapConnectionTemplate has a (few) bug(s).

So please feel free to fill JIRAs.

Thanks

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@directory.apache.org
For additional commands, e-mail: api-help@directory.apache.org


Mime
View raw message