Hi Stefan,

Thanks for your feedback! (And sorry for not stating the obvious earlier :)

On Monday 07 April 2008 12:39, you wrote:
> What variables in /etc/courier/authdaemonrc do you need to change?

I've attached the cfengine file we use to modify the configuration. IMHO 
cfengine syntax is straightforward to read and understand, if you do have any 
question, please dont hesitate to ask, I'll happily explain every line if you 
want me to :-)

(As I am the one wanting something from you. But I'm quite sure you can easily 
figure it. But then, I do know cfengine since 7 years, so I might be 
biased ;)


regards,
        Holger
links:

  debian.server.installation::

    /etc/courier/authldaprc ->! /etc/courier/authldaprc-debian-edu

editfiles:

  debian.server.installation::

    { /etc/courier/authdaemonrc

    LocateLineMatching 'authmodulelist="authpam"'
    BeginGroupIfNoSuchLine 'authmodulelist="authldap"'
      HashCommentLinesStarting "authmodulelist"
      InsertLine 'authmodulelist="authldap"'
    EndGroup
    }

# This file is provied as a replacement we symlink to.  No need to edit it
#   { /etc/courier/authldaprc
#
#   BeginGroupIfNoSuchLine 'LDAP_SERVER          ldap'
#     HashCommentLinesStarting 'LDAP_SERVER'
#     InsertLine 'LDAP_SERVER            ldap'
#   EndGroup
#   LocateLineMatching 'LDAP_TLS.*0'
#   BeginGroupIfNoSuchLine 'LDAP_TLS          1'
#     HashCommentLinesStarting 'LDAP_TLS'
#     InsertLine 'LDAP_TLS            1'
#   EndGroup
#   }

   # Do not start imap server, only imaps to prevent transferring of 
   # passwords/emails unencrypted
   { /etc/courier/imapd
          LocateLineMatching "IMAPDSTART=YES"
          ReplaceLineWith "IMAPDSTART=NO"
   }

Attachment: pgppnR70PWIwa.pgp
Description: PGP signature

Reply via email to