Modify ↓
Opened 11 years ago
Last modified 11 years ago
#11335 new defect
Allowing different URI schemes than ldap://
Reported by: | Owned by: | Emmanuel Blot | |
---|---|---|---|
Priority: | normal | Component: | LdapPlugin |
Severity: | normal | Keywords: | uri ldap |
Cc: | Trac Release: | 1.0 |
Description
At our site we are using LdapPlugin to access a local slapd-instance via ldapi:// and the default socket in /var/run/slapd/ldapi.
I want to share the modifications i had to make to LdapPlugin here. Unfortunately the changes are not backwards compatible, so an existing configuration will not work. If there is interest I can change that though.
Attachments (1)
Change History (2)
Changed 11 years ago by
Attachment: | ldapplugin_uri.patch added |
---|
comment:1 Changed 11 years ago by
An example config fpr using a local slapd-connection
[ldap] enable = true basedn = o=exampled,dc=com user_rdn = ou=People uidattr = uid group_rdn = ou=Groups groupname = posixGroup groupmember = memberUid groupattr = cn permfilter = objectClass=tracgroup manage_groups = false # configure URI explicitly instead of implicitly with ldap://hostname:port uri = ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi
The relevant part for using a connection to a server using STARTTLS:
uri = ldap://ldap-host start_tls = true
Note: See
TracTickets for help on using
tickets.
Support full URIs instead of hostname + port