Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running LDAP Samba PDC on Ubuntu 10.04 server. By default the LDAP account pasword expires in 45 days. I want to change it.

I've tried hard to find this setting in the LDAP conf files but I couldn't.
What conf file needs to be edited to make this change?

share|improve this question
add comment

1 Answer

The configuration parameter you are looking for is pwdMaxAge as described here. However, you need to observe that this parameter is given in seconds. Hence you need to calculate number_of_days * 86400 if you want to specify a particular number of days.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.