HI Sagar, basically error is self descriptive, your system Perl dosnt have NET/LDAP library, depend of OS you use, you will need to install that library.
Regards, Dubravko Penezic Srce On 1/3/22 12:36 PM, Sagar Malam wrote: > Hello , > > I want to integrate the radiator with Microsoft active directory but i > am getting this error when i try to start radiator : > > 00000000 Mon Jan 3 06:33:52 2022 843857: ERR: Could not load AuthBy > module Radius::AuthLDAP2: Can't locate Net/LDAP.pm in @INC (@INC > contains: /opt/radiator/radiator /usr/local/lib64/perl5 > /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . > /opt/radiator/radiator/../radiator-radius-utilxs) at > /opt/radiator/radiator/Radius/Ldap.pm line 15, <$fh> line 48. > 00000000 BEGIN failed--compilation aborted at > /opt/radiator/radiator/Radius/Ldap.pm line 15, <$fh> line 48. > 00000000 Compilation failed in require at > /opt/radiator/radiator/Radius/AuthLDAP2.pm line 16, <$fh> line 48. > 00000000 BEGIN failed--compilation aborted at > /opt/radiator/radiator/Radius/AuthLDAP2.pm line 16, <$fh> line 48. > 00000000 Compilation failed in require at > /opt/radiator/radiator/Radius/Configurable.pm line 585, <$fh> line 48. > > This is the cfg file that i am using to start radiator : > > Trace 4 > LogTraceId > LogMicroseconds > DbDir /etc/radiator > LogDir /var/log/radiator > LogFile %L/radiator.log > DictionaryFile /opt/radiator/radiator/dictionary > AuthPort 1645,1812 > AcctPort 1646,1813 > > <Client DEFAULT> > Secret mysecret > </Client> > > <Handler> > <AuthBy LDAP2> > Host 192.168.0.45 > AuthDN CN=Admin,OU=ServiceAccounts,DC=com > AuthPassword XXXXX > BaseDN DC=com > ServerChecksPassword > UsernameAttr sAMAccountName > AuthAttrDef logonHours,MS-Login-Hours,check > </AuthBy> > </Handler> > > This is the command to start radiator : > perl /opt/radiator/radiator/radiusd -no_pid_file -config_file > /opt/radiator/radiator/goodies/ad-ldap.cfg > > Please help me with this error > > > -- > > 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. > > _______________________________________________ > radiator mailing list > [email protected] > https://lists.open.com.au/mailman/listinfo/radiator > _______________________________________________ radiator mailing list [email protected] https://lists.open.com.au/mailman/listinfo/radiator
