r10914: moved the ldap time string functions into ldb so they can be used by