<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.CodeBlockChar
        {mso-style-name:"Code Block Char";
        mso-style-link:"Code Block";
        font-family:Consolas;}
p.CodeBlock, li.CodeBlock, div.CodeBlock
        {mso-style-name:"Code Block";
        mso-style-link:"Code Block Char";
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:39.7pt;
        mso-add-space:auto;
        text-indent:-11.35pt;
        border:none;
        padding:0cm;
        font-size:11.0pt;
        font-family:Consolas;}
p.CodeBlockCxSpFirst, li.CodeBlockCxSpFirst, div.CodeBlockCxSpFirst
        {mso-style-name:"Code BlockCxSpFirst";
        mso-style-link:"Code Block Char";
        mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:39.7pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        text-indent:-11.35pt;
        border:none;
        padding:0cm;
        font-size:11.0pt;
        font-family:Consolas;}
p.CodeBlockCxSpMiddle, li.CodeBlockCxSpMiddle, div.CodeBlockCxSpMiddle
        {mso-style-name:"Code BlockCxSpMiddle";
        mso-style-link:"Code Block Char";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:39.7pt;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        text-indent:-11.35pt;
        border:none;
        padding:0cm;
        font-size:11.0pt;
        font-family:Consolas;}
p.CodeBlockCxSpLast, li.CodeBlockCxSpLast, div.CodeBlockCxSpLast
        {mso-style-name:"Code BlockCxSpLast";
        mso-style-link:"Code Block Char";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:39.7pt;
        mso-add-space:auto;
        text-indent:-11.35pt;
        border:none;
        padding:0cm;
        font-size:11.0pt;
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi All, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We’re running a POC to integrate IPA and AIX using AIX KRB5LDAP compound module.
<o:p></o:p></p>
<p class="MsoNormal">All the moving parts seem to be working on their own, however logging in doesn’t work with SSH on AIX reporting Failed password for user <xxx><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We’re using ID views to overwrite the user shell and home dirs. (Since AIX will refuse a login with a nonexisting shell (like bash))<o:p></o:p></p>
<p class="MsoNormal">AIXs lsuser command is able to find all of the users it’s supposed to and su to IPA users works.<o:p></o:p></p>
<p class="MsoNormal">Also when a user tries to log in I can see a successful Kerberos conversation to our IPA server.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Tips for troubleshooting would be much appreciated, increasing SSH log level did not produce any meaningful logging.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">=============== Configuration Excerpt ================================================================<o:p></o:p></p>
<p class="MsoNormal">/etc/security/ldap/ldap.cfg:<o:p></o:p></p>
<p class="MsoNormal">ldapservers:ipaserver.example.org<o:p></o:p></p>
<p class="MsoNormal">binddn:uid=srvc-aixservice,cn=users,cn=accounts,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">bindpwd:{DESv2}<redacted><o:p></o:p></p>
<p class="MsoNormal">authtype:ldap_auth<o:p></o:p></p>
<p class="MsoNormal">useSSL:TLS<o:p></o:p></p>
<p class="MsoNormal">ldapsslkeyf:/etc/security/ldap/example.kdb<o:p></o:p></p>
<p class="MsoNormal">ldapsslkeypwd:{DESv2}4688216124E33174C03FBBB420 88FA8 932F219867AA7C2C552A12BEEC0CC67<o:p></o:p></p>
<p class="MsoNormal">useKRB5:yes<o:p></o:p></p>
<p class="MsoNormal">krbprincipal:host/aixlpar.example.org<o:p></o:p></p>
<p class="MsoNormal">krbkeypath:/etc/krb5/krb5.keytab<o:p></o:p></p>
<p class="MsoNormal">userattrmappath:/etc/security/ldap/2307user.map<o:p></o:p></p>
<p class="MsoNormal">groupattrmappath:/etc/security/ldap/2307group.map<o:p></o:p></p>
<p class="MsoNormal">userbasedn:cn=users,cn=aixtest,cn=views,cn=compat,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">groupbasedn:cn=groups,cn=aixtest,cn=views,cn=compat,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">netgroupbasedn:cn=ng,cn=compat,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">automountbasedn:cn=default,cn=automount,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">etherbasedn:cn=computers,cn=accounts,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">userclasses:posixaccount,account,shadowaccount<o:p></o:p></p>
<p class="MsoNormal">groupclasses:posixgroup<o:p></o:p></p>
<p class="MsoNormal"><span lang="NL">ldapport:389<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL">searchmode:ALL<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL">defaultentrylocation:LDAP<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/etc/security/user default:<o:p></o:p></p>
<p class="MsoNormal">SYSTEM = KRB5LDAP or compat<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/etc/methods.cfg<o:p></o:p></span></b></p>
<div style="mso-element:para-border-div;border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 4.0pt;margin-left:1.0cm;margin-right:0cm">
<p class="CodeBlockCxSpFirst" style="margin-left:11.35pt;mso-add-space:auto">LDAP:<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program = /usr/lib/security/LDAP<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program_64 =/usr/lib/security/LDAP64<span style="font-size:12.0pt;font-family:"Times New Roman","serif""> <o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">NIS:<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program = /usr/lib/security/NIS<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program_64 = /usr/lib/security/NIS_64<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">DCE:<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program = /usr/lib/security/DCE<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">KRB5:<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program = /usr/lib/security/KRB5<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       program_64 = /usr/lib/security/KRB5_64<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">       options = authonly,is_kadmind_compat=no,tgt_verify=yes,kadmind=no,keep_creds=yes,allow_expired_pwd=no<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<p class="CodeBlockCxSpMiddle" style="margin-left:11.35pt;mso-add-space:auto">KRB5LDAP:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="CodeBlockCxSpLast" style="margin-left:11.35pt;mso-add-space:auto">       options = auth=KRB5,db=LDAP<span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="NL">Met vriendelijke groet,<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="NL">Wouter Hummelink<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D">Technical Consultant - Enterprise Webhosting / Tooling & Automation<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D">T: +31-6-12882447<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D">E: <a href="mailto:wouter.hummelink@kpn.com">
wouter.hummelink@kpn.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>