s4-provision: don't try to autodetect xattr is posix:eadb is set
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 09:15:42 +0000 (20:15 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 12:55:39 +0000 (23:55 +1100)
when posix:eadb is set then we know we should be using an eadb

source4/setup/provision

index 57e7a46952c132447d71430a668902771f3e827d..7fa676651ede5ed72ed26cb4bcb7967bd19b7d3a 100755 (executable)
@@ -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,