Re: [PacketFence-users] Android wireless provisioning error

2017-08-11 Thread Akala Kehinde via PacketFence-users
HI Fabrice,

See below:

*profile.conf*

[root@egelsbach ca]# cat /usr/local/pf/conf/profiles.conf
[MAWOH-STAFF]
filter=port:10105,port:10106,port:10107,port:10113,ssid:STAFF
description=Profile for MAWOH STAFF Users
sources=local
logo=/common/mawoh.de.PNG
redirecturl=http://www.mawoh.de/
root_module=ROOT_MAWOH_STAFF_MODULE
scans=MAWOH_WMI_SCAN
provisioners=STAFF_PROVISIONER

[MAWOH-GUEST]
locale=
filter=port:10108,port:10109,ssid:GUEST
description=Profile for MAWOH Guests
sources=local
root_module=ROOT_MAWOH_GUEST_MODULE
provisioners=GUEST_PROVISIONER
#
# Copyright (C) 2005-2017 Inverse inc.
#
# See the enclosed file COPYING for license information (GPL).
# If you did not receive this file, see
# http://www.fsf.org/licensing/licenses/gpl.html


*Provisioner.conf*

[root@egelsbach ca]# cat /usr/local/pf/conf/provisioning.conf
[android]
type=android
description=android provisioner

[ios]
type=mobileconfig
description=mobileconfig provisioner

[accept]
type=accept
description=accept provisioner

[deny]
type=deny
description=deny provisioner

[GUEST_PROVISIONER]
can_sign_profile=0
security_type=None
description=Provisioner FOR MAWOH Guests using Android Devices
broadcast=0
oses=
type=windows
category=guest
ssid=GUEST

[STAFF_PROVISIONER]
can_sign_profile=0
security_type=None
description=Provisioner FOR MAWOH Staffs using Android Devices
broadcast=0
oses=
type=windows
category=staff
ssid=STAFF

*portal-module.conf*

[root@egelsbach ca]# cat /usr/local/pf/conf/portal_modules.conf
[MAWOH_STAFF_LOGIN_POLICY]
actions=
custom_fields=
description=Username/password login
with_aup=0
signup_template=signin.html
pid_field=username
aup_template=aup_text.html
type=Authentication::Login

[MAWOH_GUEST_REG_POLICY]
modules=default_login_policy,default_guest_policy,default_oauth_policy,default_billing_policy,default_saml_policy,default_blackhole_policy
actions=
template=content-with-choice.html
show_first_module_on_default=disabled
type=Choice
description=REG. POLICY FOR MAWOH GUESTS

[ROOT_MAWOH_STAFF_MODULE]
modules=MAWOH_STAFF_LOGIN_POLICY
type=Root
description=ROOT MODULE FOR MAWOH STAFF

[ROOT_MAWOH_GUEST_MODULE]
modules=MAWOH_GUEST_REG_POLICY,default_provisioning_policy
type=Root
description=ROOT MODULE FOR MAWOH GUEST

Regards,
Kehinde

On Fri, Aug 11, 2017 at 2:46 PM, Fabrice Durand via PacketFence-users <
packetfence-users@lists.sourceforge.net> wrote:

