summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-19 22:45:48 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-19 20:51:16 +0200
commit4ded55ebcd4ae3e0425d7e89e30b24d72682c0de (patch)
tree8f7d9b4fa9bd8a8931ce797d1efae675a69c7885
parentf1f00e5ba0b52bafac8532fba19112ebbed06738 (diff)
downloadsamba-4ded55ebcd4ae3e0425d7e89e30b24d72682c0de.tar.gz
samba-4ded55ebcd4ae3e0425d7e89e30b24d72682c0de.tar.bz2
samba-4ded55ebcd4ae3e0425d7e89e30b24d72682c0de.zip
s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntacl
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 20:51:16 CEST 2012 on sn-devel-104
-rw-r--r--source4/scripting/python/samba/ntacls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py
index 51d6de569d..e3d24fa365 100644
--- a/source4/scripting/python/samba/ntacls.py
+++ b/source4/scripting/python/samba/ntacls.py
@@ -37,6 +37,7 @@ def checkset_backend(lp, backend, eadbfile):
posix_eadb = lp.get("posix:eadb")
if posix_eadb is not None:
return (samba.posix_eadb, lp.get("posix:eadb"))
+ return (None, None)
elif backend == "native":
return (None, None)
elif backend == "eadb":