--- authldaprc.orig	2005-04-27 13:35:33.000000000 +0300
+++ authldaprc	2005-04-27 14:25:01.004243600 +0300
@@ -27,7 +27,7 @@
 # Location of your LDAP server. If you have multiple LDAP servers,
 # you can list them separated by spaces, and they will be tried in turn.
 
-LDAP_SERVER		ldap.example.com
+LDAP_SERVER		localhost
 LDAP_PORT		389
 
 ##NAME: LDAP_PROTOCOL_VERSION:0
@@ -40,15 +40,15 @@
 #
 # Look for authentication here:
 
-LDAP_BASEDN		o=example, c=com
+LDAP_BASEDN		ou=pastas,dc=topolis,dc=inet
 
 ##NAME: LDAP_BINDDN:0
 #
 # You may or may not need to specify the following.  Because you've got
 # a password here, authldaprc should not be world-readable!!!
 
-LDAP_BINDDN		cn=administrator, o=example, c=com
-LDAP_BINDPW		toto
+LDAP_BINDDN		cn=qmail,dc=topolis,dc=inet
+LDAP_BINDPW		********
 
 ##NAME: LDAP_TIMEOUT:0
 #
@@ -65,13 +65,13 @@
 # Additionally, if LDAP_AUTHBIND is 1 then password changes are done under
 # the credentials of the user themselves, not LDAP_BINDDN/BINDPW
 #
-# LDAP_AUTHBIND		1
+LDAP_AUTHBIND		1
 
 ##NAME: LDAP_MAIL:0
 #
 # Here's the field on which we query
 
-LDAP_MAIL		mail
+LDAP_MAIL		uid
 
 ##NAME: LDAP_FILTER:0
 #
@@ -80,7 +80,7 @@
 # defined to be "(objectClass=CourierMailAccount)" the query that is performed
 # will be "(&(objectClass=CourierMailAccount)(mail=<someAccount>))"
 #
-# LDAP_FILTER           (objectClass=CourierMailAccount)
+LDAP_FILTER           (objectClass=qmailUser)
 
 ##NAME: LDAP_DOMAIN:0
 #
@@ -94,8 +94,8 @@
 # This is convenient if your LDAP specifies a bunch of virtual mail accounts
 # The values can be usernames or userids:
 #
-# LDAP_GLOB_UID		vmail
-# LDAP_GLOB_GID		vmail
+LDAP_GLOB_UID		vmail
+LDAP_GLOB_GID		vmail
 
 ##NAME: LDAP_HOMEDIR:0
 #
@@ -118,7 +118,7 @@
 # The MAILDIR attribute is OPTIONAL, and specifies the location of the
 # mail directory.  If not specified, ./Maildir will be used
 
-LDAP_MAILDIR		mailbox
+#LDAP_MAILDIR		mailbox
 
 ##NAME: LDAP_DEFAULTDELIVERY:0
 #
@@ -126,14 +126,14 @@
 # instructions for this account (if defined) -- essentially overrides
 # DEFAULTDELIVERY from ${sysconfdir}/courierd
 
-LDAP_DEFAULTDELIVERY	defaultDelivery
+#LDAP_DEFAULTDELIVERY	defaultDelivery
 
 ##NAME: LDAP_MAILDIRQUOTA:0
 #
 # The following variable, if defined, specifies the field containing the
 # maildir quota, see README.maildirquota for more information
 #
-# LDAP_MAILDIRQUOTA	quota
+LDAP_MAILDIRQUOTA	mailQuotaSize
 
 
 ##NAME: LDAP_FULLNAME:0
@@ -148,7 +148,7 @@
 # ONE OF THESE TWO ATTRIBUTES IS REQUIRED.  If CLEARPW is provided, and
 # libhmac.a is available, CRAM authentication will be possible!
 
-LDAP_CLEARPW		clearPassword
+#LDAP_CLEARPW		clearPassword
 LDAP_CRYPTPW		userPassword
 
 ##NAME: LDAP_IDS:0