> Hello Akala,
>
> can you send me your profiles.conf and portal_modules.conf and
> provisioning.conf ?
>
> Regards
>
> Fabrice
>
>
>
> Le 2017-08-11 à 07:15, Akala Kehinde via PacketFence-users a écrit :
>
> HI guys,
>
> Any thoughts on this?
>
> Regards,
> Kehinde
>
> On Tue, Aug 8, 2017 at 7:44 PM, Akala Kehinde 
> wrote:
>
>> Hello guys,
>>
>> I get this error while trying to do Android wireless provisioning, when I
>> click on the configure button on the PF android app:
>>
>> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
>> INFO: [mac:f0:d7:aa:87:a6:ad] User default has authenticated on the portal.
>> (Class::MOP::Class:::after)
>> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
>> ERROR: [mac:f0:d7:aa:87:a6:ad] Caught exception in
>> captiveportal::Controller::WirelessProfile->index "Can't call method
>> "profile_template" on an undefined value at /usr/local/pf/html/captive-por
>> tal/lib/captiveportal/PacketFence/Controller/WirelessProfile.pm line
>> 41." (captiveportal::PacketFence::Controller::Root::end)
>>
>> Any ideas?
>>
>> Regards,
>> Kehinde
>>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> ___
> PacketFence-users mailing 
> listPacketFence-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
> --
> Fabrice durandfdur...@inverse.ca ::  +1.514.447.4918 <(514)%20447-4918> 
> (x135) ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
> (http://packetfence.org)
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Android wireless provisioning error

2017-08-11 Thread Akala Kehinde via PacketFence-users
HI,

A little mistake in the provisioner.conf file
type = android and not windows

Regards,
Kehinde

On Fri, Aug 11, 2017 at 3:10 PM, Akala Kehinde 
wrote:

> HI Fabrice,
>
> See below:
>
> *profile.conf*
>
> [root@egelsbach ca]# cat /usr/local/pf/conf/profiles.conf
> [MAWOH-STAFF]
> filter=port:10105,port:10106,port:10107,port:10113,ssid:STAFF
> description=Profile for MAWOH STAFF Users
> sources=local
> logo=/common/mawoh.de.PNG
> redirecturl=http://www.mawoh.de/
> root_module=ROOT_MAWOH_STAFF_MODULE
> scans=MAWOH_WMI_SCAN
> provisioners=STAFF_PROVISIONER
>
> [MAWOH-GUEST]
> locale=
> filter=port:10108,port:10109,ssid:GUEST
> description=Profile for MAWOH Guests
> sources=local
> root_module=ROOT_MAWOH_GUEST_MODULE
> provisioners=GUEST_PROVISIONER
> #
> # Copyright (C) 2005-2017 Inverse inc.
> #
> # See the enclosed file COPYING for license information (GPL).
> # If you did not receive this file, see
> # http://www.fsf.org/licensing/licenses/gpl.html
>
>
> *Provisioner.conf*
>
> [root@egelsbach ca]# cat /usr/local/pf/conf/provisioning.conf
> [android]
> type=android
> description=android provisioner
>
> [ios]
> type=mobileconfig
> description=mobileconfig provisioner
>
> [accept]
> type=accept
> description=accept provisioner
>
> [deny]
> type=deny
> description=deny provisioner
>
> [GUEST_PROVISIONER]
> can_sign_profile=0
> security_type=None
> description=Provisioner FOR MAWOH Guests using Android Devices
> broadcast=0
> oses=
> type=windows
> category=guest
> ssid=GUEST
>
> [STAFF_PROVISIONER]
> can_sign_profile=0
> security_type=None
> description=Provisioner FOR MAWOH Staffs using Android Devices
> broadcast=0
> oses=
> type=windows
> category=staff
> ssid=STAFF
>
> *portal-module.conf*
>
> [root@egelsbach ca]# cat /usr/local/pf/conf/portal_modules.conf
> [MAWOH_STAFF_LOGIN_POLICY]
> actions=
> custom_fields=
> description=Username/password login
> with_aup=0
> signup_template=signin.html
> pid_field=username
> aup_template=aup_text.html
> type=Authentication::Login
>
> [MAWOH_GUEST_REG_POLICY]
> modules=default_login_policy,default_guest_policy,default_
> oauth_policy,default_billing_policy,default_saml_policy,
> default_blackhole_policy
> actions=
> template=content-with-choice.html
> show_first_module_on_default=disabled
> type=Choice
> description=REG. POLICY FOR MAWOH GUESTS
>
> [ROOT_MAWOH_STAFF_MODULE]
> modules=MAWOH_STAFF_LOGIN_POLICY
> type=Root
> description=ROOT MODULE FOR MAWOH STAFF
>
> [ROOT_MAWOH_GUEST_MODULE]
> modules=MAWOH_GUEST_REG_POLICY,default_provisioning_policy
> type=Root
> description=ROOT MODULE FOR MAWOH GUEST
>
> Regards,
> Kehinde
>
> On Fri, Aug 11, 2017 at 2:46 PM, Fabrice Durand via PacketFence-users <
> packetfence-users@lists.sourceforge.net> wrote:
>
>> Hello Akala,
>>
>> can you send me your profiles.conf and portal_modules.conf and
>> provisioning.conf ?
>>
>> Regards
>>
>> Fabrice
>>
>>
>>
>> Le 2017-08-11 à 07:15, Akala Kehinde via PacketFence-users a écrit :
>>
>> HI guys,
>>
>> Any thoughts on this?
>>
>> Regards,
>> Kehinde
>>
>> On Tue, Aug 8, 2017 at 7:44 PM, Akala Kehinde 
>> wrote:
>>
>>> Hello guys,
>>>
>>> I get this error while trying to do Android wireless provisioning, when
>>> I click on the configure button on the PF android app:
>>>
>>> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
>>> INFO: [mac:f0:d7:aa:87:a6:ad] User default has authenticated on the portal.
>>> (Class::MOP::Class:::after)
>>> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
>>> ERROR: [mac:f0:d7:aa:87:a6:ad] Caught exception in
>>> captiveportal::Controller::WirelessProfile->index "Can't call method
>>> "profile_template" on an undefined value at /usr/local/pf/html/captive-por
>>> tal/lib/captiveportal/PacketFence/Controller/WirelessProfile.pm line
>>> 41." (captiveportal::PacketFence::Controller::Root::end)
>>>
>>> Any ideas?
>>>
>>> Regards,
>>> Kehinde
>>>
>>
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> ___
>> PacketFence-users mailing 
>> listPacketFence-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/packetfence-users
>>
>>
>> --
>> Fabrice durandfdur...@inverse.ca ::  +1.514.447.4918 <(514)%20447-4918> 
>> (x135) ::  www.inverse.ca
>> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
>> (http://packetfence.org)
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> PacketFence-users mailing list
>> PacketFence-users@lists.sourceforge.net
>> 

Re: [PacketFence-users] Android wireless provisioning error

2017-08-11 Thread Fabrice Durand via PacketFence-users
Hello Akala,

can you send me your profiles.conf and portal_modules.conf and
provisioning.conf ?

Regards

Fabrice



Le 2017-08-11 à 07:15, Akala Kehinde via PacketFence-users a écrit :
> HI guys,
>
> Any thoughts on this?
>
> Regards,
> Kehinde
>
> On Tue, Aug 8, 2017 at 7:44 PM, Akala Kehinde  > wrote:
>
> Hello guys,
>
> I get this error while trying to do Android wireless provisioning,
> when I click on the configure button on the PF android app:
>
> Aug  8 19:42:38 egelsbach packetfence_httpd.portal:
> httpd.portal(9458) INFO: [mac:f0:d7:aa:87:a6:ad] User default has
> authenticated on the portal. (Class::MOP::Class:::after)
> Aug  8 19:42:38 egelsbach packetfence_httpd.portal:
> httpd.portal(9458) ERROR: [mac:f0:d7:aa:87:a6:ad] Caught exception
> in captiveportal::Controller::WirelessProfile->index "Can't call
> method "profile_template" on an undefined value at
> 
> /usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/WirelessProfile.pm
> line 41." (captiveportal::PacketFence::Controller::Root::end)
>
> Any ideas?
>
> Regards,
> Kehinde
>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Fabrice Durand
fdur...@inverse.ca ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org) 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Android wireless provisioning error

2017-08-11 Thread Akala Kehinde via PacketFence-users
HI guys,

Any thoughts on this?

Regards,
Kehinde

On Tue, Aug 8, 2017 at 7:44 PM, Akala Kehinde 
wrote:

> Hello guys,
>
> I get this error while trying to do Android wireless provisioning, when I
> click on the configure button on the PF android app:
>
> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
> INFO: [mac:f0:d7:aa:87:a6:ad] User default has authenticated on the portal.
> (Class::MOP::Class:::after)
> Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
> ERROR: [mac:f0:d7:aa:87:a6:ad] Caught exception in
> captiveportal::Controller::WirelessProfile->index "Can't call method
> "profile_template" on an undefined value at /usr/local/pf/html/captive-
> portal/lib/captiveportal/PacketFence/Controller/WirelessProfile.pm line
> 41." (captiveportal::PacketFence::Controller::Root::end)
>
> Any ideas?
>
> Regards,
> Kehinde
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Android wireless provisioning error

2017-08-08 Thread Akala Kehinde via PacketFence-users
Hello guys,

I get this error while trying to do Android wireless provisioning, when I
click on the configure button on the PF android app:

Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
INFO: [mac:f0:d7:aa:87:a6:ad] User default has authenticated on the portal.
(Class::MOP::Class:::after)
Aug  8 19:42:38 egelsbach packetfence_httpd.portal: httpd.portal(9458)
ERROR: [mac:f0:d7:aa:87:a6:ad] Caught exception in
captiveportal::Controller::WirelessProfile->index "Can't call method
"profile_template" on an undefined value at
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/WirelessProfile.pm
line 41." (captiveportal::PacketFence::Controller::Root::end)

Any ideas?

Regards,
Kehinde
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users