Group :: System/Libraries
RPM: courier-authlib
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: courier-authlib-0.59.1-alt-config.patch
Download
Download
diff -ruN courier-authlib-0.59.1.orig/authdaemonrc.in courier-authlib-0.59.1/authdaemonrc.in
--- courier-authlib-0.59.1.orig/authdaemonrc.in 2005-10-05 11:07:32 +1100
+++ courier-authlib-0.59.1/authdaemonrc.in 2007-01-28 00:56:43 +1000
@@ -85,12 +85,16 @@
DEFAULTOPTIONS=""
+# uid/gid for courier-authdaemon
+COURIER_UID="courier"
+COURIER_GID="courier"
+
##NAME: LOGGEROPTS:0
#
# courierlogger(1) options, e.g. to set syslog facility
#
-LOGGEROPTS=""
+LOGGEROPTS="-facility=authpriv"
##NAME: LDAP_TLS_OPTIONS:0
#
diff -ruN courier-authlib-0.59.1.orig/authldaprc courier-authlib-0.59.1/authldaprc
--- courier-authlib-0.59.1.orig/authldaprc 2005-10-05 11:07:32 +1100
+++ courier-authlib-0.59.1/authldaprc 2007-01-28 00:56:43 +1000
@@ -40,14 +40,14 @@
#
# Look for authentication here:
-LDAP_BASEDN o=example, c=com
+LDAP_BASEDN o=example,c=com
##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_BINDDN cn=administrator,o=example,c=com
LDAP_BINDPW toto
##NAME: LDAP_TIMEOUT:0
@@ -65,7 +65,7 @@
# 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 0
##NAME: LDAP_MAIL:0
#