[SSSD] debbuging, how to turn off cache [SOLVED]

steve steve at steve-ss.com
Thu Apr 18 07:03:00 UTC 2013


>> The other problem we have is when we change e.g. the unixHomeDirectory
>> for a user on the server. How do we tell the clients that something
>> has changed? We can't go around all clients, login as root and issue a
>> sssd_cache -u <user>! Any ideas?
> It will be corrected next time user logs in I assume. So is this a problem?
> Is there a reason why the change should happen earlier than that?
>
>
Hi
Unfortunately that only works for the first login after the change e.g.
Change uidNumber for steve2
steve2 logs in and id shows his new uid
log out
change the number back to what it was
steve2 logs in again but the uidNumber has not changed

Also, for groups:
sss_cache -g group
does not flush when primaryGroupID has been changed in AD
/var/lib/sss/db/* must be removed for this to happen

I have workarounds for all this but they involve going to each client, 
logging in as root and either issuing the sss_cache commands or removing 
the db and starting again.

Cheers,
Steve




More information about the sssd-devel mailing list