summaryrefslogtreecommitdiff
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/cfg.h')
-rw-r--r--nslcd/cfg.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/nslcd/cfg.h b/nslcd/cfg.h
index 5fc3147..890974c 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -35,15 +35,6 @@
#define NOUID ((gid_t)-1)
#define NOGID ((gid_t)-1)
-/* maximum number of URIs */
-#define NSS_LDAP_CONFIG_MAX_URIS 31
-
-/* maximum number of search bases */
-#define NSS_LDAP_CONFIG_MAX_BASES 31
-
-/* maximum number of pam_authz_search options */
-#define NSS_LDAP_CONFIG_MAX_AUTHZ_SEARCHES 8
-
/* selectors for different maps */
enum ldap_map_selector {
LM_ALIASES,
@@ -74,7 +65,6 @@ struct ldap_config {
regex_t validnames; /* the regular expression to determine valid names */
char *validnames_str; /* string version of validnames regexp */
int ignorecase; /* whether or not case should be ignored in lookups */
- char *pam_authz_searches[NSS_LDAP_CONFIG_MAX_AUTHZ_SEARCHES]; /* the searches that should be performed to do autorisation checks */
char *pam_password_prohibit_message; /* whether password changing should be denied and user prompted with this message */
char reconnect_invalidate[LM_NONE]; /* set to 1 if the corresponding map should be invalidated */
};