Powered by Jitbit Forum free trial version.
home recent topics recent posts search faq  

TekRADIUS Forum



register | lost password   open id
Messages in this topic - RSS

Home » Bugs » multiotp issue

Bugs
28.06.2011 16:53:26

sjaak
sjaak
Posts: 5
I setup an user to use multiotp:

ietf|0,cisco-access,Check
ietf|1,token,Check
tekradius|18,c:\multiotp.exe -log %ietf|1% %ietf|2%,Check

When I try to log in with this user, this error is displayed in the log and nothing is returned to the radius client (cisco 871):

RadAuth req. from : 172.31.10.113:1645 - 28-6-2011 13:47:31
Size : 76 / 76
Identifier : 82
Attributes :
NAS-Port-Id = tty0
NAS-Port-Type = 0
Calling-Station-Id = async
NAS-IP-Address = 172.31.10.113
NAS-Port = 0
User-Name = token
28-6-2011 13:47:31 - PAP Authentication commencing for user 'token'
28-6-2011 13:47:36 - Invalid Auth. packet received from : 172.31.10.113:1645

when I change the application with this batch file:

set > c:\setting.txt
echo arg1=%1 >> c:\setting.txt
echo arg2=%2 >> c:\setting.txt
exit 0

i get this in the log and a response is send back to the radius client:

RadAuth req. from : 172.31.10.113:1645 - 28-6-2011 13:51:38
Size : 76 / 76
Identifier : 83
Attributes :
NAS-Port-Id = tty0
NAS-Port-Type = 0
Calling-Station-Id = async
NAS-IP-Address = 172.31.10.113
NAS-Port = 0
User-Name = token
28-6-2011 13:51:38 - PAP Authentication commencing for user 'token'
28-6-2011 13:51:39 - Check items control - Start (Group : cisco-access).
28-6-2011 13:51:39 - Check items control - Stop (Group : cisco-access).
28-6-2011 13:51:39 - Authentication successfull for user 'token'
28-6-2011 13:51:39 - Fetching Success-Reply items - Start.
28-6-2011 13:51:39 - Fetching Success-Reply items - Stop.
28-6-2011 13:51:39 - Generating Reply Packet - Start.
28-6-2011 13:51:41 - Generating Reply Packet - Stop.
RadAuth reply to : 172.31.10.113:1645 - 28-6-2011 13:51:41
Size : 51
Identifier : 83
Attributes :
cisco-avpair = shell:priv-lvl=15
Service-Type = 7

I have double checked the names, move the multiotp executable to a different directory, it didn't work. Wrapping in the above .bat did work:

set > c:\setting.txt
echo arg1=%1 >> c:\setting.txt
echo arg2=%2 >> c:\setting.txt
c:\multiotp -log %1 %2
exit %ERRORLEVEL%


What is going on here??
0 permalink
28.06.2011 17:04:07

Admin
Admin
Administrator
Posts: 1833
Have you tried to run multiotp.exe directly from the command line? Have you got any error message?
0 permalink
28.06.2011 17:17:29

sjaak
sjaak
Posts: 5
When I run multiotp from the cli or the batch script it is working ok (I see an log entry added to the multiotp log, when using tekradiuslt i don't see anything in the multiotp log) I copied/pasted the command directly from the tekradius console into the cmd box. No errors whatsoever.
0 permalink
28.06.2011 17:25:19

Admin
Admin
Administrator
Posts: 1833
Have you experinced the same issue with some other console utilites?
0 permalink
29.06.2011 12:44:38

sjaak
sjaak
Posts: 5
No, I just tested it with multiotp and the mentioned batchscript.
0 permalink
04.07.2011 10:23:35

Admin
Admin
Administrator
Posts: 1833
Hi,

What is your operating system and in which mode (32 or 64 bits?) Does you command line utility work in g32 or 64 bits mode?
0 permalink
06.07.2011 09:54:44

Admin
Admin
Administrator
Posts: 1833
Please also try the new version fo multiotp to be released in one week.
0 permalink

Home » Bugs » multiotp issue





Powered by Jitbit Forum 7.2.13.0 © 2006-2011 Jitbit Software