diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-April/003389.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-April/003389.html | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-April/003389.html b/zarb-ml/mageia-sysadm/2011-April/003389.html new file mode 100644 index 000000000..8634a59ce --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-April/003389.html @@ -0,0 +1,98 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] Dynlist and change on ldap + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Dynlist%20and%20change%20on%20ldap&In-Reply-To=%3C1303416574.2307.172.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="003388.html"> + <LINK REL="Next" HREF="003392.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] Dynlist and change on ldap</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Dynlist%20and%20change%20on%20ldap&In-Reply-To=%3C1303416574.2307.172.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-sysadm] Dynlist and change on ldap">misc at zarb.org + </A><BR> + <I>Thu Apr 21 22:09:34 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003388.html">[Mageia-sysadm] Dynlist and change on ldap +</A></li> + <LI>Next message: <A HREF="003392.html">[Mageia-sysadm] Dynlist and change on ldap +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3389">[ date ]</a> + <a href="thread.html#3389">[ thread ]</a> + <a href="subject.html#3389">[ subject ]</a> + <a href="author.html#3389">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le jeudi 21 avril 2011 à 22:04 +0200, Michael Scherer a écrit : + +><i> To use it, just add a group like this : +</I>><i> +</I>><i> cn=mga-test_dyn,ou=Group,dc=mageia,dc=org +</I>><i> cn: mga-test_dyn +</I>><i> objectClass: posixGroup +</I>><i> objectClass: groupOfURLs +</I>><i> gidNumber: 5013 +</I>><i> memberURL: +</I>><i> <A HREF="ldap:///ou=People,dc=mageia,dc=org?dn?sub?(&(objectClass=posixAccount">ldap:///ou=People,dc=mageia,dc=org?dn?sub?(&(objectClass=posixAccount</A>)(memberOf=cn=mga-council,ou=Group,dc=mageia,dc=org)) +</I>><i> memberURL: +</I>><i> <A HREF="ldap:///ou=People,dc=mageia,dc=org?dn?sub?(&(objectClass=posixAccount">ldap:///ou=People,dc=mageia,dc=org?dn?sub?(&(objectClass=posixAccount</A>)(memberOf=cn=mga-sysadmin,ou=Group,dc=mageia,dc=org)) +</I>><i> +</I>><i> This one will create a group with sysadmin and council member. +</I>><i> +</I>><i> # getent group mga-test_dyn +</I>><i> mga-test_dyn:*:5013:misc,rda,boklm,tmb,ennael,dams,buchan,dmorgan,nanardon,colin,blino,pterjan +</I>><i> +</I>><i> ( ok here, it doesn't work fully, wobo and trishf42 are missing but +</I>><i> since ennael and rda are not in sysadmin group, this kinda work, I will +</I>><i> look at this more closely, maybe a index issue, or memberOf not being +</I>><i> refreshed ) +</I> +Ok as usual, I first say something stupid and then find the issue. + +Of course, for this example, we should not add +"(objectClass=posixAccount)" in the filter, as neither wobo or trishf42 +have a posixAccount :) + +-- +Michael Scherer + +</PRE> + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003388.html">[Mageia-sysadm] Dynlist and change on ldap +</A></li> + <LI>Next message: <A HREF="003392.html">[Mageia-sysadm] Dynlist and change on ldap +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3389">[ date ]</a> + <a href="thread.html#3389">[ thread ]</a> + <a href="subject.html#3389">[ subject ]</a> + <a href="author.html#3389">[ 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> |