]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: smbd: Add utility function get_original_lcomp().
authorJeremy Allison <jra@samba.org>
Wed, 25 Mar 2020 17:00:57 +0000 (10:00 -0700)
committerRalph Boehme <slow@samba.org>
Mon, 30 Mar 2020 14:45:30 +0000 (14:45 +0000)
commitf88c36b394716b8ed7ad43b027ce4152e9024cd3
tree78a79edf0b6901d2758dee95453b8d7a9549b548
parentdd015436b3e671f8cf7b503f23f6bd990e4e857c
s3: smbd: Add utility function get_original_lcomp().

Gets the last component from a client passed-in
filename. Copes with @GMT snapshot and MS-DFS names.

Preparing to remove original_lcomp from
struct smb_filename.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/filename.c
source3/smbd/proto.h