Bug 455350
| Summary: | [FEAT] OpenSSH to support centralized management of SSH keys | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Riek <riek> |
| Component: | openssh | Assignee: | Jan F. Chadima <jchadima> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 | CC: | barrowkwan, borgan, ddumas, herrold, jrieden, k.georgiou, liko, mkhusid, mvadkert, reed, sgrubb, snagar, soumplis, syeghiay, tao |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openssh-5.3p1-47.el6 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:30:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 215741, 655920 | ||
|
Description
Daniel Riek
2008-07-14 22:58:19 UTC
The patch has moved to http://code.google.com/p/openssh-lpk/ *** Bug 529062 has been marked as a duplicate of this bug. *** The more correct patch to sshd is posted to mindrot bugzilla as #1663 Deferring to 6.1 The patched version is successfuly tested and deployed in fedora. This is in Modified but I'm not seeing it in the openssh errata. You need to get the brew build updates and add it. This should have happened by the 6.1 code freeze, which was last Friday Feb 4. I was manually able to use this feature and it works. Testing was done only using ldap server without TLS. I'm currently creating a RHTS test that will automatize the testing and will also test the feature in more depth. The problem is the documentation because it is in many places misleading and it is scattered in 3 files: /usr/share/doc/openssh-ldap-5.5p1/lpk-user-example.txt /usr/share/doc/openssh-ldap-5.5p1/README.lpk /usr/share/doc/openssh-ldap-5.3p1/HOWTO.ldap-keys I recommend to have one file which will contain step to step up-to-date guide how to set up openssh for getting public keys from ldap server and some basic information maybe. Sections describing LPK should be wiped, for example this from lpk-user-example.txt: Add the following config to /etc/ssh/ssh_config UseLPK yes LpkServers ldap://myhost.mydomain.com LpkUserDN ou=People,dc=mydomain,dc=com The man page for ssh-ldap-helper is misleading as it says it can be used in sshd_config. This is not true, ssh-wrapper should be used instead in the latest version. The man page should mention that this tool is great for manual testing (not the oposite as it does now). ssh-ldap-helper run without parameters should return the help and not end without a message. The man page for ssh-ldap.conf was generated incorrectly and is missing new lines: http://pastebin.test.redhat.com/43497 Both man pages should be reviewed by some other senior developer and then also by the documentation team. Moving to assigned as the documentation for this nice feature needs improvements. Great the new package openssh-5.3p1-46.el5 now comes with a nice HOWTO in one file. The howto is understandable but needs to be reviewed by the documentation team to fix any gramatical issues. I'm contacting them to get this done. The man page for ssh-ldap-helper is corrected now. The ssh-ldap.conf is still broken (no newlines) and needs to be fixed so the bug stays in assigned. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0598.html I am trying to get this working with our Active Directory but has problem with the ldap_searching string. I am wondering if this can be made configurable in the /etc/ssh/ldap.conf In the openssh-5.3p1-ldap.patch file, if we can make this changeable in /etc/ssh/ldap.conf, that will be very helpful. right now I have to change this +#define LDAPSEARCH_FORMAT "(&(objectclass=posixAccount)(objectclass=ldapPublicKey)(uid=%s)%s)" to +#define LDAPSEARCH_FORMAT "(&(objectclass=user)(uid=%s)%s)" thanks |