s3:loadparm: remove unused parameter "idmap read only".
authorMichael Adam <obnox@samba.org>
Fri, 4 Mar 2011 13:25:58 +0000 (14:25 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 22 Mar 2011 21:49:57 +0000 (22:49 +0100)
This has not been released yet and is now useless since we
use the "idmap config * : read only = ..." syntax.

source3/include/proto.h
source3/param/loadparm.c

index c37788f97e72ed6673419eaefc2686ebd7c9896f..b5b35a46237e53c58a471f6121c1e3c1897a473e 100644 (file)
@@ -2999,7 +2999,6 @@ bool lp_winbind_rpc_only(void);
 bool lp_create_krb5_conf(void);
 int lp_winbind_max_domain_connections(void);
 const char *lp_idmap_backend(void);
-bool lp_idmap_read_only(void);
 int lp_idmap_cache_time(void);
 int lp_idmap_negative_cache_time(void);
 int lp_keepalive(void);
index f9b8f706707d692b96557163f61b688c0cb5897d..d0dd3464bab981dcfe7f4c39906a39a8e15ccba3 100644 (file)
@@ -4551,15 +4551,6 @@ static struct parm_struct parm_table[] = {
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
        },
-       {
-               .label          = "idmap read only",
-               .type           = P_BOOL,
-               .p_class        = P_GLOBAL,
-               .ptr            = &Globals.bIdmapReadOnly,
-               .special        = NULL,
-               .enum_list      = NULL,
-               .flags          = FLAG_ADVANCED,
-       },
        {
                .label          = "idmap cache time",
                .type           = P_INTEGER,
@@ -5689,7 +5680,6 @@ int lp_winbind_max_domain_connections(void)
 }
 
 FN_GLOBAL_CONST_STRING(lp_idmap_backend, &Globals.szIdmapBackend)
-FN_GLOBAL_BOOL(lp_idmap_read_only, &Globals.bIdmapReadOnly)
 FN_GLOBAL_INTEGER(lp_idmap_cache_time, &Globals.iIdmapCacheTime)
 FN_GLOBAL_INTEGER(lp_idmap_negative_cache_time, &Globals.iIdmapNegativeCacheTime)
 FN_GLOBAL_INTEGER(lp_keepalive, &Globals.iKeepalive)