summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-04-09 02:09:22 -0700
committerAndrew Bartlett <abartlet@samba.org>2012-04-16 09:38:17 +0200
commitf35d20119a3a6992cb3a9be047dbd723470d4b86 (patch)
tree6042652d4c9ff9062c97ba58be034aecaf02c48d /source4/setup
parent4d872ff77f95b0aa48063d04cbc18e56f056bfc9 (diff)
downloadsamba-f35d20119a3a6992cb3a9be047dbd723470d4b86.tar.gz
samba-f35d20119a3a6992cb3a9be047dbd723470d4b86.tar.bz2
samba-f35d20119a3a6992cb3a9be047dbd723470d4b86.zip
Add an option to have s3fs as file server for samba4
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 16 09:38:18 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 554a516802..523b082827 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -122,6 +122,7 @@ parser.add_option("--ol-mmr-urls", type="string", metavar="LDAPSERVER",
parser.add_option("--slapd-path", type="string", metavar="SLAPD-PATH",
help="Path to slapd for LDAP backend [e.g.:'/usr/local/libexec/slapd']. Required for Setup with LDAP-Backend. OpenLDAP Version >= 2.4.17 should be used.")
parser.add_option("--use-xattrs", type="choice", choices=["yes", "no", "auto"], help="Define if we should use the native fs capabilities or a tdb file for storing attributes likes ntacl, auto tries to make an inteligent guess based on the user rights and system capabilities", default="auto")
+parser.add_option("--use-s3fs", help="Use s3fs for the fileserver (default = no)")
opts = parser.parse_args()[0]
@@ -265,7 +266,7 @@ try:
backend_type=opts.ldap_backend_type,
ldapadminpass=opts.ldapadminpass, ol_mmr_urls=opts.ol_mmr_urls,
slapd_path=opts.slapd_path,
- useeadb=eadb, next_rid=opts.next_rid, lp=lp)
+ useeadb=eadb, next_rid=opts.next_rid, lp=lp, use_ntvfs=(not opts.use_s3fs))
except ProvisioningError, e:
print str(e)
sys.exit(1)