Le mardi 14 septembre 2010 à 08:20 -0700, Stanislav Sinyagin a écrit : > ok, here we go: > > http://github.com/ssinyagin/jifty-plugin-authentication-ldap/commits/master > > > >
login hooks is a great idea ! I made some manual tests and it works fine :-) I will try to find the best way to merge ... I'm not really comfortable with github :-/ Thanks > > ----- Original Message ---- > > From: Jesse Vincent <je...@bestpractical.com> > > > That sounds great to me. > > > > "Stanislav Sinyagin" <ssinya...@yahoo.com> wrote: > > >1. Allow MS style binding: dn=usern...@domain.com > > >This simplifies the thing, as we don't need to know the whole AD > > >hierarchy > > >structure. > > >Works with most activedirectory servers. > > > > > >2. Allow hooks in Action::LDAPLogin. > > >I want to look up the user's group membership right at the spot when the > > >LDAP > > > > >session is created and authenticated. > > >Based on that lookup, I would update the user's fields, like > >"is_administrator". > > >Such things are much site-specific, so it doesn't make much sense to put > > >them > > > > >into the > > > > > >public plugin. Of course, I would give an example in the documentation. > > -- --------------------------------------------------------------- AGOSTINI Yves CRI - Université Paul Verlaine - Metz agost...@univ-metz.fr http://www.crium.univ-metz.fr tel: 03 87 31 52 63 fax: 03 87 31 53 33 PGP: 842CC261 _______________________________________________ jifty-devel mailing list jifty-devel@lists.jifty.org http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel