/proftpd/sql.conf

http://github.com/brinkman83/bashrc · Config · 33 lines · 32 code · 1 blank · 0 comment · 0 complexity · b852b3a2aabdf94d5d7a2da1f696b959 MD5 · raw file

  1. #
  2. # Proftpd sample configuration for SQL-based authentication.
  3. #
  4. # (This is not to be used if you prefer a PAM-based SQL authentication)
  5. #
  6. <IfModule mod_sql.c>
  7. #
  8. # Choose a SQL backend among MySQL or PostgreSQL.
  9. # Both modules are loaded in default configuration, so you have to specify the backend
  10. # or comment out the unused module in /etc/proftpd/modules.conf.
  11. # Use 'mysql' or 'postgres' as possible values.
  12. #
  13. #SQLBackend mysql
  14. #
  15. #SQLEngine on
  16. #SQLAuthenticate on
  17. #
  18. # Use both a crypted or plaintext password
  19. #SQLAuthTypes Crypt Plaintext
  20. #
  21. # Use a backend-crypted or a crypted password
  22. #SQLAuthTypes Backend Crypt
  23. #
  24. # Connection
  25. #SQLConnectInfo proftpd@sql.example.com proftpd_user proftpd_password
  26. #
  27. # Describes both users/groups tables
  28. #
  29. #SQLUserInfo users userid passwd uid gid homedir shell
  30. #SQLGroupInfo groups groupname gid members
  31. #
  32. </IfModule>