Getting LDAP Epoch
Run this on the server:
$ echo ' <?php echo strtotime("+185 days")/86400;' | php
This is to have date 185 days from today in LDAP format. Useful to set LDAP expiry date.
Run this on the server:
$ echo ' <?php echo strtotime("+185 days")/86400;' | php
This is to have date 185 days from today in LDAP format. Useful to set LDAP expiry date.