fdprintf(fd, "rpc_daemon:spoolssd = disabled\n");
fdprintf(fd, "rpc_server:tcpip = no\n");
+ /* If we are using posix:eadb then we need to load another VFS object */
+ if (lpcfg_parm_string(lp_ctx, NULL, "posix", "eadb")) {
+ fdprintf(fd, "vfs objects = acl_xattr posix_eadb\n");
+ } else {
+ fdprintf(fd, "vfs objects = acl_xattr\n");
+ }
+
fdprintf(fd, "include = %s\n", lpcfg_configfile(lp_ctx));
+
+ fdprintf(fd, "[IPC$]\n");
+ fdprintf(fd, " vfs objects = dfs_samba4\n");
+
close(fd);
return path;
}
server services = -smb +s3fs
dcerpc endpoint servers = -unixinfo -spoolss -winreg -wkssvc -srvsvc
-[IPC\$]
- vfs objects = dfs_samba4
-
";
print "PROVISIONING PLUGIN S4 DC...";