1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-05 12:22:11 +03:00

r12203: Add the share path into the sharemode db. This involves

revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
(This used to be commit 9d93af713f)
This commit is contained in:
Jeremy Allison
2005-12-12 22:07:36 +00:00
committed by Gerald (Jerry) Carter
parent 3f6d9a7b9d
commit 7d2771e758
10 changed files with 124 additions and 49 deletions

View File

@ -106,7 +106,7 @@ static char *tstring(time_t t)
return buf;
}
static void print_share_mode(const struct share_mode_entry *e, char *fname)
static void print_share_mode(const struct share_mode_entry *e, const char *sharepath, const char *fname)
{
char *utf8_fname;
int deny_mode = map_share_mode_to_deny_mode(e->share_access,