diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2010-December/001223.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-December/001223.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-December/001223.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-December/001223.html b/zarb-ml/mageia-sysadm/2010-December/001223.html new file mode 100644 index 000000000..cf8e4ebb2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-December/001223.html @@ -0,0 +1,113 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [618] - add ldap authentication to transifex, so far for sysadmin only ( for + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B618%5D%20-%20add%20ldap%20authentication%20to%20transifex%2C%0A%20so%20far%20for%20sysadmin%20only%20%28%20%20for&In-Reply-To=%3C1292382608.22689.32.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="001220.html"> + <LINK REL="Next" HREF="001216.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [618] - add ldap authentication to transifex, so far for sysadmin only ( for</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B618%5D%20-%20add%20ldap%20authentication%20to%20transifex%2C%0A%20so%20far%20for%20sysadmin%20only%20%28%20%20for&In-Reply-To=%3C1292382608.22689.32.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-sysadm] [618] - add ldap authentication to transifex, so far for sysadmin only ( for">misc at zarb.org + </A><BR> + <I>Wed Dec 15 04:10:08 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="001220.html">[Mageia-sysadm] [618] - add ldap authentication to transifex, so far for sysadmin only ( for +</A></li> + <LI>Next message: <A HREF="001216.html">[Mageia-sysadm] [619] - set default value of define to false ( so we are not forced to give +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1223">[ date ]</a> + <a href="thread.html#1223">[ thread ]</a> + <a href="subject.html#1223">[ subject ]</a> + <a href="author.html#1223">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le mercredi 15 décembre 2010 à 03:01 +0100, Michael Scherer a écrit : +><i> Le mercredi 15 décembre 2010 à 02:39 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> a écrit : +</I>><i> > Revision: 618 +</I>><i> > Author: misc +</I>><i> > Date: 2010-12-15 02:39:35 +0100 (Wed, 15 Dec 2010) +</I>><i> > Log Message: +</I>><i> > ----------- +</I>><i> > - add ldap authentication to transifex, so far for sysadmin only ( for +</I>><i> > testing purposes ) +</I>><i> +</I>><i> As asked by dmorgan, ldap support was added to transifex ( and while on +</I>><i> it, deployed using wsgi and apache ), so we can now find a transifex +</I>><i> instance on transifex.mageia.org. +</I>><i> +</I>><i> Member of mga-sysadmin are super users, so we should be able to create +</I>><i> projects and so on by using our ldap login. +</I>><i> +</I>><i> However, it is not ready yet : +</I>><i> +</I>><i> - no SSL ( so I do not recommend to test yet ) +</I>><i> - no organisation on i18n side, ie, who will be able to connect, how +</I>><i> will the team be organized ? +</I>><i> - no theme +</I>><i> - no usage of email for login +</I>><i> - no connexion with our svn +</I>><i> +</I>><i> Point 1 will likely be done in one hour. +</I> +Done ( and DNS too ). + +><i> Point 4 is also easy, just modify file 45-ldap.conf. Should be done +</I>><i> soon. +</I> +Ok so this part is not as easy as I would have liked : +1) we need to change this ( no real problem ): + +@@ -23,7 +23,7 @@ AUTH_LDAP_BIND_DN = "cn=alamut-sympa,ou=System +Accounts,<%= dc_suffix %>" + AUTH_LDAP_BIND_PASSWORD = "<%= ldap_password %>" + + AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=People,<%= dc_suffix %> ", +- ldap.SCOPE_SUBTREE, "(uid=%(user)s)") ++ ldap.SCOPE_SUBTREE, "(|(uid=%(user)s)(mail=%(user)s))") + + # Set up the basic group parameters. + AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=Group,<%= dc_suffix %>", + +2) we need to subclass the module to add this method, and use the +subclassed module : + + def ldap_to_django_username(self, username): + return _LDAPUser(self, username=username).attrs['uid'][0] + +Not hard to do, but not for today. + +-- +Michael Scherer + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001220.html">[Mageia-sysadm] [618] - add ldap authentication to transifex, so far for sysadmin only ( for +</A></li> + <LI>Next message: <A HREF="001216.html">[Mageia-sysadm] [619] - set default value of define to false ( so we are not forced to give +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1223">[ date ]</a> + <a href="thread.html#1223">[ thread ]</a> + <a href="subject.html#1223">[ subject ]</a> + <a href="author.html#1223">[ 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> |