summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-26 12:10:55 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-26 03:08:21 +0100
commit5e8cb67605367ffd9dd2a8624df90f2ca5e77fc4 (patch)
tree594c5bb8443243457c9f50d0ebf0b471aa79c42b /source4/setup/provision
parentcfa7510e19b5e593af8c4da6e89b6a99adfe8b2b (diff)
downloadsamba-5e8cb67605367ffd9dd2a8624df90f2ca5e77fc4.tar.gz
samba-5e8cb67605367ffd9dd2a8624df90f2ca5e77fc4.tar.bz2
samba-5e8cb67605367ffd9dd2a8624df90f2ca5e77fc4.zip
s4-provision: fixed eadb automatic and manual setting in provision
we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 303fd32f3b..18142addbf 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -225,10 +225,8 @@ elif opts.use_xattrs == "auto" and not lp.get("posix:eadb"):
"O:S-1-5-32G:S-1-5-32", "S-1-5-32", "native")
eadb = False
except:
- # XXX: Should catch a specific exception here
- if lp.get("posix:eadb") is None:
- logger.info("You are not root or your system do not support xattr, using tdb backend for attributes. "
- "If you intend to use this provision in production, rerun the script as root on a system supporting xattrs.")
+ logger.info("You are not root or your system do not support xattr, using tdb backend for attributes. "
+ "If you intend to use this provision in production, rerun the script as root on a system supporting xattrs.")
file.close()