1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3-smbd: Remove deprecated 'share modes' option.

This commit is contained in:
Andreas Schneider 2012-06-22 16:37:26 +02:00
parent 571a4b6cd2
commit d0878b3b81
3 changed files with 0 additions and 14 deletions

View File

@ -1298,7 +1298,6 @@ bool lp_dmapi_support(int );
bool lp_locking(const struct share_params *p );
int lp_strict_locking(const struct share_params *p );
bool lp_posix_locking(const struct share_params *p );
bool lp_share_modes(int );
bool lp_oplocks(int );
bool lp_kernel_oplocks(int );
bool lp_level2_oplocks(int );

View File

@ -3191,15 +3191,6 @@ static struct parm_struct parm_table[] = {
.enum_list = enum_bool_auto,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
},
{
.label = "share modes",
.type = P_BOOL,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(bShareModes),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL | FLAG_DEPRECATED,
},
{N_("Ldap Options"), P_SEP, P_SEPARATOR},

View File

@ -1038,10 +1038,6 @@ static NTSTATUS open_mode_check(connection_struct *conn,
}
#endif
if (!lp_share_modes(SNUM(conn))) {
return NT_STATUS_OK;
}
/* Now we check the share modes, after any oplock breaks. */
for(i = 0; i < lck->data->num_share_modes; i++) {