mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
param: rename szLdapGroupSuffix -> _ldap_group_suffix
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
63e3c75374
commit
cd0016d88c
@ -257,7 +257,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
|
||||
char *szLdapMachineSuffix; \
|
||||
char *szLdapUserSuffix; \
|
||||
char *szLdapIdmapSuffix; \
|
||||
char *szLdapGroupSuffix; \
|
||||
char *_ldap_group_suffix; \
|
||||
char *szIdmapUID; \
|
||||
char *szIdmapGID; \
|
||||
char *szIdmapBackend; \
|
||||
|
@ -2818,7 +2818,7 @@ struct parm_struct parm_table[] = {
|
||||
.label = "ldap group suffix",
|
||||
.type = P_STRING,
|
||||
.p_class = P_GLOBAL,
|
||||
.offset = GLOBAL_VAR(szLdapGroupSuffix),
|
||||
.offset = GLOBAL_VAR(_ldap_group_suffix),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
},
|
||||
|
@ -727,7 +727,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
|
||||
string_set(Globals.ctx, &Globals.ldap_suffix, "");
|
||||
string_set(Globals.ctx, &Globals.szLdapMachineSuffix, "");
|
||||
string_set(Globals.ctx, &Globals.szLdapUserSuffix, "");
|
||||
string_set(Globals.ctx, &Globals.szLdapGroupSuffix, "");
|
||||
string_set(Globals.ctx, &Globals._ldap_group_suffix, "");
|
||||
string_set(Globals.ctx, &Globals.szLdapIdmapSuffix, "");
|
||||
|
||||
string_set(Globals.ctx, &Globals.ldap_admin_dn, "");
|
||||
@ -2377,8 +2377,8 @@ const char *lp_ldap_user_suffix(TALLOC_CTX *ctx)
|
||||
|
||||
const char *lp_ldap_group_suffix(TALLOC_CTX *ctx)
|
||||
{
|
||||
if (Globals.szLdapGroupSuffix[0])
|
||||
return append_ldap_suffix(ctx, Globals.szLdapGroupSuffix);
|
||||
if (Globals._ldap_group_suffix[0])
|
||||
return append_ldap_suffix(ctx, Globals._ldap_group_suffix);
|
||||
|
||||
return lp_string(ctx, Globals.ldap_suffix);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user