[python-ldap] Not able to fetch passwordGraceLimit's value
christian at python.org
Thu Mar 22 09:42:11 EDT 2018
On 2018-03-22 13:12, Akshay Adhikari wrote:
> Hi All,
> I was testing password policies for ldap and got around with this issue
> in the following code :
> So the problem which I am facing is, I am not able to extract
> passwordGraceLimit's value. It is returning as Null value. The same sort
> of code works for me while extracting value for passwordWarning. For
> clearance on this I will share my piece of code.
>  https://pastebin.com/WAYCQ7F8
> Also for more clear idea I am pasting the whole code.
> Please go through it, any suggestion would be really helpful.
The operation may not be supported by your LDAP server or your user may
not have privileges to access the field.
It looks like you are working on 389-DS. Mark, Simon, or William should
be able to help you to debug the issue.
More information about the python-ldap