[RADIATOR] 2 Factor authentication via Authby LDAP2 and Authby OTP

Sagar Malam sagar.malam at ecosmob.com
Mon Jan 10 12:50:53 UTC 2022


Hello Heikki,

Thanks for the help. I worked as expected after doing corrections. I
would like to have EAP support as well. Can you help me with enabling that
?

On Fri, Jan 7, 2022 at 5:52 PM Heikki Vatiainen <hvn at open.com.au> wrote:

> On 6.1.2022 14.31, Sagar Malam wrote:
>
> > Thanks for the help. I tried the approach with authby OTP that you
> > suggested but once Authby LDAP2 is processed , Authby OTP is not getting
> > executed instead Access-Accept is sent to  client.
>
> Thanks for the log and config. It seems I made a typo in my previous reply:
>
> > Config File :
> >
> > <AuthBy OTP>
> >          Identifer otp-authby
>
> This should be 'Identifier'. One 'i' is missing. When this happens there
> are error and warning level log messages because of this and missing
> reference from <Handler>. Remember to check the startup log messages too
> when troubleshooting.
>
> >      EAPType One-Time-Password,Generic-Token
>
> I'd also remove EAPType parameters for now. If you need to support EAP,
> then it should be tested separately to see that the processing works
> with EAP and see what updates might be needed.
>
> Note that there's also EAPType in AuthBy LDAP2 clause below.
>
> > <Handler>
> >      AuthByPolicy ContinueWhileAccept
> >      <AuthBy LDAP2>
> >       Host    192.168.0.45
> >      EAPType One-Time-Password,Generic-Token
> >      AuthDN CN=XXXXXX ,OU=ServiceAccounts,DC=XXXXX,DC=XXXXX,DC=com
> >      AuthPassword    XXXXX
> >      BaseDN        DC=XXXXXX,DC=XXXXX,DC=com
> >      ServerChecksPassword
> >      UsernameAttr sAMAccountName
> >      AuthAttrDef logonHours,MS-Login-Hours,check
> >      ConsumePassword ,
>
> Change this to 'ConsumePassword'. That is, let it empty the password
> completely. In some cases both static and one-time password are sent
> together and need to split, but not this time.
>
> https://files.radiatorsoftware.com/radiator/ref/ConsumePassword.html
>
>
> >      </AuthBy>
> >      AuthBy otp-authby
> > </Handler>
> >
> > Error Log : https://paste-bin.xyz/30722 <https://paste-bin.xyz/30722>
> >
> > [root at radiator goodies]# /opt/radiator/radiator/radpwtst -noacct
> > -password '' -user XXXXX -password XXXX
> > sending Access-Request
> > OK
>
> Use '-trace 4' with rdpwtst to see in detail what it sends and receives.
> With multi-round authentication, also add '-interactive' flag to tell
> radpwtst that more than a single request is needed.
>
> Thanks,
> Heikki
>
> --
> Heikki Vatiainen
> OSC, makers of Radiator
> Visit radiatorsoftware.com for Radiator AAA server software
>


-- 

Thanks & Regards,
Sagar Malam
Project Leader | Ecosmob Technologies Pvt. Ltd.
(+91)9601533171 | www.ecosmob.com
<http://www.google.com/url?q=http%3A%2F%2Fwww.hodusoft.com&sa=D&sntz=1&usg=AFQjCNHXhIaelhkmhqcPU8D1lt3QoYpm2w>
Skype: sagar.ecosmob

-- 
*Disclaimer*
In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.



*Confidentiality*
This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.


*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
problems. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.open.com.au/pipermail/radiator/attachments/20220110/1596bccd/attachment.html>


More information about the radiator mailing list