pureftpd-ldap.conf 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #############################################
  2. # #
  3. # Sample Pure-FTPd LDAP configuration file. #
  4. # See README.LDAP for explanations. #
  5. # #
  6. #############################################
  7. # Optional: scheme to connect with to LDAP server. Default: ldap
  8. # Other possible values: ldaps, ldapi, etc.
  9. # Remember to set LDAPPort accordingly.
  10. LDAPScheme ldap
  11. # Optional: name of the LDAP server. Default: localhost
  12. LDAPServer ldap.example.com
  13. # Optional: server port. Default: 389
  14. LDAPPort 389
  15. # Mandatory: the base DN to search accounts from. No default.
  16. LDAPBaseDN cn=Users,dc=c9x,dc=org
  17. # Optional: who we should bind the server as.
  18. # Default: binds anonymously or binds as 'ftp' user
  19. LDAPBindDN cn=Manager,dc=c9x,dc=org
  20. # Password if we don't bind anonymously
  21. # This configuration file should be only readable by root
  22. LDAPBindPW r00tPaSsw0rD
  23. # Optional: default UID, when there's no entry in a user object
  24. # LDAPDefaultUID 500
  25. # Optional: default GID, when there's no entry in a user object
  26. # LDAPDefaultGID 100
  27. # Filter to use to find the object that contains user info
  28. # \L is replaced by the login the user is trying to log in as
  29. # The default filter is (&(objectClass=posixAccount)(uid=\L))
  30. # LDAPFilter (&(objectClass=posixAccount)(uid=\L))
  31. # Attribute to get the home directory
  32. # Default is homeDirectory (the standard attribute from posixAccount)
  33. # LDAPHomeDir homeDirectory
  34. # LDAP protocol version to use
  35. # Version 3 (default) is mandatory with recent releases of OpenLDAP.
  36. # LDAPVersion 3
  37. # Optional: use TLS to connect to the LDAP server
  38. # Note: if ldaps scheme is used, this property has no effect
  39. # LDAPUseTLS True
  40. # Can be PASSWORD or BIND.
  41. # PASSWORD retrieves objects and checks against the userPassword attribute
  42. # BIND tries to bind
  43. LDAPAuthMethod PASSWORD
  44. # Optional: default home directory if there's LDAPHomeDir entry
  45. # LDAPDefaultHomeDirectory /var/shared