mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
d385058ce7
subdir_of() calculates the share-relative rest for us, don't do the strlen(connectpath) calculation twice. subdir_of() also checks that the target properly ends on a directory. With just strncmp a symlink to x->/aa/etc would qualify as in share /a, so a "get x/passwd" leads to a pretty unfortunate result. This is the proper fix for bug 15207, so we need to change the expected error code to OBJECT_PATH_NOT_FOUND Bug: https://bugzilla.samba.org/show_bug.cgi?id=15207 Signed-off-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Jule Anger <janger@samba.org> Autobuild-Date(master): Tue Oct 25 11:27:02 UTC 2022 on sn-devel-184 |
||
---|---|---|
.. | ||
tests | ||
count_80_col.pl | ||
creategroup | ||
fix_bool.pl | ||
format_indent.sh | ||
makeunicodecasemap.awk | ||
mknissmbpasswd.sh | ||
mknissmbpwdtbl.sh | ||
mksmbpasswd.sh | ||
mksyms.awk | ||
mksyms.sh | ||
scancvslog.pl | ||
smbaddshare | ||
smbchangeshare | ||
smbdeleteshare | ||
smbtar | ||
strip_trail_ws.pl | ||
updatesmbpasswd.sh | ||
wscript_build |