};
struct ldapmapping {
- char *src;
- char *dst;
+ struct berval src;
+ struct berval dst;
};
struct ldapinfo {
int mapping_cmp (const void *, const void *);
int mapping_dup (void *, void *);
-char *ldap_back_map ( struct ldapmap *map, char *s, int remap );
+void ldap_back_map ( struct ldapmap *map, struct berval *s, struct berval *m,
+ int remap );
char *
ldap_back_map_filter(
struct ldapmap *at_map,
struct ldapmap *oc_map,
- char *f,
+ struct berval *f,
int remap
);
char **
ldap_back_map_attrs(
struct ldapmap *at_map,
- struct berval **a,
+ AttributeName *a,
int remap
);