Annotation of elwix/config/etc/default/pureftpd-ldap.conf.sample, revision 1.1.1.1
1.1 misho 1:
2: #############################################
3: # #
4: # Sample Pure-FTPd LDAP configuration file. #
5: # See README.LDAP for explanations. #
6: # #
7: #############################################
8:
9:
10: # Optional : name of the LDAP server. Default : localhost
11:
12: LDAPServer ldap.example.com
13:
14:
15: # Optional : server port. Default : 389
16:
17: LDAPPort 389
18:
19:
20: # Mandatory : the base DN to search accounts from. No default.
21:
22: LDAPBaseDN cn=Users,dc=c9x,dc=org
23:
24:
25: # Optional : who we should bind the server as.
26: # Default : binds anonymously or binds as FTP users
27:
28: LDAPBindDN cn=Manager,dc=c9x,dc=org
29:
30:
31: # Password if we don't bind anonymously
32: # This configuration file should be only readable by root
33:
34: LDAPBindPW r00tPaSsw0rD
35:
36:
37: # Optional : default UID, when there's no entry in a user object
38:
39: # LDAPDefaultUID 500
40:
41:
42: # Optional : default GID, when there's no entry in a user object
43:
44: # LDAPDefaultGID 100
45:
46:
47: # Filter to use to find the object that contains user info
48: # \L is replaced by the login the user is trying to log in as
49: # The default filter is (&(objectClass=posixAccount)(uid=\L))
50:
51: # LDAPFilter (&(objectClass=posixAccount)(uid=\L))
52:
53:
54: # Attribute to get the home directory
55: # Default is homeDirectory (the standard attribute from posixAccount)
56:
57: # LDAPHomeDir homeDirectory
58:
59:
60: # LDAP protocol version to use
61: # Version 3 (default) is mandatory with recent releases of OpenLDAP.
62:
63: # LDAPVersion 3
64:
65:
66: # Optional: use TLS to connect to the LDAP server
67: # LDAPUseTLS True
68:
69:
70: # Can be PASSWORD or BIND.
71: # PASSWORD retrieves objects and checks against the userPassword attribute
72: # BIND tries to bind
73: LDAPAuthMethod PASSWORD
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>