Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 11:23:02 -0700
From:      Charles Gillet <charles@routescience.com>
To:        marcus@freebsd.org
Cc:        ports@freebsd.org
Subject:   FreeBSD Port: tac_plus4-F4.0.4 - is OPIE support really there?
Message-ID:  <40F6CB86.4010300@routescience.com>

next in thread | raw e-mail | index | archive | help

Hello,

My apologies on (possibly?) wide distribution.

Does OPIE support really work with this port?  According to the commit 
history at http://www.freshports.org/net/tac_plus4, it should, but 
whether I use pkg_add, or manually patch the source from Cisco, opie 
support isn't in there.  It looks to me like there needs to be a patch 
to config.c to parse opie statements, but I don't see one in the 
distribution.  Please help.

charles:/h/charles>% uname -a
FreeBSD pfraval-bsd 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 
22:47:12 GMT 2004 
root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

charles:/h/charles/release/tacacs+>% cat test.cf

user = charles {
       login = opie
     }

charles:/h/charles/release/tacacs+>% which tac_plus
/usr/local/sbin/tac_plus
charles:/h/charles/release/tacacs+>% ldd /usr/local/sbin/tac_plus
/usr/local/sbin/tac_plus:
         libskey.so.2 => /usr/lib/libskey.so.2 (0x2807c000)
         libmd.so.2 => /usr/lib/libmd.so.2 (0x28083000)
         libopie.so.2 => /usr/lib/libopie.so.2 (0x2808c000) <--- Opie
         libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28095000)
         libc.so.4 => /usr/lib/libc.so.4 (0x280ae000)

[root /h/charles/release/tacacs+]# tac_plus -C test.cf
Error: expecting 'file', 'cleartext', 'nopassword', 'skey', or 'des' 
keyword after 'login =' on line 3


 From the patched users_guide file:

4. Authentication using opie.

If you have successfully built tac_plus with opie support, you can specify
a user be authenticated via opie, as follows:

     user = marcus {
       login = opie
     }


Thanks,

-charles





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F6CB86.4010300>