diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-12-30 15:12:09 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-12-30 15:12:09 +0100 |
commit | 2b9a630fe884822fef6e90b7c8df6287c4ffba5f (patch) | |
tree | 30c6c113ca626d882a1de4eb215e3db9bf919579 /nslcd/shadow.c | |
parent | 2a5d37ebc0a5880105b44bab3cac9a2aa6977fe5 (diff) |
remove the ldc_ prefix from struct ldap_config fields
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1887 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/shadow.c')
-rw-r--r-- | nslcd/shadow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/shadow.c b/nslcd/shadow.c index e759832..d940054 100644 --- a/nslcd/shadow.c +++ b/nslcd/shadow.c @@ -88,10 +88,10 @@ void shadow_init(void) /* set up search bases */ if (shadow_bases[0] == NULL) for (i = 0; i < NSS_LDAP_CONFIG_MAX_BASES; i++) - shadow_bases[i] = nslcd_cfg->ldc_bases[i]; + shadow_bases[i] = nslcd_cfg->bases[i]; /* set up scope */ if (shadow_scope == LDAP_SCOPE_DEFAULT) - shadow_scope = nslcd_cfg->ldc_scope; + shadow_scope = nslcd_cfg->scope; /* set up attribute list */ set = set_new(); attmap_add_attributes(set, attmap_shadow_uid); |