Anonymous_User Absent Member.
Absent Member.

namcd: What's the deal with its persistent cache?


I've run into some trouble using namcd on OES Linux SP1. It seems a bit
overzealous on caching.

What I've tried is remove a LUM-enabled user from some LUM-enabled groups,
and then examine the results on a LUM-enabled box with
enable-persistent-cache set to YES in nam.conf. Turns out NAM never seems
to learn that the user was removed from said groups. Reducing the caching
period (persistent-cache-refresh-period) to as little as 1 second doesn't
change a thing, neither does stopping namcd, removing the dotfiles in
/var/nam, and restarting namcd. Group membership just stays the same as far
as NAM is concerned.

Setting enable-persistent-cache to NO in nam.conf causes this problem to
disappear, though of course username and group resolution becomes painfully
slow. Enabling persistent caching again and restarting namcd after throwing
away the cache files reinstates the old problem yet again.

I'm confused. Are there any other, additional caching mechanisms in place
with regard to NAM? Are there some files, in addition to those in /var/nam,
that I need to wipe out in order to truly reinitialize the cache?

On the box in question, nscd is disabled, of course. Just in case you were
wondering. 🙂


Labels (2)
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: namcd: What's the deal with its persistent cache?


It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Do a search of our knowledgebase at
- Check all of the other support tools and options available at
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.