FN_LOCAL_BOOL(hide_dot_files, hide_dot_files)
FN_LOCAL_BOOL(hide_special_files, hide_special_files)
FN_LOCAL_BOOL(hide_unreadable, hide_unreadable)
-FN_LOCAL_BOOL(hideunwriteable_files, hideunwriteable_files)
+FN_LOCAL_BOOL(hide_unwriteable_files, hide_unwriteable_files)
FN_LOCAL_BOOL(access_based_share_enum, access_based_share_enum)
FN_LOCAL_BOOL(guest_ok, guest_ok)
FN_LOCAL_BOOL(guest_only, guest_only)
.label = "hide unwriteable files",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(hideunwriteable_files),
+ .offset = LOCAL_VAR(hide_unwriteable_files),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
.hide_dot_files = true,
.hide_special_files = false,
.hide_unreadable = false,
- .hideunwriteable_files = false,
+ .hide_unwriteable_files = false,
.browseable = true,
.access_based_share_enum = false,
.bAvailable = true,
const char *name, SMB_STRUCT_STAT *pst, bool use_veto)
{
bool hide_unreadable = lp_hide_unreadable(SNUM(conn));
- bool hide_unwriteable = lp_hideunwriteable_files(SNUM(conn));
+ bool hide_unwriteable = lp_hide_unwriteable_files(SNUM(conn));
bool hide_special = lp_hide_special_files(SNUM(conn));
char *entry = NULL;
struct smb_filename *smb_fname_base = NULL;
}
if (lp_hide_unreadable(SNUM(tcon->compat)) ||
- lp_hideunwriteable_files(SNUM(tcon->compat))) {
+ lp_hide_unwriteable_files(SNUM(tcon->compat))) {
*out_share_flags |= SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM;
}