I have a test system which authenticates using sssd and an LDAP provider.
So far so good!

In my LDAP object there is the field 'mail' which is my correct email address.
I know I can get this using an ldapsearch.
However I am asking if there is any clean and small utility which will print this out?
I am asking as obviously scripts sometimes want to send email.

In sssd.conf there s the field    ldap_user_email
How would this be queried?