Difference between revisions of "Courier-Authlib"

From CBLFS
Jump to navigationJump to search
(Added courier user/group.)
(Configuring)
 
(10 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
|http://prdownloads.sourceforge.net/courier/courier-authlib-0.59.1.tar.bz2
+
|http://prdownloads.sourceforge.net/courier/courier-authlib-0.62.2.tar.bz2
 
|}
 
|}
  
Line 20: Line 20:
 
* [[Pcre]]
 
* [[Pcre]]
 
* [[OpenSSL]]
 
* [[OpenSSL]]
 +
* [[expect]]
 +
* [[Berkeley DB]] or [[GDBM]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 44: Line 46:
  
 
== Configuring ==
 
== Configuring ==
 +
<pre>
 +
cat > /etc/rc.d/init.d/authdaemond << "EOF"
 +
#!/bin/sh
 +
# Begin $rc_base/init.d/authdaemond
 +
 +
# Based on sysklogd script from LFS-3.1 and earlier.
 +
#$LastChangedBy: zippo
 +
#$Date: 2009-04-30 15:31:59
 +
 +
. /etc/sysconfig/rc
 +
. $rc_functions
 +
 +
case "$1" in
 +
  start)
 +
      boot_mesg "Starting AUTHDAEMOND Server..."
 +
      /usr/sbin/authdaemond start
 +
      evaluate_retval
 +
      ;;
 +
 +
  stop)
 +
      boot_mesg "Stopping AUTHDAEMONF Server..."
 +
      /usr/sbin/authdaemond stop
 +
      evaluate_retval
 +
      ;;
 +
 +
  reload)
 +
      boot_mesg "Reloading AUTHDAEMOND Server..."
 +
      /usr/sbin/authdaemond restart
 +
      evaluate_retval
 +
      ;;
 +
 +
  restart)
 +
      $0 stop
 +
      sleep 1
 +
      $0 start
 +
      ;;
 +
 +
  *)
 +
echo "Usage: $0 {start|stop|reload|restart}"
 +
      exit 1
 +
      ;;
 +
esac
 +
 +
# End $rc_base/init.d/authdaemond
 +
EOF
 +
chmod +x /etc/rc.d/init.d/authdaemond
 +
</pre>
 +
  
 
{|style="text-align: left"
 
{|style="text-align: left"
Line 51: Line 101:
 
|-valign="top"
 
|-valign="top"
 
!Installed Programs:
 
!Installed Programs:
|courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb,authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5
+
|courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb,
 +
authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5
 
|-valign="top"
 
|-valign="top"
 
!Installed Libraries:
 
!Installed Libraries:
|libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so,libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so,libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so,libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so,libauthpam.so,libcourierauthsasl.so
+
|libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so,
 +
libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so,
 +
libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so,
 +
libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so,
 +
libauthpam.so,libcourierauthsasl.so
 
|}
 
|}
 +
 +
[[Category:Servers]]

Latest revision as of 13:56, 9 November 2009

Download Source: http://prdownloads.sourceforge.net/courier/courier-authlib-0.62.2.tar.bz2

Introduction to Courier-Authlib

Courier's mail server authorization library.

Project Homepage: Unknown

Creating the courier User & Group

groupadd -g 35 courier &&
useradd -c "Courier Daemon User" -d /dev/null \
       -u 35 -g courier -s /bin/false courier

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr --libexecdir=/usr/sbin \
--sysconfdir=/etc/courier/authlib --with-mailuser=courier \
--with-mailgroup=courier
make

Install the package:

make install
make install-configure

Multilib

32Bit

N32

64Bit

Configuring

cat > /etc/rc.d/init.d/authdaemond << "EOF"
#!/bin/sh
# Begin $rc_base/init.d/authdaemond

# Based on sysklogd script from LFS-3.1 and earlier.
#$LastChangedBy: zippo
#$Date: 2009-04-30 15:31:59 

 . /etc/sysconfig/rc
 . $rc_functions

case "$1" in
   start)
       boot_mesg "Starting AUTHDAEMOND Server..."
       /usr/sbin/authdaemond start
       evaluate_retval
       ;;

   stop)
       boot_mesg "Stopping AUTHDAEMONF Server..."
       /usr/sbin/authdaemond stop
       evaluate_retval
       ;;

   reload)
       boot_mesg "Reloading AUTHDAEMOND Server..."
       /usr/sbin/authdaemond restart
       evaluate_retval
       ;;

   restart)
       $0 stop
       sleep 1
       $0 start
       ;;

   *)
echo "Usage: $0 {start|stop|reload|restart}"
       exit 1
       ;;
esac

# End $rc_base/init.d/authdaemond
EOF
chmod +x /etc/rc.d/init.d/authdaemond


Installed Directories: /etc/courier,/etc/courier/authlib,/usr/lib/courier-authlib,/usr/sbin/courier-authlib
Installed Programs: courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb,

authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5

Installed Libraries: libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so,

libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so, libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so, libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so, libauthpam.so,libcourierauthsasl.so