[local]
description=Local Users
type=SQL

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

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

[file1 rule file1]
action0=set_role=Staff
match=all
class=authentication
action1=set_access_duration=1h
description=file1

[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

[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

[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

[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

[htbAD]
cache_match=0
read_timeout=10
realms=
password=1
searchattributes=
scope=sub
port=389
description=HTB
write_timeout=5
type=AD
basedn=CN=Users,DC=mydomain,DC=htb
monitor=1
set_access_level_action=
shuffle=0
email_attribute=mail
usernameattribute=sAMAccountName
connection_timeout=1
encryption=none
host=172.17.1.248
binddn=CN=Administrator,CN=Users,DC=mydomain,DC=htb

[htbAD rule Admin]
action0=set_access_level=ALL
match=all
class=administration
description=Admin

[htbAD rule domainRule]
action0=set_role=Staff
match=all
class=authentication
action1=set_access_duration=1h
description=MyDomainRule
