1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

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
This commit is contained in:
Andrew Bartlett
2012-04-19 22:45:48 +10:00
parent f1f00e5ba0
commit 4ded55ebcd

View File

@ -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":