diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-10-29 18:16:59 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-03 10:16:38 -0500 |
commit | a79b644d178fcfbde0fe0b13a31fb13bbfc80004 (patch) | |
tree | 70ae8086c753ad9c1fa08234afed21727c5b1f8a /server/providers/ldap/sdap.c | |
parent | e308325dd002f92d893185f7f655be79afa28be2 (diff) | |
download | sssd-a79b644d178fcfbde0fe0b13a31fb13bbfc80004.tar.gz sssd-a79b644d178fcfbde0fe0b13a31fb13bbfc80004.tar.xz sssd-a79b644d178fcfbde0fe0b13a31fb13bbfc80004.zip |
Rename sdap_id_map to sdap_attr_map
Also start adding some infrastructure to use the USN counter when available.
In particular add a place to add generic attrs mapping, ie attributes that are
neither user nor group specific.
Diffstat (limited to 'server/providers/ldap/sdap.c')
-rw-r--r-- | server/providers/ldap/sdap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/providers/ldap/sdap.c b/server/providers/ldap/sdap.c index 94cea885c..5da698a1e 100644 --- a/server/providers/ldap/sdap.c +++ b/server/providers/ldap/sdap.c @@ -29,14 +29,14 @@ int sdap_get_map(TALLOC_CTX *memctx, struct confdb_ctx *cdb, const char *conf_path, - struct sdap_id_map *def_map, + struct sdap_attr_map *def_map, int num_entries, - struct sdap_id_map **_map) + struct sdap_attr_map **_map) { - struct sdap_id_map *map; + struct sdap_attr_map *map; int i, ret; - map = talloc_array(memctx, struct sdap_id_map, num_entries); + map = talloc_array(memctx, struct sdap_attr_map, num_entries); if (!map) { return ENOMEM; } @@ -70,7 +70,7 @@ int sdap_get_map(TALLOC_CTX *memctx, static int sdap_parse_entry(TALLOC_CTX *memctx, struct sdap_handle *sh, struct sdap_msg *sm, - struct sdap_id_map *map, int attrs_num, + struct sdap_attr_map *map, int attrs_num, struct sysdb_attrs **_attrs, char **_dn) { struct sysdb_attrs *attrs; |