[Mageia-sysadm] [1716] enable key from ldap on svn

Michael Scherer misc at zarb.org
Thu Jun 9 00:35:03 CEST 2011


Le mercredi 08 juin 2011 à 15:26 +0200, root at mageia.org a écrit :
> Revision: 1716
> Author:   misc
> Date:     2011-06-08 15:26:06 +0200 (Wed, 08 Jun 2011)
> Log Message:
> -----------
> enable key from ldap on svn

Hi,

I just enabled the script to extract ssh keys from ldap. So if you
create a account, key should be added to ldap.

In identity, just go on the account you want to change :
https://identity.mageia.org/admin/account -> seeks the account 
for example : 
https://identity.mageia.org/admin/account_modify/misc

select "sshPublicKey" for the "add attribute" form, with value
corresponding to the _whole_ line of the key ( ie ssh-rsa thekey
the-comment ), and it "add" 

Then a script running every 10 minutes will take care of the rest.
( can be run by hand too : /usr/local/bin/ldap-sshkey2file.py ).

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list