summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-17 20:15:42 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-17 23:55:39 +1100
commitd7ea449049e6536c4c25274dc24d9eaa90cb7abd (patch)
tree9921d1510e2d54fd4410bd23fac44d9af4da6b0d /source4
parent1a6518072899593f64e115e2c8cd5f5f4c523a4c (diff)
downloadsamba-d7ea449049e6536c4c25274dc24d9eaa90cb7abd.tar.gz
samba-d7ea449049e6536c4c25274dc24d9eaa90cb7abd.tar.bz2
samba-d7ea449049e6536c4c25274dc24d9eaa90cb7abd.zip
s4-provision: don't try to autodetect xattr is posix:eadb is set
when posix:eadb is set then we know we should be using an eadb
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/setup/provision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 57e7a46952..7fa676651e 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -218,7 +218,7 @@ elif opts.partitions_only:
eadb = True
if opts.use_xattrs == "yes":
eadb = False
-elif opts.use_xattrs == "auto":
+elif opts.use_xattrs == "auto" and lp.get("posix:eadb") is None:
file = tempfile.NamedTemporaryFile()
try:
samba.ntacls.setntacl(lp, file.name,