From 6054499f9a9952593ccadc83182e01d39ff62f12 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 26 Jul 2013 14:26:55 +0200 Subject: Allow invalidating the nfsidmap cache This introduces an nfsidmap value for nscd_invalidate which will cause the nfsidmap -c command to be run. --- pynslcd/cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pynslcd/cfg.py') 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 -- cgit v1.2.3