directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maiorano Pasquale <>
Subject R: Password policy retrieving problem
Date Fri, 31 Mar 2017 16:02:02 GMT
Could you please send me an example with the code to retrieve the password policy with the
Apache LDAP API?

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente
al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale.
Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete
pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni
suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione
del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito
e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge.
Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.

The contents of this email message and any attachments are intended solely for the addressee(s)
and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed
to you in error, please immediately notify the sender and then delete this message and any
attachments from your system. If you are not the intended recipient, you are hereby notified
that any use, dissemination, copying, or storage of this message or its attachments is strictly
prohibited. Unauthorized disclosure and/or use of information contained in this email message
may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is digitally signed
by the sender
-----Messaggio originale-----
Da: Emmanuel Lécharny []
Inviato: venerdì 31 marzo 2017 17:48
A: Apache Directory Developers List
Oggetto: Re: Password policy retrieving problem

Le 31/03/2017 à 13:23, Maiorano Pasquale a écrit :
> Dear Sirs,
> I am using unboundid Library to connect to the ApacheDS.

I suggest you switch to teh Apache LDAP API ( It's the one
we are developping, it comes with a full AL 2.0 license, and there is no such thing as a "commercial

> I am trying to retrieve the password policy. Unfortunately I am not able to retrieve
neither the time remaing to the password expiration nor the grace attempt remaining after
the password expiration.

Those informations are operational attributes that need to be requested by their name (or
using the meta '+' attribute in your sarch request).

Now, not having your code, it's hard to tell what's wrong with your request. We would also
need to know about your confguraion (and, no, sending an image will not work, as attachements
are automatically removed from mails send to Apache, to avoid being poluted by malwares).

>  I am able to catch both the alarm related to the acount locked and the the password
> Have you got any ideas related to the flag tha i have to set in the password policy?

Send us a copy of the passwordPolicy configuration in a LDIF format.

Thanks !


Emmanuel Lecharny

View raw message