mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
smbd: make canonicalize_connect_path() public
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
70d33236fc
commit
67b9b52bb6
@ -1081,6 +1081,7 @@ void smbd_exit_server_cleanly(const char *const reason) _NORETURN_;
|
||||
/* The following definitions come from smbd/service.c */
|
||||
|
||||
bool set_conn_connectpath(connection_struct *conn, const char *connectpath);
|
||||
bool canonicalize_connect_path(connection_struct *conn);
|
||||
NTSTATUS set_conn_force_user_group(connection_struct *conn, int snum);
|
||||
void set_current_case_sensitive(connection_struct *conn, uint16_t flags);
|
||||
bool chdir_current_service(connection_struct *conn);
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "lib/afs/afs_funcs.h"
|
||||
#include "lib/util_path.h"
|
||||
|
||||
static bool canonicalize_connect_path(connection_struct *conn)
|
||||
bool canonicalize_connect_path(connection_struct *conn)
|
||||
{
|
||||
bool ret;
|
||||
struct smb_filename con_fname = { .base_name = conn->connectpath };
|
||||
|
Loading…
x
Reference in New Issue
Block a user