Thanks for pointing me in the right direction

I changed
my $localdomain = $Config{'general'}{'domain'};
to
my $localdomain = 'mydomain.co.za';

which seems to have done the trick. It would be nice to have the option in the 
UI perhaps to specify your own custom domain?

Regards,
Anton

From: Fabrice DURAND [mailto:[email protected]]
Sent: 22 July 2013 03:03 PM
To: [email protected]
Subject: Re: [PacketFence-users] Guest Portal - Email Domain Blocking

Hello,
yes you can do it, in guest.pm in the function validate_sponsor packetfence try 
to verify if only the local domain email address can sponsor guest access if 
sponsors_only_from_localdomain is enaled.
If it´s not enabled then it try to test 
$authenticator->isAllowedToSponsorGuests( 
lc($portalSession->cgi->param('sponsor_email')) ) . So if in your 
authentication source isAllowedToSponsorGuests return True then it will work.

Regards
Fabrice

Le 2013-07-22 05:59, Anton Dreyer a écrit :
Hi

I would also like to know if this is possible - specifying a custom domain(s)
Running pf3.61

Thanks

Anton Dreyer

From: Bulanda, Dave G [mailto:[email protected]]
Sent: 18 July 2013 04:03 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [PacketFence-users] Guest Portal - Email Domain Blocking

Under Guest  self-registration  you can block the email address from the local 
domain registering. Is there a way to add another domain?

Thanks

David Bulanda
Network Services Manager
[email protected]<mailto:[email protected]>
Indiana Tech<http://www.indianatech.edu/>





------------------------------------------------------------------------------

See everything from the browser to the database with AppDynamics

Get end-to-end visibility with application monitoring from AppDynamics

Isolate bottlenecks and diagnose root cause in seconds.

Start your free trial of AppDynamics Pro today!

http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk




_______________________________________________

PacketFence-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/packetfence-users




--

Fabrice Durand

[email protected]<mailto:[email protected]> ::  +1.514.447.4918 (x135) ::  
www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to