diff options
author | Nathan Kinder <nkinder@redhat.com> | 2008-11-25 19:20:27 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2008-11-25 19:20:27 +0000 |
commit | 190c6612ebb92e4ff771db43098e842083f7689a (patch) | |
tree | 975d2eb5d625f9bebc71fc2b6d4b29331c19c4a5 /ldap/servers/slapd/slap.h | |
parent | b68be619ceb59d9ad242841be4ebe2abb993d6d8 (diff) | |
download | ds-190c6612ebb92e4ff771db43098e842083f7689a.tar.gz ds-190c6612ebb92e4ff771db43098e842083f7689a.tar.xz ds-190c6612ebb92e4ff771db43098e842083f7689a.zip |
Resolves: 387851
Summary: Add configuration parameter to limit maximum allowed incoming SASL IO packet size.
Diffstat (limited to 'ldap/servers/slapd/slap.h')
-rw-r--r-- | ldap/servers/slapd/slap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap/servers/slapd/slap.h b/ldap/servers/slapd/slap.h index 22451425..cca3178c 100644 --- a/ldap/servers/slapd/slap.h +++ b/ldap/servers/slapd/slap.h @@ -1764,6 +1764,7 @@ typedef struct _slapdEntryPoints { #define CONFIG_REFERRAL_MODE_ATTRIBUTE "nsslapd-referralmode" #define CONFIG_ATTRIBUTE_NAME_EXCEPTION_ATTRIBUTE "nsslapd-attribute-name-exceptions" #define CONFIG_MAXBERSIZE_ATTRIBUTE "nsslapd-maxbersize" +#define CONFIG_MAXSASLIOSIZE_ATTRIBUTE "nsslapd-maxsasliosize" #define CONFIG_MAX_FILTER_NEST_LEVEL_ATTRIBUTE "nsslapd-max-filter-nest-level" #define CONFIG_VERSIONSTRING_ATTRIBUTE "nsslapd-versionstring" #define CONFIG_ENQUOTE_SUP_OC_ATTRIBUTE "nsslapd-enquote-sup-oc" @@ -1981,8 +1982,9 @@ typedef struct _slapdFrontendConfig { char *ldapi_gidnumber_type; /* type that contains gid number */ char *ldapi_search_base_dn; /* base dn to search for mapped entries */ char *ldapi_auto_dn_suffix; /* suffix to be appended to auto gen DNs */ - int slapi_counters; /* switch to turn slapi_counters on/off */ - int allow_unauth_binds; /* switch to enable/disable unauthenticated binds */ + int slapi_counters; /* switch to turn slapi_counters on/off */ + int allow_unauth_binds; /* switch to enable/disable unauthenticated binds */ + size_t maxsasliosize; /* limit incoming SASL IO packet size */ #ifndef _WIN32 struct passwd *localuserinfo; /* userinfo of localuser */ #endif /* _WIN32 */ |