return NT_STATUS_OK;
}
-/****************************************************************************
-****************************************************************************/
-
-static void cli_set_mntpoint(struct cli_state *cli, const char *mnt)
-{
- TALLOC_CTX *frame = talloc_stackframe();
- char *name = clean_name(frame, mnt);
- if (!name) {
- TALLOC_FREE(frame);
- return;
- }
- TALLOC_FREE(cli->dfs_mountpoint);
- cli->dfs_mountpoint = talloc_strdup(cli, name);
- TALLOC_FREE(frame);
-}
-
/********************************************************************
Add a new connection to the list.
referring_cli == NULL means a new initial connection.
return NT_STATUS_NOT_FOUND;
}
- cli_set_mntpoint(*targetcli, newmount);
-
/* Check for another dfs referral, note that we are not
checking for loops here. */
goto error;
}
- cli->dfs_mountpoint = talloc_strdup(cli, "");
- if (!cli->dfs_mountpoint) {
- goto error;
- }
cli->raw_status = NT_STATUS_INTERNAL_ERROR;
cli->map_dos_errors = true; /* remove this */
cli->timeout = CLIENT_TIMEOUT;