diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-08 21:01:17 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-08 23:20:36 +0200 |
commit | dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc (patch) | |
tree | b8c6633312ee59748fe11e665516c63969e15680 /source4/setup/provision | |
parent | a35d876537eb301d75a254d9da97268d041da8d6 (diff) | |
download | samba-dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc.tar.gz samba-dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc.tar.bz2 samba-dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc.zip |
s4-python: More cleanups.
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-x | source4/setup/provision | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index d0d35f807e..117433de4d 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -219,7 +219,8 @@ elif opts.use_xattrs == "auto": "O:S-1-5-32G:S-1-5-32", "S-1-5-32", "native") eadb = False except: - if lp.get("posix:eadb") == None: + # XXX: Should catch a specific exception here + if lp.get("posix:eadb") is None: message("Notice: you are not root or your system do not support xattr, tdb backend for attributes has been selected") message(" if you intend to use this provision in production you'd better rerun the script as root on a system supporting xattr") file.close() |