diff options
-rw-r--r-- | overlay/net-nds/ldap-auth/ldap-auth-0.1.ebuild | 8 |
1 files 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 |