ldap_adaptor(4gx)
π ldap_adaptor(4gx) β LDAP connector for authentication π
okay bestie, this is the Gromox admin reference page for ldap_adaptor, and itβs giving βLDAP auth helperβ energy β¨ no cap.
π NAME π
ldap_adaptor β LDAP connector for authentication π
β¨ DESCRIPTION β¨
ldap_adaptor is a component for Gromox that helps you use an LDAP server for authentication purposes. Since the authoritative user database is in MySQL, LDAP is only used to perform authentication (Bind operations), plus metadata searches that lead up to those Binds β like looking for the LDAP object that has a particular "mail" attribute π
Gromox versions 1.33 and onwards have support for using different LDAP servers per organization. The SQL database for Gromox users (and domains and organizations) has room to store properties on the individual organization objects. Use Grommunio AAPI/AWEB to create and/or change organizations and their properties. These properties from SQL can selectively override the six config directives ldap_host, ldap_start_tls, ldap_bind_user, ldap_bind_pass, ldap_search_base and ldap_mail_attr π
πΈ CONFIGURATION DIRECTIVES πΈ
The configuration file, /etc/gromox/ldap_adaptor.cfg, serves not only the ldap_adaptor component, but is also read by the Grommunio Admin API π«Ά
π§ Gromox directives
auth_connectionsβ The maximum size of the connection pool for authentication requests. This parameter has fixed value (same asdata_connections) and is currently not settable! (Authentication operations incur an implicit logout of whatever identity was used before, which could incur extra latency if authentication operations and metadata lookups were to be done on the same connection, which is whyldap_adaptorhas two separate connection pools.) Default: (same asdata_connections) β οΈdata_connectionsβ The number of LDAP connections that will be kept active to the LDAP server for the purpose of metadata searches. Default:4πldap_edirectory_workaroundsβ Attempt to deal with wire protocol violations brought about by Novell/NetIQ eDirectory server implementations. Default:falseπldap_bind_userβ An LDAP binddn to use for metadata searches. You can only use Simple Authentication at this time. If an organization object defines LDAP credentials of its own, those will be used in preference toldap_bind_user. Default: (unset) πldap_bind_passβ Password for Simple Authentication ofldap_bind_user. Default: (unset) πldap_hostβ Whitespace-separated set of LDAP URIs in the form ofldap[si]://[name[:port]]for the default LDAP tree. The openldap2ldap.conf(5)manpage does not specify trailing slashes or DN bases like RFC 2255 does, and because of this, you should not use them. openldap2 utilities accept-ignore such part of the URI, while other implementations likepython-ldap3fail to connect. Per-organization LDAP credentials overrideldap_hostas necessary. Default: (libldap default, seeldap.conf(5)) πldap_mail_attrβ The name of the LDAP attribute which holds the primary e-mail address of the user. Pickmail(OpenLDAP as well as Active Directory schemes). Default: (empty) πldap_search_baseβ Default: (libldap default) π§ldap_start_tlsβ Use the STARTTLS mechanism on LDAP connections. Prefer using Explicit TLS (ldaps://in the URI field) in favor ofldap://with STARTTLS; see Internet blog posts"STARTTLS considered harmful"for details. Default:off. Take note that libldap may reject self-signed certificates from the LDAP server. This may be worked around with the"TLS_REQCERT allow"directive inldap.conf. See theldap.conf(5)manpage for details. However, by its description,TLS_REQCERTwill also make encryption optional, which means becoming the victim of a downgrade attack is a possibility π
π«Ά Grommunio Admin API directives
These six are the same as above, bestie:
ldap_hostβ as above πldap_bind_userβ as above πldap_bind_passβ as above πldap_search_baseβ as above πldap_start_tlsβ as above πldap_mail_attrβ as above πldap_disabledβ Iftrue, Grommunio Admin API will not make use of LDAP (which generally just means synchronization). This directive has no effect on Gromox; users which have been synchronized previously and which exist in MySQL keep their validity as far as Gromox is concerned π«ldap_object_idβ The name of the LDAP attribute which holds a unique, unchanging object identifier for synchronization purposes. PickentryUUIDfor OpenLDAP,objectGUIDfor Active Directory. Default: (empty) πldap_user_filterβ An LDAP search filter that specifies which users should be synchronized. Recommendations are(objectClass=posixAccount)for OpenLDAP/RFC2307bis,(objectClass=user)for Active Directory. Default: (empty) π§Ώldap_user_displaynameβ The name of the LDAP attribute which holds the value forPR_DISPLAY_NAME. PickdisplayName(OpenLDAP as well as Active Directory schemes). Default: (empty) π·οΈldap_user_search_attrsβ The name(s) of LDAP attributes which the Admin API will compare when using AAPI's search function. To specify multiple attributes, repeat this directive, and specify one attribute per line, i.e. putldap_user_search_attrs=mailandldap_user_search_attrs=cn, etc. in the config file. Default: (empty set) πldap_user_templateβ The name(s) of Admin API templates to use. Multi-value directive likesearch_attrs. Pickldap_user_template=commonandldap_user_template=OpenLDAPfor OpenLDAP, orldap_user_template=commonandldap_user_template=ActiveDirectoryfor Active Directory. Default: (empty set) πldap_user_aliasesβ The name of the LDAP attribute which contains secondary e-mail addresses. PickmailAlternativeAddress(OpenLDAP) orproxyAddresses(Active Directory). Thesmtp:prefix inproxyAddressesis automatically trimmed when read. Default: (empty) π§
β‘ SIGNALS β‘
Upon receipt of SIGHUP, configuration files are re-read, but only a few select directives can be changed this way, as many parts do not implement reload π«‘
π SEE ALSO π
gromox(7), authmgr(4gx) π¦
π Thatβs the tea: source/version Gromox, manual ldap_adaptor(4gx), and the date is not listed on this footer, so Iβm not making one up, bestie π«Ά
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms