Adapt LDAP scripts to honour expiration dates
issue