Summary: | Please add my notebook's pubkey for me | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Sebastian Pipping <sping> |
Component: | Developer account issues | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Pipping
2010-11-20 23:37:48 UTC
To what? LDAP? You can add it yourself. (In reply to comment #1) > To what? LDAP? You can add it yourself. LDAP, yes. I would, but perl_ldap says that option "-M" is for "single-valued attributes only" (which sounds like not suited for my case), plus I'm afraid to lock myself out, plus I have a very hard time using perl_ldap in general. Could you help me out, at least with the command to run? (In reply to comment #2) > (In reply to comment #1) > > To what? LDAP? You can add it yourself. > > LDAP, yes. I would, but perl_ldap says that option "-M" is for "single-valued > attributes only" (which sounds like not suited for my case), plus I'm afraid to > lock myself out, plus I have a very hard time using perl_ldap in general. > > Could you help me out, at least with the command to run? > Sure :) You must create a new attribute. Overwriting (-M) is not possible. http://www.gentoo.org/proj/en/infrastructure/ldap.xml (substitute 'pubkey' with the path to your public SSH key. ex: "~/.ssh/id_dsa.pub". You should have one sshPublicKey attribute per key! No newlines! Only replace <username>, not "user") # perl_ldap -b user -C sshPublicKey "$(cat pubkey)" <username> Worked, thank you! Closing. |