summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-25 17:36:54 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-25 20:39:05 +0100
commit08a3d6d6ad2db15ddeec5cc9e57392ea01d881ad (patch)
treeececd768ad837e076ea7c3b6f777698cf52a2512 /source4
parentd06eeb7949d6c4dd20c46de94e92f3144fa73b15 (diff)
downloadsamba-08a3d6d6ad2db15ddeec5cc9e57392ea01d881ad.tar.gz
samba-08a3d6d6ad2db15ddeec5cc9e57392ea01d881ad.tar.bz2
samba-08a3d6d6ad2db15ddeec5cc9e57392ea01d881ad.zip
ntacl: There is no 'secrets database' configuration option.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/netcmd/ntacl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/ntacl.py b/source4/scripting/python/samba/netcmd/ntacl.py
index 96d4c975c9..349c0061d7 100644
--- a/source4/scripting/python/samba/netcmd/ntacl.py
+++ b/source4/scripting/python/samba/netcmd/ntacl.py
@@ -61,7 +61,7 @@ class cmd_ntacl_set(Command):
def run(self, acl, file, quiet=False,xattr_backend=None,eadb_file=None,
credopts=None, sambaopts=None, versionopts=None):
lp = sambaopts.get_loadparm()
- path = os.path.join(lp.get("private dir"), lp.get("secrets database") or "secrets.ldb")
+ path = lp.private_path("secrets.ldb")
creds = credopts.get_credentials(lp)
creds.set_kerberos_state(DONT_USE_KERBEROS)
try: