[Pkg-nagios-changes] [pkg-lconf] 08/09: Update README.Debian with better instructions

Markus Frosch lazyfrosch-guest at moszumanska.debian.org
Tue Aug 5 16:50:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

lazyfrosch-guest pushed a commit to branch master
in repository pkg-lconf.

commit 10e59c90031a86ed9ce688e06b9057adcae89422
Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Tue Aug 5 18:48:08 2014 +0200

    Update README.Debian with better instructions
---
 debian/README.Debian | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 1411549..17d6c47 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -18,8 +18,12 @@ Quick guide with slapd:
     > /tmp/netways.schema.ldif
  # ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/netways.schema.ldif
 
- # ldapadd -D cn=Manager,dc=your,dc=domain,dc=com -w yourpassword -x \
-    -H ldap://localhost -f /usr/share/doc/lconf/ldap/base.ldif
+ change your domain in the base.ldif
+ # sed 's#dc=netways,dc=org#dc=your,dc=domain,dc=com#g' \
+    /usr/share/doc/lconf/ldap/base.ldif >/tmp/base.ldif
+
+ # ldapadd -D cn=admin,dc=your,dc=domain,dc=com -w yourpassword -x \
+    -H ldap://localhost -f /tmp/base.ldif
 
 Please also see the documention on:
  https://www.netways.org/projects/lconf/wiki
@@ -29,7 +33,8 @@ Please also see the documention on:
 The export itself should be run under user "nagios", to avoid security issues.
 
 Example:
- # sudo -u nagios mkdir /etc/icinga/objects/lconf
+ $ sudo mkdir /etc/icinga/objects/lconf
+ $ sudo chown nagios.nagios /etc/icinga/objects/lconf
  $ sudo -u nagios lconf-export -o /etc/icinga/objects/lconf
 
 Permissions for /etc/lconf/config.pm and /var/cache/lconf/tmp are set to
@@ -51,4 +56,4 @@ replace: olcSizeLimit
 olcSizeLimit: unlimited
 END
 
- -- Markus Frosch <markus at lazyfrosch.de>  Wed, 23 Jul 2014 14:59:11 +0200
+ -- Markus Frosch <markus at lazyfrosch.de>  Tue, 05 Aug 2014 18:46:39 +0200

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-lconf.git



More information about the Pkg-nagios-changes mailing list