From 8f894a79ad9f16a12f4118f9154929eeea5f892a Mon Sep 17 00:00:00 2001 From: Eric Thibodeau Date: Thu, 14 Aug 2008 00:29:44 -0400 Subject: Reverted to using a sercer name and not a hardcoded 'rootserver' as LDAP server --- overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild b/overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild index 7a615d0..9af56f1 100644 --- a/overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild +++ b/overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild @@ -158,6 +158,8 @@ make_slapd_conf() by dn="uid=$ADMIN_DN,$USR_DN" write by * read + # let's disable debugging and not flood the log files: + loglevel 0 EOF } @@ -168,16 +170,16 @@ make_lapd_confs() cat > ${ROOT}/etc/openldap/ldap.conf <<-EOF # Autogenerated by $0 base $BASE_DN - uri ldap://rootserver:389/ + uri ldap://${LDAP_SERVER}:389/ rootbinddn $ROOTDN EOF # etc/ldap.conf file: [[ -f ${ROOT}/etc/ldap.conf ]] && cp ${ROOT}/etc/ldap.conf ${ROOT}/etc/ldap.conf.orig cat > ${ROOT}/etc/ldap.conf <<-EOF - host rootserver + host ${LDAP_SERVER} base $BASE_DN - uri ldap://rootserver:389/ + uri ldap://${LDAP_SERVER}:389/ # The distinguished name to bind to the server with # if the effective user ID is root. Password is -- cgit v1.2.3-65-gdbad