Skip to content

Unable to change LDAP filter for non SASL. #633

@misyltoad

Description

@misyltoad

Hello!
I am unable to change the LDAP filter to be other than "(&(?objectClass=PostfixBookMailAccount)(uniqueIdentifier=%u))".

No matter what options I put in my DockerCompose.yml I always end up with that filter being executed on my ldap. I do not have a postfixbookmailaccount and I would prefer it if I didn't have to, unless it is necessary.

I have tried

  • SASLAUTHD_LDAP_FILTER='(&(objectClass=posixAccount)(uid=%U))'
  • LDAP_FILTER='(&(objectClass=posixAccount)(uid=%U))'
  • LDAP_QUERY_FILTER='(&(objectClass=posixAccount)(uid=%U))'
    but none of them have any effect.

I am using the docker openldap also, so adding the schema would prove a bit of a mess, unless there's another way to do it?

My apologies if I am being stupid - I am fairly new to Docker.

Thanks and any advice/help is greatly appreciated.

  • Josh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions