Hello Roland,

it's probably more something like that:


[httpapi]
description=httpapi authentication
authorization_url=/index.php/apicall/pf_autho/
dynamic_routing_module=AuthModule
protocol=http
host=192.168.5.23
type=HTTP
authentication_url=/index.php/apicall/pf_auth/
port=6060

Regards

Fabrice



Le 2016-11-11 à 02:44, Rolando Palencia a écrit :
> Hi,
>
> I am very new to packetfence.  How I cannot connect to external API
> authentication?
>
> Whenever I am I try login on the captive portal page it always "Unable
> to contact authentication server".
>
> I am using version 6.3.0
>
> Here is my settings:
>
>
> --------------------------
> authentication.conf
> --------------------------
> [local]
> description=Local Users
> type=SQL
> dynamic_routing_module=AuthModule
>
> [file1]
> description=Legacy Source
> stripped_user_name=yes
> type=Htpasswd
> dynamic_routing_module=AuthModule
> path=/usr/local/pf/conf/admin.conf
>
> [file1 rule admins]
> description=All admins
> class=administration
> match=all
> action0=set_access_level=ALL
>
> [sms]
> description=SMS-based registration
> sms_carriers=100056,100057,100061,100058,100059,100060,100062,100063,100071,100064,100116,100066,100117,100112,100067,100065,100068,100069,100070,100118,100115,100072,100073,100074,100075,100076,100077,100085,100086,100080,100079,100081,100083,100082,100084,100087,100088,100111,100089,100090,100091,100092,100093,100094,100095,100096,100098,100097,100099,100100,100101,100113,100102,100103,100104,100106,100105,100107,100108,100109,100114,100110,100078,100122
> create_local_account=no
> type=SMS
> dynamic_routing_module=AuthModule
>
> [sms rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [email]
> description=Email-based registration
> dynamic_routing_module=AuthModule
> allow_localdomain=yes
> type=Email
> create_local_account=no
> email_activation_timeout=10m
>
> [email rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [sponsor]
> description=Sponsor-based registration
> allow_localdomain=yes
> dynamic_routing_module=AuthModule
> type=SponsorEmail
> create_local_account=no
>
> [sponsor rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [null]
> description=Null Source
> type=Null
> dynamic_routing_module=AuthModule
> email_required=no
>
> [null rule catchall]
> description=catchall
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [httpapi]
> description=httpapi authentication
> authorization_url=http://192.168.5.23:6060/index.php/apicall/pf_autho/
> dynamic_routing_module=AuthModule
> protocol=http
> host=127.0.0.1
> type=HTTP
> authentication_url=http://192.168.5.23:6060/index.php/apicall/pf_auth/
> port=10000
>
> Thank you for your response.
>
> Regards,
> Roland
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to