Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 6.1.11 CAS login problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Allison Jones <address@concealed>
  • To: <address@concealed>
  • Subject: Re: [sympa-users] Sympa 6.1.11 CAS login problem
  • Date: Tue, 31 Jul 2012 12:16:36 -0500

I tracked down the problem. In Auth.pm, lines 329-334:
my $emails= $ldap_anonymous->search ( base => $ldap->{'ldap_suffix'},
filter => $filter,
scope => $ldap->{'ldap_scope'},
timeout => $ldap->{'ldap_timeout'},
attrs => $ldap->{'ldap_email_attribute'}
);

If I comment out the 'attrs' line, then it works. I created a simple perl program that issues a similar call using Net::LDAP, and I get the following message:

Can't use string ("mail") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Convert/ASN1/_encode.pm line 269, <DATA> line 558.

On a different server, I have Net::LDAP 0.4001, and the above code doesn't cause problems.
On the server *with* the problems, I have Net::LDAP 0.44

I tried finding what versions of Net::LDAP were supported, but I couldn't find it in the release notes.

Allison
On 07/27/2012 12:30 PM, Allison Jones wrote:
I recently upgraded to Sympa 6.1.11 , and my CAS login is not working. I have AuthCAS 1.5 installed.

This is my auth.conf

cas
base_url https://login.answers4families.org
logout_path https://login.answers4families.org/logout
non_blocking_redirection on
auth_service_name Click-here-to-login
ldap_host mau.unl.edu:389
ldap_get_email_by_uid_filter (uid=[uid])
ldap_timeout 100
ldap_suffix dc=answers4families,dc=org
ldap_scope sub
ldap_email_attribute mail

I get redirected to the CAS server, at which point I login. I don't get any error messages in my browser, but I am also not authenticated; I still see the login button. My log files seem mostly OK, with the exception of this suspicious line:

Jul 27 12:14:11 ragdoll wwsympa[952]: notice Auth::get_email_by_net_id() No entry in the Ldap Directory Tree of

Any help would be greatly appreciated.

I get the following messages in my log:
Jul 27 12:14:09 ragdoll wwsympa[952]: info SympaSession::new() SympaSession::new ignoring unknown session cookie '40201221793034'
Jul 27 12:14:09 ragdoll wwsympa[952]: info [robot answers4families.org] [session 28767239385626] [client 10.150.23.130] main::do_sso_login() do_sso_login(Click-here-to-login)
Jul 27 12:14:09 ragdoll wwsympa[952]: info [robot answers4families.org] [session 28767239385626] [client 10.150.23.130] main::do_sso_login() do_sso_login: redirect_url(https://login.answers4families.org/login?service=http://www.answers4families.org/sympa/sso_login_succeeded/Click-here-to-login)
Jul 27 12:14:11 ragdoll wwsympa[952]: notice CAS ticket is detected. in{'ticket'}=ST-777-FRc9M90PvCTVWfqGfdUo-cas checked_cas=0
Jul 27 12:14:11 ragdoll wwsympa[952]: notice login CAS OK server netid=ajones
Jul 27 12:14:11 ragdoll wwsympa[952]: notice Auth::get_email_by_net_id() No entry in the Ldap Directory Tree of
Jul 27 12:14:11 ragdoll wwsympa[952]: info [robot answers4families.org] [session 28767239385626] [client 10.150.23.130] main::do_sso_login_succeeded() do_sso_login_succeeded(Click-here-to-login)
Jul 27 12:14:11 ragdoll wwsympa[952]: info [robot answers4families.org] [session 28767239385626] [client 10.150.23.130] main::do_redirect() do_redirect()
Jul 27 12:14:11 ragdoll wwsympa[952]: info [robot answers4families.org] [session 28767239385626] [client 10.150.23.130] main::do_home() do_home



--
Allison Jones E-mail: address@concealed
IT Administrator Phone: (402)472-0458
University of Nebraska Lincoln Center on Children, Families, and the Law
http://www.answers4families.org http://www.ccfl.unl.edu/





Archive powered by MHonArc 2.6.19+.

Top of Page