summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-December/001017.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-December/001017.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-December/001017.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-December/001017.html b/zarb-ml/mageia-sysadm/2010-December/001017.html
new file mode 100644
index 000000000..0002db4ba
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-December/001017.html
@@ -0,0 +1,102 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [164] add a configurable blacklist of login, to complete previous commit
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B164%5D%20add%20a%20configurable%20blacklist%20of%20login%2C%0A%09to%20complete%20previous%20commit&In-Reply-To=%3C20101206022140.66B7C3FDB8%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001016.html">
+ <LINK REL="Next" HREF="001018.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [164] add a configurable blacklist of login, to complete previous commit</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B164%5D%20add%20a%20configurable%20blacklist%20of%20login%2C%0A%09to%20complete%20previous%20commit&In-Reply-To=%3C20101206022140.66B7C3FDB8%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [164] add a configurable blacklist of login, to complete previous commit">root at mageia.org
+ </A><BR>
+ <I>Mon Dec 6 03:21:40 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001016.html">[Mageia-sysadm] [163] - do not let users take a username that is used by the system ( will be
+</A></li>
+ <LI>Next message: <A HREF="001018.html">[Mageia-sysadm] [505] rpm-build is required for repsys to rebuild src rpm on submit
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1017">[ date ]</a>
+ <a href="thread.html#1017">[ thread ]</a>
+ <a href="subject.html#1017">[ subject ]</a>
+ <a href="author.html#1017">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 164
+Author: misc
+Date: 2010-12-06 03:21:40 +0100 (Mon, 06 Dec 2010)
+Log Message:
+-----------
+add a configurable blacklist of login, to complete previous commit
+
+Modified Paths:
+--------------
+ identity/CatDap/trunk/catdap.yml
+ identity/CatDap/trunk/lib/CatDap/Controller/register.pm
+
+Modified: identity/CatDap/trunk/catdap.yml
+===================================================================
+--- identity/CatDap/trunk/catdap.yml 2010-12-06 01:15:53 UTC (rev 163)
++++ identity/CatDap/trunk/catdap.yml 2010-12-06 02:21:40 UTC (rev 164)
+@@ -28,6 +28,10 @@
+ host: ldap.mageia.org
+ start_tls: 1
+
++register:
++ login_blacklist:
++ - apache
++
+ authentication:
+ default_realm: ldap
+ realms:
+
+Modified: identity/CatDap/trunk/lib/CatDap/Controller/register.pm
+===================================================================
+--- identity/CatDap/trunk/lib/CatDap/Controller/register.pm 2010-12-06 01:15:53 UTC (rev 163)
++++ identity/CatDap/trunk/lib/CatDap/Controller/register.pm 2010-12-06 02:21:40 UTC (rev 164)
+@@ -61,6 +61,10 @@
+ close($etcpasswd);
+ }
+
++ if ( grep /^$username$/, @{${$c-&gt;config}{'register'}{'login_blacklist'}}) {
++ push @errors, $c-&gt;loc('Username is not authorized to be used');
++ }
++
+ if ($c-&gt;request-&gt;params-&gt;{gn} !~ /^\p{IsAlnum}+$/) {
+ push @errors, $c-&gt;loc(
+ 'The first name supplied contains illegal characters'
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101206/f5efab81/attachment-0001.html&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001016.html">[Mageia-sysadm] [163] - do not let users take a username that is used by the system ( will be
+</A></li>
+ <LI>Next message: <A HREF="001018.html">[Mageia-sysadm] [505] rpm-build is required for repsys to rebuild src rpm on submit
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1017">[ date ]</a>
+ <a href="thread.html#1017">[ thread ]</a>
+ <a href="subject.html#1017">[ subject ]</a>
+ <a href="author.html#1017">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>