[Koha] ldap authentication

mourik jan c heupink heupink at merit.unu.edu
Mon Jul 31 21:32:03 NZST 2006


Hi Mohamed,

I'm no expert at all, but did you make sure to uncomment the line

use Net::LDAP;

in Auth.pm (top of the file..?)

Regards,
Mourik Jan

Mohamed Imran K R wrote:
> hi
>    we are an engineering institution and we want to migrate to koha. 
> we have tested out 2.2.5 on FC3. ( mysql ver 3.23.58 )
>
> we have started cataloging the books through z39.50 server and now we 
> want to authenticate our the users for ldap.
> i followed the steps mentioned and i made the changes as reflected below
> ##################################################
>         # LDAP connexion parameters
>         my $ldapserver = ' 192.168.1.253 <http://192.168.1.253>';
>         # Infos to do an anonymous bind
>         my $ldapinfos = 'uid=deepofix,ou=people,dc=cahcet,dc=in';
>         my $name  = "uid=deepofix,ou=people,dc=cahcet,dc=in";
>         my $db = Net::LDAP->new( $ldapserver );
>
> the error that i get is as follows
>
> Mon Jul 31 09:49:51 2006] [error] [client 192.168.1.2 
> <http://192.168.1.2>] Premature end of script headers: mainpage.pl
> [Mon Jul 31 09:54:34 2006] [error] [client 192.168.1.2 
> <http://192.168.1.2>] Can't locate object method "new" via package 
> "Net::LDAP" (perhaps you forgot to load "Net::LDAP"?) at 
> /usr/local/koha/intranet/modules/C4/Auth.pm line 510.
> [Mon Jul 31 09:54:34 2006] [error] [client 192.168.1.2 
> <http://192.168.1.2>] Premature end of script headers: mainpage.pl
> kindly do help me out.
>
> i tried # perl -MCPAN -e 'install Net::LDAP'   and i ound that the 
> module was uptodate.
> -- 
> Regards
> Mohamed Imran K R
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>   


More information about the Koha mailing list