April 2010 Archives

LDAP groups not showing up (immediately)

| No Comments | No TrackBacks

Background: I use LDAP as a user storage for my unix machines holding all relevant user and group data in the directory. When I add a user to a group, only LDAP is changed.

Since I just stumbled across this issue and have been wondering what's wrong, here is a short reminder for next time:

Whenever you update groups in LDAP when using LDAP for users and groups you have to flush the nscd cache to see the new groups immediately. Use

nscd -i <tablename>

to do this.

About this Archive

This page is an archive of entries from April 2010 listed from newest to oldest.

January 2010 is the previous archive.

May 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Creative Commons License
This blog is licensed under a Creative Commons License.
homemade code GmbH
powered by homemade code GmbH ~ the application security experts!