I am seeing some very strange behaviour.

Very often when I issue the command 'groups   username' then only the local groups in /etc/group are returned.

Issue the command again then the list with the local groups plus the AD groups is returned.

In /etc/nsswitch.conf                 group:          files sss

I am altering the parameter ad_enable_gc to  False but this happened with is set to True also.


Any ideas please?