docker-alpine
docker-alpine copied to clipboard
Use ldap authentication in vsftpd
When I use ldap authentication in vsftpd, I found nss-pam-ldapd and linux-pam installation package, no pam_ldap.conf file configuration, and pam authentication can not be used, I have been tested on debian docker, please tell me how to do, thank you very much .
Can you give some more debug information so we can reproduce (Dockerfile, installed packages, etc.)?
FROM alpine
RUN set -ex \
&& apk add --no-cache vsftpd nss-pam-ldapd linux-pam
tree /etc/pam.d/
/etc/pam.d/
├── base-account
├── base-auth
├── base-password
├── base-session
├── base-session-noninteractive
├── other
└── su
FROM debian
RUN set -ex \
&& apt-get update \
&& apt-get install -y libnss-ldapd vsftpd
tree /etc/pam.d/
/etc/pam.d/
|-- chfn
|-- chpasswd
|-- chsh
|-- common-account
|-- common-auth
|-- common-password
|-- common-session
|-- common-session-noninteractive
|-- cron
|-- login
|-- newusers
|-- other
|-- passwd
|-- runuser
|-- runuser-l
|-- su
|-- su-l
`-- vsftpd
no pam_ldap.conf file configuration in alpine, and pam authentication can not be used