Limits for LDAP import #792

Open
rrjanbiah opened this Issue Sep 9, 2016 · 1 comment

Projects

None yet

2 participants

@rrjanbiah
Contributor

By Klaus Vink Slott through forum https://groups.google.com/d/msg/restya/j24ykpSWJlg/CCLUTtXmAgAJ

We are currently running a small test installation on our campus. If it turns out well we might expand usage to larger parts of the University.

We have successfully connected to our LDAP and are able to login with username/password from LDAP. Profile -> settings -> Name and other data is not imported though.

I see there is a "Import users" button, and that really scares me: In our LDAP we currently have more that 125000 users (75000 active accounts) , and more that 3000 groups. I am no programmer but by looking at the code I guess that if I hit that button, Restyaboard will attempt to import and send mail to all users - and (if selected) create more that 3000 organizations. Even before my little test setup runs out of disk space, - sending mail invitations to lot of staff and students would be very unpopular.

So I would really like some way of limiting who is imported and which groups is imported.

My suggestions would be

  • to import/update the users profile data every time a user logs in.
  • only import users which is member of a group specified in the LDAP settings interface.
  • only import groups based on which groups the account specified to search the LDAP is a member of.
@lmarikannan
Contributor

Related to #512, #658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment