diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 14:26:55 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-26 14:26:55 +0200 |
commit | 6054499f9a9952593ccadc83182e01d39ff62f12 (patch) | |
tree | 74b61921f9bcbf780863060971a2bf280a9fd5c3 /pynslcd/cfg.py | |
parent | d2e2e400e79c94c2e60f21ec61811dfe948924cc (diff) |
Allow invalidating the nfsidmap cache
This introduces an nfsidmap value for nscd_invalidate which will cause
the nfsidmap -c command to be run.
Diffstat (limited to 'pynslcd/cfg.py')
-rw-r--r-- | pynslcd/cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pynslcd/cfg.py b/pynslcd/cfg.py index a9f1d89..516eeb7 100644 --- a/pynslcd/cfg.py +++ b/pynslcd/cfg.py @@ -317,7 +317,7 @@ def read(filename): if m: dbs = re.split('[ ,]+', m.group('value').lower()) for db in dbs: - if db not in maps: + if db not in maps.keys() + ['nfsidmap']: raise ParseError(filename, lineno, 'map %s unknown' % db) nscd_invalidate.update(dbs) continue |