From: Andrew Bartlett Date: Thu, 19 Apr 2012 12:45:48 +0000 (+1000) Subject: s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntacl X-Git-Tag: samba-4.0.0alpha20~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ded55ebcd4ae3e0425d7e89e30b24d72682c0de;p=thirdparty%2Fsamba.git 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 --- diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py index 51d6de569d4..e3d24fa3657 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":