diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-24 13:38:56 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-24 13:38:56 +0000 |
commit | d6f0e2fbfde1a928580cbfdd6845facf2ff1aea2 (patch) | |
tree | 2f6fbb9914f283a068672551254eacc9ade34f7b /nslcd/netgroup.c | |
parent | faee906ac541a533b61d1b51aad34fde4f3f8509 (diff) |
switch to a new interface for doing attribute mapping, splitting the attribute mapping stuff into a separate file
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@326 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/netgroup.c')
-rw-r--r-- | nslcd/netgroup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nslcd/netgroup.c b/nslcd/netgroup.c index 54cd55e..42cef7f 100644 --- a/nslcd/netgroup.c +++ b/nslcd/netgroup.c @@ -52,6 +52,7 @@ #include "util.h" #include "common.h" #include "log.h" +#include "attmap.h" /* A netgroup can consist of names of other netgroups. We have to track which netgroups were read and which still have to be read. */ @@ -233,10 +234,10 @@ _nss_ldap_load_netgr (LDAPMessage * e, switch (attr) { case 1: - vals = _nss_ldap_get_values (e, AT (nisNetgroupTriple)); + vals = _nss_ldap_get_values (e, attmap_netgroup_nisNetgroupTriple); break; default: - vals = _nss_ldap_get_values (e, AT (memberNisNetgroup)); + vals = _nss_ldap_get_values (e, attmap_netgroup_memberNisNetgroup); break; } |