Skip to content

Use LDAP DN from search if prefix/suffix not defined#1313

Merged
endelwar merged 2 commits intomailwatch:1.2from
sobolev-es:1.2
Feb 3, 2025
Merged

Use LDAP DN from search if prefix/suffix not defined#1313
endelwar merged 2 commits intomailwatch:1.2from
sobolev-es:1.2

Conversation

@sobolev-es
Copy link
Copy Markdown
Contributor

Using prefix/suffix to construct ldap bind dn is not possible in case of the following LDAP scheme:
ou=Users,ou=domain1.com,ou=Mail,dc=example,dc=com
ou=Users,ou=domain2.com,ou=Mail,dc=example,dc=com
I suggest using dn from previous search results if both LDAP_BIND_PREFIX and LDAP_BIND_SUFFIX is undefined.

@endelwar endelwar merged commit bff307e into mailwatch:1.2 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants