The openldap command-line tools.
# ~/.ldap.yaml
basedn:
binddn:
bindpasswd:
ldapurl:
# get user phoneNumber
ldap-cli get phoneNumber -U <uid>
# update user phoneNumber
ldap-cli update phoneNumber -U <uid> -M <phoneNumber>
# Run 'ldap-cli <command> --help' for more information on a command.
ldap-cli --help