<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.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>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m trying to implement PAM authentication on a tacacs+ (F4.0.4.26) without success. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Maybe I’m use the wrong approach, but I try to implement a solution to forward tacacs authentication requests to a backend radius server (we use radius OTP) and then I don’t want to create users on my Unix server hosting the tacacs service.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My tacacs.conf file is:<o:p></o:p></p><p class=MsoNormal>--------------------------<o:p></o:p></p><p class=MsoNormal>user = DEFAULT {<o:p></o:p></p><p class=MsoNormal> login = PAM<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>host = 10.228.69.201 {<o:p></o:p></p><p class=MsoNormal> key="testing123"<o:p></o:p></p><p class=MsoNormal>}<o:p></o:p></p><p class=MsoNormal>--------------------------<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And my /etc/pam.d/tac_plus is:<o:p></o:p></p><p class=MsoNormal>--------------------------<o:p></o:p></p><p class=MsoNormal>auth required pam_radius_auth.so<o:p></o:p></p><p class=MsoNormal>account required pam_permit.so<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It seems that the “ user = DEFAULT” is not valid for authentication as when I declare my user the authentication is successful.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there’s any mistake in my configuration?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td colspan=2 valign=bottom style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'>Cordialement, Best regards <o:p></o:p></span></p></td></tr><tr><td colspan=2 valign=bottom style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'> <o:p></o:p></span></p></td></tr><tr><td nowrap valign=top style='border:none;border-right:solid black 1.0pt;padding:0cm 16.5pt 0cm 0cm'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><img width=66 height=88 id="_x0000_i1025" src="cid:image001.jpg@01CDAC92.232AE9B0" alt="Description : http://www.renault.com/RCW_Binaries/signature_renault/logo_renault_drive.jpg"></span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p></td><td valign=bottom style='padding:0cm 0cm 0cm 16.5pt'><p class=MsoNormal><b><span lang=FR style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'>Philippe JOYEZ</span></b><span lang=FR style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'><br>DSIR/DPAI/DSMI<br>API : FR EQV NOV 3 52<br>13 Avenue Paul Langevin 92359 Le Plessis Robinson CEDEX<br>Tél. : +33 (0) 1 76 84 59 41 - Mob. : +33 (0) 6 26 12 67 33<br>(www.renault.com) <o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span lang=FR><o:p> </o:p></span></p></div></body></html>