Files
gitlabhq/lib/gitlab
Oleg GirkoandMarvin Frick edaaac2f55 Make SSH keys synchronisation with LDAP not delete keys added by users.
This is done by using a separate LDAPKey model (inherited from Key)
for storing SSH keys which came from LDAP.
These keys can be viewed from user profile, but they can not be deleted.

Signed-off-by: Oleg Girko <oleg.girko@jollamobile.com> (+2 squashed commits)
Squashed commits:
[52b3816] Made SSH key synchronisation with LDAP configurable.

Now it can be turned on or off using configuration option
sync_ssh_keys in ldap section.
The default is off to preserve compatibility with old behaviour.

Signed-off-by: Oleg Girko <oleg.girko@jollamobile.com>
[02f988d] Synchronise LDAP users SSH keys from LDAP automatically.

SSH public keys are synchronised from sshPublicKey LDAP attribute
upon login attempt and during regular LDAP security checks.
New keys are added, old keys not present in LDAP are deleted.

Signed-off-by: Oleg Girko <oleg.girko@jollamobile.com> (+1 squashed commit)
Squashed commits:
[f087fbc] Make Gitlab::LDAP::Person.entry method public.

This is needed to allow access control methods to access
arbitrary LDAP attributes.

Signed-off-by: Oleg Girko <oleg.girko@jollamobile.com>
2014-07-08 12:31:11 +02:00
..
2014-03-21 23:05:28 +02:00
2013-08-27 21:39:34 +03:00
2012-09-11 23:24:53 +03:00
2014-01-19 23:39:56 +04:00
2014-01-24 20:06:44 -06:00
2014-04-15 19:02:02 +04:00
2012-09-11 23:24:53 +03:00
2014-01-19 23:39:56 +04:00
2013-09-04 18:15:42 +03:00
2014-03-03 08:40:29 +01:00
2014-06-10 17:51:49 +03:00
2013-06-06 10:10:51 +09:00