summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'users.py')
-rw-r--r--users.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/users.py b/users.py
index aa52df031..b33956672 100644
--- a/users.py
+++ b/users.py
@@ -155,6 +155,8 @@ class Authentication:
self.sambaServer = ""
self.sambaWorkgroup = ""
+ self.enableCache = 0
+
def writeKS(self, f):
f.write("authconfig")
for arg in self.getArgList():
@@ -171,6 +173,9 @@ class Authentication:
if self.useMD5:
args.append ("--enablemd5")
+ if self.enableCache:
+ args.append("--enablecache")
+
if self.useNIS:
args.append ("--enablenis")
args.append ("--nisdomain")