about summary refs log tree commit diff
path: root/doc/sample-ngircd.conf.tmpl
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-01-01 17:12:36 +0100
committerAlexander Barton <alex@barton.de>2012-01-01 17:12:36 +0100
commit56b7e67307c1be110eaa4e84681bca03df21bd69 (patch)
treebffeb569b68a53b4f632cb84c050d1eceed78f41 /doc/sample-ngircd.conf.tmpl
parentb681aa5b9f985247df31772282e520479ffb2ece (diff)
downloadngircd-56b7e67307c1be110eaa4e84681bca03df21bd69.tar.gz
ngircd-56b7e67307c1be110eaa4e84681bca03df21bd69.zip
New configuration option "PAMIsOptional"
When "PAMIsOptional" is set, clients not sending a password are still
allowed to connect: they won't become "identified" and keep the "~"
character prepended to their supplied user name.
Diffstat (limited to 'doc/sample-ngircd.conf.tmpl')
-rw-r--r--doc/sample-ngircd.conf.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl
index 26103a75..f696dc6d 100644
--- a/doc/sample-ngircd.conf.tmpl
+++ b/doc/sample-ngircd.conf.tmpl
@@ -140,6 +140,8 @@
 	;DNS = yes
 
 	# Do IDENT lookups if ngIRCd has been compiled with support for it.
+	# Users identified using IDENT are registered without the "~" character
+	# prepended to their user name.
 	;Ident = yes
 
 	# Enhance user privacy slightly (useful for IRC server on TOR or I2P)
@@ -160,8 +162,23 @@
 	;OperServerMode = no
 
 	# Use PAM if ngIRCd has been compiled with support for it.
+	# Users identified using PAM are registered without the "~" character
+	# prepended to their user name.
 	;PAM = yes
 
+	# When PAM is enabled, all clients are required to be authenticated
+	# using PAM; connecting to the server without successful PAM
+	# authentication isn't possible.
+	# If this option is set, clients not sending a password are still
+	# allowed to connect: they won't become "identified" and keep the "~"
+	# character prepended to their supplied user name.
+	# Please note: To make some use of this behavior, it most probably
+	# isn't useful to enable "Ident", "PAM" and "PAMIsOptional" at the
+	# same time, because you wouldn't be able to distinguish between
+	# Ident'ified and PAM-authenticated users: both don't have a "~"
+	# character prepended to their respective user names!
+	;PAMIsOptional = no
+
 	# Allow Pre-Defined Channels only (see Section [Channels])
 	;PredefChannelsOnly = no