Hi Louis,

My pf version is 5.5.2 on Ubuntu 12.04 LTS

It happens on the landing page where the guest is redirected after he has 
submitted the form for sponsorship (where he is waiting while his sponsor 
accept his account).

Here is my authentication.conf:

[local]
description=Local Users
type=SQL

[sponsor]
description=Sponsor-based registration
type=SponsorEmail
create_local_account=yes
allow_localdomain=no

[sponsor rule catchall]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=12h

[file1]
description=Legacy Source
stripped_user_name=yes
path=/usr/local/pf/conf/admin.conf
type=Htpasswd

[file1 rule admins]
description=All admins
class=authentication
match=all
action0=set_access_level=ALL
action1=mark_as_sponsor=1

[file1 rule guest]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=12h

[HEFRIDM]
description=LDAP HEFR
password=*****
scope=sub
binddn=****
basedn=****
usernameattribute=cn
connection_timeout=5
stripped_user_name=no
encryption=ssl
cache_match=1
port=636
type=LDAP
host=***

[HEFRIDM rule Admin]
description=
class=administration
match=any
action0=set_access_level=ALL
action1=mark_as_sponsor=1
condition0=cn,equals,***

[HEFRIDM rule Sponsor]
description=
class=administration
match=any
action0=mark_as_sponsor=1
condition0=mail,matches regexp,^(.*@hefr.ch)$
condition1=groupMembership,equals,cn=***

[GUEST-LDAP]
description=LDAP for wireless
password=***
scope=one
binddn=***
basedn=***
usernameattribute=cn
connection_timeout=5
stripped_user_name=yes
encryption=ssl
cache_match=1
port=636
type=LDAP
host=***

[GUEST-LDAP rule wireless]
description=
class=authentication
match=all
action0=set_role=conf
action1=set_access_duration=12h

and profiles.conf

[default]
description=Default Profile
logo=/common/HES-SO-FR.png
billing_engine=disabled
redirecturl=http://www.hefr.ch
always_use_redirecturl=disabled
mandatory_fields=firstname,lastname,phone,email
locale=en_US,fr_FR,de_DE
nbregpages=0
filter_match_style=any
block_interval=10m
sms_pin_retry_limit=0
sms_request_limit=0
login_attempt_limit=0
custom_fields_authentication_sources=
dot1x_recompute_role_from_portal=0
scans=
reuse_dot1x_credentials=0
sources=sponsor,GUEST-LDAP,local
provisioners=
billing_tiers=


Thanks for your help

-----Original Message-----
From: Rey Cédric 
Sent: mercredi 20 janvier 2016 09:28
To: '[email protected]'
Subject: Problem with captive portal and sponsored user

Hi,

I've got this error everytime I try to subscribe a user via sponsorship:

Jan 13 15:26:18 httpd.portal(17743) ERROR: [mac:ac:fd:ce:20:52:38] Caught 
exception in captiveportal::Controller::Root->setupCommonStash "Can't locate 
object method "host" via package "URI::_generic" at 
/usr/share/perl5/URI/WithBase.pm line 50." 
(captiveportal::PacketFence::Controller::Root::end)
Jan 13 15:26:18 httpd.portal(17743) ERROR: [mac:ac:fd:ce:20:52:38] Caught 
exception in captiveportal::Controller::CaptivePortal->checkIfPending "Can't 
locate object method "host" via package "URI::_generic" at 
/usr/share/perl5/URI/WithBase.pm line 50." 
(captiveportal::PacketFence::Controller::Root::end)

This error appear after the user has submitted the formular for a sponsored 
account.

Thanks for your help

Regards

Cédric




------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to