mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s4-param: Remove unused "idmap trusted only"
When we revamp the idmap layer, we will end up just following the s3 options, and this option is not used there either. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
parent
d2ae8179ea
commit
8822b3b662
@ -1247,16 +1247,6 @@ static struct parm_struct parm_table[] = {
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
},
|
||||
{
|
||||
.label = "idmap trusted only",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(bIdmapTrustedOnly),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED,
|
||||
},
|
||||
|
||||
{
|
||||
.label = "ntp signd socket directory",
|
||||
.type = P_STRING,
|
||||
@ -1533,7 +1523,6 @@ static struct loadparm_context *global_loadparm_context;
|
||||
#include "lib/param/param_functions.c"
|
||||
|
||||
/* These functions remain only in lib/param for now */
|
||||
FN_GLOBAL_BOOL(idmap_trusted_only, bIdmapTrustedOnly)
|
||||
FN_GLOBAL_BOOL(readraw, bReadRaw)
|
||||
FN_GLOBAL_BOOL(unicode, bUnicode)
|
||||
FN_GLOBAL_BOOL(writeraw, bWriteRaw)
|
||||
@ -3396,7 +3385,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
#endif
|
||||
lpcfg_do_global_parameter(lp_ctx, "template shell", "/bin/false");
|
||||
lpcfg_do_global_parameter(lp_ctx, "template homedir", "/home/%WORKGROUP%/%ACCOUNTNAME%");
|
||||
lpcfg_do_global_parameter(lp_ctx, "idmap trusted only", "False");
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "client signing", "default");
|
||||
lpcfg_do_global_parameter(lp_ctx, "server signing", "default");
|
||||
|
@ -368,9 +368,6 @@ failed:
|
||||
*
|
||||
* If no mapping exists, a new mapping will be created.
|
||||
*
|
||||
* \todo Check if SIDs can be resolved if lpcfg_idmap_trusted_only() == true
|
||||
* \todo Fix backwards compatibility for Samba3
|
||||
*
|
||||
* \param idmap_ctx idmap context to use
|
||||
* \param mem_ctx talloc context to use
|
||||
* \param sid SID to map to an unixid struct
|
||||
@ -549,9 +546,6 @@ static NTSTATUS idmap_sid_to_xid(struct idmap_context *idmap_ctx,
|
||||
goto failed;
|
||||
}
|
||||
|
||||
/*FIXME: if lpcfg_idmap_trusted_only() == true, check if SID can be
|
||||
* resolved here. */
|
||||
|
||||
ret = idmap_get_bounds(idmap_ctx, &low, &high);
|
||||
if (ret != LDB_SUCCESS) {
|
||||
status = NT_STATUS_NONE_MAPPED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user