gliderlabs / gliderlabs/docker-alpine

Troubles with libsasl package

Open
#450 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

tryed to setup postfix sasl to auth to ldap with cyrus-sasl:

smtpd.conf:
> pwcheck_method: auxprop
> auxprop_plugin: ldapdb
> mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM
> ldapdb_uri: ldap://openldap
> ldapdb_id: postfix
> ldapdb_pw: test
> ldapdb_mech: DIGEST-MD5

and found that there is no **libldapdb.so** in [libldap](https://pkgs.alpinelinux.org/contents?branch=v3.8&name=libsasl&arch=x86_64&repo=main) package; no package [cyros-sasl-ldapdb](https://pkgs.alpinelinux.org/packages?name=cyrus-sasl*&branch=v3.8&arch=x86_64) package available; and also found this https://git.alpinelinux.org/cgit/aports/tree/main/cyrus-sasl/APKBUILD - it does not look like cyrus-sasl was built with ldap support...

am i doing something wrong?
is there any known way to ldapdb cyrus-sasl module into alpine? (compile from source or maybe it is a part of any other package?)

--
also, what is a reason disabling anon module?

> ./configure \
> --build=$CBUILD \
> --host=$CHOST \
> --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var \
> **--disable-anon \**
> --enable-cram \
> --enable-digest \
> --enable-login \
> --enable-ntlm \
> --disable-otp \
> --enable-plain \
> --with-gss_impl=heimdal \
> --with-devrandom=/dev/urandom \
> --without-ldap \
> --with-saslauthd=/var/run/saslauthd \
> --mandir=/usr/share/man \

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.