Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
return "invalid"
strings = {
DS_DOMAIN_FUNCTION_2000: "2000",
- DS_DOMAIN_FUNCTION_2003_MIXED: \
+ DS_DOMAIN_FUNCTION_2003_MIXED:
"2003 with mixed domains/interim (NT4 DC support)",
DS_DOMAIN_FUNCTION_2003: "2003",
DS_DOMAIN_FUNCTION_2008: "2008",
if use_xattrs == "yes":
eadb = False
- elif use_xattrs == "auto" and use_ntvfs == False:
+ elif use_xattrs == "auto" and not use_ntvfs:
eadb = False
- elif use_ntvfs == False:
+ elif not use_ntvfs:
raise CommandError("--use-xattrs=no requires --use-ntvfs (not supported for production use). "
"Please re-run with --use-xattrs omitted.")
elif use_xattrs == "auto" and not lp.get("posix:eadb"):