goto fail;
}
+#ifdef ENABLE_S3COMPAT
socket_dir = lp_parm_const_string(
GLOBAL_SECTION_SNUM, "external_rpc_pipe", "socket_dir",
get_dyn_NCALRPCDIR());
+#else
+ socket_dir = s3compat_ncalrpc_dir();
+#endif
if (socket_dir == NULL) {
DEBUG(0, ("externan_rpc_pipe:socket_dir not set\n"));
goto fail;
const char **proxy_list;
struct fake_file_handle *handle;
- proxy_list = lp_parm_string_list(-1, "np", "proxy", NULL);
+#ifdef ENABLE_S3COMPAT
+ const char **default_proxy_list = s3compat_default_pipe_list();
+#else
+ const char **default_proxy_list = NULL;
+#endif
+ proxy_list = lp_parm_string_list(-1, "np", "proxy", default_proxy_list);
handle = talloc(mem_ctx, struct fake_file_handle);
if (handle == NULL) {