<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi John,</span></div><div><br><span></span></div><div><span>I not see any abnormal log from debugging on my cisco switch, do you any idea about running debug for tac_plus on FreeBSD 8.2 and are you ever experience this situation before?</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>Ricki<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> john heasley &lt;heas@shrubbery.net&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Ricki Z &lt;rz.bangka@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b>
 tac_plus@shrubbery.net <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, December 9, 2011 12:42 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [tac_plus] tac_plus login and enable password issue<br> </font> <br>
Wed, Dec 07, 2011 at 07:54:49PM -0800, Ricki Z:<br>&gt; Hi John,<br>&gt; <br>&gt; Previously thanks for your info. I have done change config with default service under group but i still experience the same problem. My problem exactly is why? i can login to cisco switch using "login password" or "enable password" and why i can enter priviledge mode using "login password" or "enable password" too.<br>&gt; <br>&gt; Below is my new config for tac-plus server:<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; user = user1 {<br>&gt; ??? ??? ??? ??? member = admin<br>&gt; ??? ??? ??? ??? login = cleartext user1<br>&gt; ??? ??? ??? ??? enable = cleartext enauser1<br>&gt; }<br>&gt; <br>&gt; user = user2 {<br>&gt; ??? ??? ??? ??? member = admin<br>&gt; ??? ??? ??? ??? login = cleartext user2<br>&gt; ??? ??? ??? ??? enable = cleartext enauser2<br>&gt; }<br>&gt; group = admin {<br>&gt; ??????? default service = permit<br>&gt;
 }<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; And below my cisco switch config for tac-plus authentication:<br>&gt; <br>&gt; -----------------------------------cut-----------------------------------<br>&gt; aaa new-model<br>&gt; aaa authentication login default group tacacs+ local line<br>&gt; aaa authentication login user group tacacs+ local<br>&gt; aaa authentication login net_admin group tacacs+ line enable<br>&gt; aaa authentication enable default group tacacs+ enable<br>&gt; aaa authorization exec default group tacacs+ if-authenticated<br>&gt; aaa authorization commands 0 default group tacacs+ if-authenticated<br>&gt; aaa authorization commands 1 default group tacacs+ if-authenticated<br>&gt; aaa authorization commands 7 default group tacacs+ if-authenticated<br>&gt; aaa authorization commands 15 default group tacacs+ if-authenticated<br>&gt; aaa authorization network default group tacacs+
 if-authenticated<br>&gt; aaa accounting exec user start-stop group tacacs+<br>&gt; aaa accounting commands 0 user start-stop group tacacs+<br>&gt; aaa accounting commands 1 user start-stop group tacacs+<br>&gt; aaa accounting commands 7 user start-stop group tacacs+<br>&gt; aaa accounting commands 15 user start-stop group tacacs+<br>&gt; aaa accounting network user start-stop group tacacs+<br>&gt; aaa accounting connection user start-stop group tacacs<br>&gt; !<br>&gt; line con 0<br>&gt; ?login authentication net_admin<br>&gt; line vty 0 4<br><br> login authentication default<br><br>otherwise, looks ok.&nbsp; try debugging options on the router and the tacacs<br>daemon to figure out why its not working as you expect.<br><br>&gt; ?accounting connection user<br>&gt; ?accounting commands 0 user<br>&gt; ?accounting commands 1 user<br>&gt; ?accounting commands 7 user<br>&gt; ?accounting commands 15 user<br>&gt; ?accounting exec user<br>&gt; line vty 5
 15<br>&gt; ?accounting connection user<br>&gt; ?accounting commands 0 user<br>&gt; ?accounting commands 1 user<br>&gt; ?accounting commands 7 user<br>&gt; ?accounting commands 15 user<br>&gt; ?accounting exec user<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; <br>&gt; Here the illustration for login to cisco switch:<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; User Access Verification<br>&gt; <br>&gt; Username: user1<br>&gt; Password: user1<br>&gt; <br>&gt; or <br>&gt; <br>&gt; <br>&gt; Username: user1<br>&gt; Password: enauser1<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; Here the illustration for enter priviledge to cisco switch:<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; cisco-sw&gt;en<br>&gt; Password: enauser1<br>&gt; <br>&gt; or<br>&gt; <br>&gt; cisco-sw&gt;en<br>&gt;
 Password: user1<br>&gt; -----------------------------------cut-----------------------------------<br>&gt; Is there any abnormal with my config on tac-plus server or cisco switch?<br>&gt; <br>&gt; Tx,<br>&gt; Ricki<br>&gt; <br>&gt; <br>&gt; <br>&gt; ________________________________<br>&gt;&nbsp; From: john heasley &lt;<a ymailto="mailto:heas@shrubbery.net" href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>&gt;<br>&gt; To: Ricki Z &lt;<a ymailto="mailto:rz.bangka@yahoo.com" href="mailto:rz.bangka@yahoo.com">rz.bangka@yahoo.com</a>&gt; <br>&gt; Cc: "<a ymailto="mailto:tac_plus@shrubbery.net" href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a>" &lt;<a ymailto="mailto:tac_plus@shrubbery.net" href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a>&gt; <br>&gt; Sent: Thursday, December 8, 2011 5:51 AM<br>&gt; Subject: Re: [tac_plus] tac_plus login and enable password issue<br>&gt;&nbsp; <br>&gt; Sun, Nov 27, 2011 at 08:58:15PM -0800,
 Ricki Z:<br>&gt; &gt; Hi All,<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; I have issue when i using enable password per user (not on global config with user $enab15$ etc.) and every user using different password for cisco enable on tac_plus server. Refer to the config that i send before i can using AAA for cisco devices with tac_plus but if i login using user1, then i can use password "user1" or "enauser1" and after login success, i can enter privilege mode using password "user1" or "enauser1" and same for user2. In normal condition should be i just can login using user1 with password "user1" (failed if using password "enauser1" and i just can enter priviledge mode using password "enauser1" (failed if using "user1").<br>&gt; &gt; <br>&gt; &gt; user = user1 {<br>&gt; &gt; ??? ??? ??? ??? default service = permit<br>&gt; default service does not belong under user configuration.<br>&gt; <br>&gt; otherwise, i can not reproduce the problem that i
 think you are describing.<br>&gt; given two users configured with different passwords, one can not use the<br>&gt; other's passwords to login or enable.<br>&gt; <br>&gt; I'd guess that you have a device configuration problem or there is some<br>&gt; strange problem with how you've compiled tac_plus.? more likely the former.<br>&gt; <br>&gt; &gt; ??? ??? ??? ??? login = cleartext user1<br>&gt; &gt; ??? ??? ??? ??? enable = cleartext enauser1<br>&gt; &gt; }<br>&gt; &gt; <br>&gt; &gt; user = user2 {<br>&gt; &gt; ??? ??? ??? ??? default service = permit<br>&gt; &gt; ??? ??? ??? ??? login = cleartext user2<br>&gt; &gt; ??? ??? ??? ??? enable = cleartext enauser2<br>&gt; &gt; }<br>&gt; &gt; <br>&gt; &gt; And if i configure enable password per user and every user using the same enable password (like config below), all<br>&gt; &gt;? working like suppose to be it mean if i login using user1 i just can using password "user1" (can't using password "enapwd") and i
 just can enter priviledge mode using password "enauser" (can't using password "user1").<br>&gt; &gt; user = user1 {<br>&gt; &gt; ??? ??? ??? ??? default service = permit<br>&gt; &gt; ??? ??? ??? ??? login = cleartext user1<br>&gt; &gt; ??? ??? ??? ??? enable = cleartext enauser<br>&gt; &gt; }<br>&gt; &gt; <br>&gt; &gt; user = user2 {<br>&gt; &gt; ??? ??? ??? ??? default service = permit<br>&gt; &gt; ??? ??? ??? ??? login = cleartext user2<br>&gt; &gt; ??? ??? ??? ??? enable = cleartext enauser<br>&gt; &gt; }<br>&gt; &gt; <br>&gt; &gt; Need your advice for solve this issue.<br>&gt; &gt; <br>&gt; &gt; Tx,<br>&gt; &gt; Ricki<br>&gt; &gt; -------------- next part --------------<br>&gt; &gt; An HTML attachment was scrubbed...<br>&gt; &gt; URL: &lt;<a href="http://www.shrubbery.net/pipermail/tac_plus/attachments/20111127/71681cee/attachment.html"
 target="_blank">http://www.shrubbery.net/pipermail/tac_plus/attachments/20111127/71681cee/attachment.html</a>&gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; tac_plus mailing list<br>&gt; &gt; <a ymailto="mailto:tac_plus@shrubbery.net" href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a><br>&gt; &gt; <a href="http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus</a><br><br><br> </div> </div>  </div></body></html>