]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: make canonicalize_connect_path() public
authorRalph Boehme <slow@samba.org>
Thu, 19 Mar 2020 10:19:34 +0000 (11:19 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 24 Mar 2020 19:48:40 +0000 (19:48 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/proto.h
source3/smbd/service.c

index 24d43e455bf3721108a46a1553efdf5a82f1c4f6..9f77c956e13193cf8a3cb28a64d36322a24ac4db 100644 (file)
@@ -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);
index 03125a30dad56acb2b23838936ebcbe1aab638ac..4de36bf6ff9287df43f3a9a640c14c57718e4ada 100644 (file)
@@ -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 };