You are not logged in.

#1 2015-04-21 23:07:04

unzero
Member
From: Colombia
Registered: 2015-04-21
Posts: 1
Website

vsfpd with openldap

Hi everyone.

In the last days I've been working on a ftp server that could do authentication via openldap server.

After some research I found this article, after installing and nss-pam-ldapd and testing it via

getent passwd

I'd configured the option pam_service_name=vsftpd in the vsftpd.conf. The following is the content of /etc/pam.d/vsftpd


#ldap configuration
auth     sufficient    pam_ldap.so
account     sufficient    pam_ldap.so
password     sufficient    pam_ldap.so

#local configuration
auth     sufficient    pam_unix.so
account     sufficient    pam_unix.so
password     sufficient   pam_unix.so

The question is the following, it is the best way to do this? it has any security risk?

Thanks for your responses

Offline

Board footer

Powered by FluxBB