Hi,
As Marko said, "sss_search -u jdoe" would be nice. I also
expect it to
return more than what 'getent' does - i.e. things like mail address,
telephone number,... ok these might not be important now, but certainly
will be in the future (imagine sssd being queried by mailing client or
ekiga/pidgin).
indeed - if something like this would be available it would open the
door for innovative use of the information so easily retrievable.
Also, having the information about ldap connection state (i.e. sssd
running in connected or disconnected mode) is extremely useful to me as
one the biggest pain with winbind is its cache - you never know which
information came from the authoritative source and which was just cached
& winbind can not bind to any server due to whatever reason.
I filed an RFE to implement querying of online/offline status two years
ago but it's been silent on that front for long time, not sure what's
the status with the InfoPipe effort it was planned to be combined with:
https://fedorahosted.org/sssd/ticket/385
Cheers,
--
Marko Myllynen