Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:ldap-scripts:checkldappwdexpiration [2018/05/02 15:29]
nqb [Presentation]
documentation:ldap-scripts:checkldappwdexpiration [2019/11/19 17:47]
coudot [Configuration]
Line 8: Line 8:
  
 It requires : It requires :
-  * gawk (GNU awk)                     +  * gawk (GNU awk) 
-  * ldapsearch ​                        +  * ldapsearch 
-  * mailx                             ​+  * mailx 
 +  * date 
  
 It was tested for GNU/Linux and SunOS 5.8. It was tested for GNU/Linux and SunOS 5.8.
Line 63: Line 65:
   * ''​MY_GAWK_BIN'':​ path to gawk binary   * ''​MY_GAWK_BIN'':​ path to gawk binary
  
 +Mail content: you can edit ''​MY_MAIL_BODY''​ and use the following variables:
 +  * ''​name''​
 +  * ''​login''​
 +  * ''​expireTimeTZ''​
 +  * ''​expireDays''​
 +  * ''​pwdMinLength''​
 +  * ''​pwdInHistory''​
  
 +Date localization:​ you can change the lang by modifying this line:
 +<file sh>
 +export LC_ALL=en_US.UTF-8
 +</​file>​