<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=iso-8859-1"><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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:"Courier New";
        mso-fareast-language:PT-BR;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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=PT-BR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi there,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’m having a hard time setting up the directory-based authentication for dogtag 10.3.3-1. I did follow the instructions as <a href="http://pki.fedoraproject.org/wiki/Directory-Authenticated_Profiles">http://pki.fedoraproject.org/wiki/Directory-Authenticated_Profiles</a> and I get an error when trying to bind/authenticate against directory service (Microsoft AD2008) as follows:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[26/Jul/2016:08:27:27][http-bio-8443-exec-1]: DirBasedAuthentication: authenticate: before authenticate() call<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[26/Jul/2016:08:27:27][http-bio-8443-exec-1]: Authenticating UID=john.luk<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[26/Jul/2016:08:27:27][http-bio-8443-exec-1]: UidPwdDirAuthentication: Authenticating: Searching for uid=john.luk base DN=OU=IT,dc=domain,dc=com<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[26/Jul/2016:08:27:27][http-bio-8443-exec-1]: Authenticating: User authentication failure: netscape.ldap.LDAPException: error result (1); 000004DC: LdapErr: DSID-0C0906DD, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1772<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[26/Jul/2016:08:27:27][http-bio-8443-exec-1]: Authenticating: closing bad connection<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The directives (bellow) are used to bind the AD2008 and I already tested the account and it is working.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>auths.instance.UserDirEnrollment.ldap.ldapauth.bindDN<span style='color:black'>=cn=Service Account,ou=IT,dc=domain,dc=com <o:p></o:p></span></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>auths.</span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:PT-BR'>instance.UserDirEnrollment.ldap.ldapauth.bindPWPrompt=password<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>John Luk is applying for the certificate using the web enrollment process (caDirUserCert profile). <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>What am I missing?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thx,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>sergio<o:p></o:p></span></p></div></body></html>