From: Matthijs Kooijman Date: Tue, 5 May 2009 09:39:03 +0000 (+0200) Subject: Merge commit 'origin/template' into log X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=d5bf6579e5a2b8b429907c8ea0d35a52e1bb9883;hp=4086aa8757f0312102eace7ebc628d8435c48546;p=matthijs%2Fservers%2Fdrsnuggles.git Merge commit 'origin/template' into log * commit 'origin/template': nss: Add some comments. rsyslog: Move all rsyslog log files into a subdir. rsyslog: Update logrotate config to new rsyslog config. rsyslog: Add default logrotate config. rsyslog: Disable logging of kernel messages. rsyslog: Enable loggin of mark lines. rsyslog: Clean up rsyslog configuration. rsyslog: Add default configuration. * commits left out: rsyslog: Send all logs to the log vserver. --- diff --git a/etc/libnss-ldap.conf b/etc/libnss-ldap.conf index 7154a4d..32b8645 100644 --- a/etc/libnss-ldap.conf +++ b/etc/libnss-ldap.conf @@ -12,7 +12,10 @@ uri ldap://ldap.drsnuggles.stderr.nl # The LDAP version to use ldap_version 3 -# Use uniqueMember +# Use the uniqueMember property, referring to dn's instead of the memberUid +# property referring to usernames. This allows us to have group members with or +# without an account, and give a group member an account without having to +# change all his memberships. nss_schema rfc2307bis # Use our custom posixGroup replacement diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index 262d102..af42506 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -36,9 +36,9 @@ $DirCreateMode 0755 $IncludeConfig /etc/rsyslog.d/*.conf -############### -#### RULES #### -############### +####################### +#### Local logging #### +####################### # # Log each facility into its own log @@ -74,3 +74,9 @@ local0,local1,local2,\ # Emergencies are sent to everybody logged in. # *.emerg * + +######################## +#### Remote logging #### +######################## + +# No use to send ourselvers logs