On Wed, Aug 15, 2012 at 11:16:10AM -0400, Dmitri Pal wrote:
> *adinfo* - tell the user is there is some working connection to
> ldap server or whether we are running completely in the disconnected
> mode. Right now I have to dig through the logs to find out.
> I think both have been discussed here, but the idea was eventually
> abandoned by the sssd developers
Yes I agree having a way to dump current status of the SSSD responders
and providers would be a nice to have. But it is not quite simple.
I think we have a ticket for this.
See some thoughts that Stephen recorded there:
Would something as simple as logging changes to online/offline status to
syslog with a lower severity (LOG_INFO or LOG_DEBUG) be useful?
Recent systemd versions also print the last couple of lines that the
service logged when "service foo status" (aka systemctl status
foo.service) is called.
Then calling "service sssd status" would be able to tell you the last
status change of the provider.