summaryrefslogtreecommitdiff
path: root/nslcd/ldap-nss.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-07-28 16:20:06 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-07-28 16:20:06 +0000
commit9e68b31911052fd5270c036366d2875f02ec3280 (patch)
treeec6d37e7cb09ab75dc94747d6da7ae94879dc421 /nslcd/ldap-nss.h
parentc8fa7714097214ca7efd94ed69d27ffaacb59a07 (diff)
define the list of attributes to look up in searches in the service modules instead of in ldap-schema
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@337 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/ldap-nss.h')
-rw-r--r--nslcd/ldap-nss.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/nslcd/ldap-nss.h b/nslcd/ldap-nss.h
index 28c9c59..8c8fe9f 100644
--- a/nslcd/ldap-nss.h
+++ b/nslcd/ldap-nss.h
@@ -296,14 +296,14 @@ char *_nss_ldap_next_attribute (LDAPMessage * entry, BerElement *ber);
enum nss_status _nss_ldap_search_s (const struct ldap_args * args, /* IN */
const char *filterprot, /* IN */
enum ldap_map_selector sel, /* IN */
- const char **user_attrs, /* IN */
+ const char **attrs, /* IN */
int sizelimit, /* IN */
LDAPMessage ** res /* OUT */ );
int _nss_ldap_searchbyname(
struct ldap_args *args,const char *filterprot,
- enum ldap_map_selector sel,TFILE *fp,NEWparser_t parser);
+ enum ldap_map_selector sel,const char **attrs,TFILE *fp,NEWparser_t parser);
/*
@@ -325,7 +325,7 @@ enum nss_status _nss_ldap_getent_ex (struct ldap_args * args, /* IN */
int *errnop, /* OUT */
const char *filterprot, /* IN */
enum ldap_map_selector sel, /* IN */
- const char **user_attrs, /* IN */
+ const char **attrs, /* IN */
parser_t parser /* IN */ );
/*
@@ -339,6 +339,7 @@ enum nss_status _nss_ldap_getent (struct ent_context ** ctx, /* IN/OUT */
int *errnop, /* OUT */
const char *filterprot, /* IN */
enum ldap_map_selector sel, /* IN */
+ const char **attrs, /* IN */
parser_t parser /* IN */ );
/*
@@ -351,6 +352,7 @@ enum nss_status _nss_ldap_getbyname (struct ldap_args * args, /* IN/OUT *
int *errnop, /* OUT */
const char *filterprot, /* IN */
enum ldap_map_selector sel, /* IN */
+ const char **attrs, /* IN */
parser_t parser /* IN */ );
@@ -381,10 +383,6 @@ enum nss_status _nss_ldap_assign_userpassword (LDAPMessage * e, /* IN */
return 0 for false, not-0 for true */
int has_objectclass(LDAPMessage *entry,const char *objectclass);
-const char *_nss_ldap_map_at (enum ldap_map_selector sel, const char *attribute);
-
-const char *_nss_ldap_map_oc (enum ldap_map_selector sel, const char *objectclass);
-
enum nss_status _nss_ldap_init (void);
#endif /* _LDAP_NSS_LDAP_LDAP_NSS_H */