My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

#############################################
# #
# Sample Pure-FTPd LDAP configuration file. #
# See README.LDAP for explanations. #
# #
#############################################


# Optional : name of the LDAP server. Default : localhost

#LDAPServer ldap.c9x.org
LDAPServer localhost

# Optional : server port. Default : 389

LDAPPort 389


# Mandatory : the base DN to search accounts from. No default.

#LDAPBaseDN cn=Users,dc=c9x,dc=org
LDAPBaseDN o=domains,dc=example,dc=com

# Optional : who we should bind the server as.
# Default : binds anonymously

#LDAPBindDN cn=Manager,dc=c9x,dc=org
LDAPBindDN cn=vmail,dc=example,dc=com

# Password if we don't bind anonymously
# This configuration file should be only readable by root

#LDAPBindPW r00tPaSsw0rD
LDAPBindPW xjlE6sfKWy6CNmVXIfa4iwkmun0MTJ

# Optional : default UID, when there's no entry in an user object

# LDAPDefaultUID 500
LDAPDefaultUID 1000

# Optional : default GID, when there's no entry in an user object

# LDAPDefaultGID 100
LDAPDefaultGID 1000

# Filter to use to find the object that contains user info
# \L is replaced by the login the user is trying to log in as
# The default filter is (&(objectClass=posixAccount)(uid=\L))

# LDAPFilter (&(objectClass=posixAccount)(uid=\L))
LDAPFilter (&(objectClass=PureFTPdUser)(mail=\L)(FTPStatus=enabled))

# Attribute to get the home directory
# Default is homeDirectory (the standard attribute from posixAccount)

# LDAPHomeDir homeDirectory
LDAPHomeDir FTPHomeDir

# LDAP protocol version to use
# Version 3 (default) is mandatory with recent releases of OpenLDAP.

# LDAPVersion 3
LDAPVersion 3

Change log

6bed08b1a3fb by Shake Chen on Nov 11, 2009   Diff
pure-ftp sample file
Go to: 

Older revisions

All revisions of this file

File info

Size: 1729 bytes, 64 lines
Powered by Google Project Hosting