On Wed, Jul 31, 2013 at 2:48 PM, Clive Gould <[email protected]> wrote: > We used to use custom code to differentiate between staff and student login > and assign them to appropriate dynamic special groups
Hi Clive, where does your custom code take the group information from? Full DN or attributes? > I have tried using the new DSpace 3.0 login.groupmap directive within > authentication-ldap.cfg The source of information for this mapping is the LDAP DN. > Users are successfully authenticated against AD but apparently not being > assigned to the special groups Send an example of your login.groupmap.*. In my opinion, the most likely problem might be misunderstanding the left-hand side of the mapping, e.g.: login.groupmap.1 = ou=Students:ALL_STUDENTS Notice "ou=Students". So if I log in as "cn=helix84,ou=Students,dc=example,dc=com", this will put me to the DSpace ALL_STUDENTS group. If your LDAP contains group information not in the DN, but in attributes, DSpace 3 doesn't currently support that. But we're currently discussing that functionality here: http://dspace.2283337.n4.nabble.com/DSpace-LDAP-authentication-problem-td4665853.html Second likely problem is that you haven't created the ALL_STUDENTS group in DSpace. This is not created automatically, only the user is assigned to that group dynamically upon login! > Is there a table in the database that allows the membership of the > dynamically allocated special groups to be viewed? > > Once I find out the solution I'll log the entire upgrade process on my blog > at http://dspacebromley.blogspot.co.uk/ There is no such table. Your page already contains the explanation: "This means that users are not added to it as such, but are transient members of it during the period that they are logged in. Therefore you will not see anyone listed in that group, however such users should inherit the permissions of belonging to that group." Stuart Lewis The only easy way to check is to log in as the user and check currently active groups on user's profile page. Please check those two problems and report back. Let us know if something is still unclear. Hope this helps. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&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

