Okay thanks for that. I have written an LDAPAuthentication module that does do the mapping to group by LDAP field and we have been using it for some years.
When I saw the group feature and (misunderstood its workings) I thought great! Every time a new version of DSpace comes out I have to step through the new LDAP code and merge my code into the new changes in the LDAPAuthenictation module which is time consuming and never works the first time. I have in the past sent the code to the DSpace development group but I understand there is a lot going on and it was forgotten. If anyone in the development team is interested I would be glad to supply the code again and hopefully they would include it in future releases and save me this regular task. On Fri, 2013-07-26 at 09:59 +0200, helix84 wrote: > On Thu, Jul 25, 2013 at 11:47 PM, Keir Vaughan-Taylor <[email protected]> > wrote: > > USYDPERSONENTITLEMENT: staff > > Hi Keir, > > the groupmap option doesn't work with attributes. It only tries to > match components of the full DN. So you could match e.g. ou=people or > dc=ucc: > login.groupmap.1 = dc=ucc:dspace-group-for-ucc > > I agree that an option to assign group based on attributes would be > nice, it just doesn't currently work that way. The modification to > LDAPAuthentication.java wouldn't be hard, if you want to try. > > I have yet to look the null problem. > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

