# Copyright (C) Inverse inc.
[local]
description=Local Users
type=SQL

[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,100119,100120,100121,100122,100123,100124,100125,100126,100127,100128
type=SMS
create_local_account=no

[sms rule catchall]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D
status=enabled

[email]
description=Email-based registration
email_activation_timeout=10m
type=Email
allow_localdomain=yes
create_local_account=no

[email rule catchall]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D
status=enabled

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

[sponsor rule catchall]
description=
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D
status=enabled

[null]
description=Null Source
type=Null
email_required=no

[null rule catchall]
description=catchall
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D
status=enabled

[NNGAuthSource]
cache_match=0
read_timeout=10
realms=netngrealm
basedn=DC=netngit,DC=com
monitor=1
shuffle=0
searchattributes=
set_access_durations_action=
scope=sub
email_attribute=mail
usernameattribute=sAMAccountName
connection_timeout=1
encryption=none
description=NNG Auth Source
port=389
host=172.16.100.250
write_timeout=5
type=AD
password=d0u$4h9K149BHIC5QUQ$
binddn=CN=PacketFenceSA,OU=NetNGIT-Users,DC=netngit,DC=com

[NNGAuthSource rule MemberOFVlan100]
action0=set_role=VLAN100
condition0=memberOf,equals,CN=vlan100,OU=PacketFence,DC=netngit,DC=com
status=enabled
match=any
class=authentication
action1=set_access_duration=5D

[NNGAuthSource rule catchall]
action0=set_role=guest
status=enabled
match=all
class=authentication
action1=set_access_duration=5D

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

[file1 rule admins]
description=All admins
class=administration
match=all
action0=set_access_level=ALL
status=enabled
