From 4ded55ebcd4ae3e0425d7e89e30b24d72682c0de Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 19 Apr 2012 22:45:48 +1000 Subject: s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntacl Autobuild-User: Andrew Bartlett Autobuild-Date: Thu Apr 19 20:51:16 CEST 2012 on sn-devel-104 --- source4/scripting/python/samba/ntacls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') 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": -- cgit