We have two separate sites, each having one host with ProFTPd and Apache authenticating users against /etc/passwd.This requires managing two separate password files and we would like to have a replicated backend.
I can see at least two options - MySQL database and LDAP directory.Both can be replicated and used as authentication backend for either ProFTPd or Apache.
What are the pros and cons of each solution?