FreeBSD/jails/config/atm/afp.conf

64 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-02-25 11:28:31 -08:00
;
; Netatalk 3.x configuration file
2021-02-13 11:38:38 -08:00
; http://netatalk.sourceforge.net/3.1/htmldocs/afp.conf.5.html
2020-02-25 11:28:31 -08:00
[Global]
; Global server settings
hostname = atm
2021-02-13 11:38:38 -08:00
afp listen = ::
mimic model = TimeCapsule6,106
uam list = uams_guest.so uams_dhx2_passwd.so
; locate uam # show all the uam modules
force xattr with sticky bit = yes
2020-02-25 11:28:31 -08:00
zeroconf = yes
2021-02-13 11:38:38 -08:00
afpstats = yes
ldap auth method = simple
;ldap auth dn = cn=admin,dc=infra
;ldap auth pw = notrequired
ldap server = ldap.ahlawat.com
ldap name attr = cn
ldap userbase = ou=people,dc=infra
ldap userscope = one
ldap uuid attr = uidNumber
ldap group attr = cn
ldap groupbase = ou=group,dc=infra
ldap groupscope = one
;ldap uuid attr = gidNumber #this is used both for users and groups.
; You can comment these 2 lines when your setup is working
;log level = default:maxdebug,afpdaemon:maxdebug,logger:maxdebug,uamsdaemon:maxdebug
log file = /var/log/afpd.log
[default_for_all_vol]
cnid scheme = dbd
appledouble = ea
ea = ad
2020-02-25 11:28:31 -08:00
; [Homes]
; basedir regex = /xxxx
2021-02-13 11:38:38 -08:00
[Sharad]
2020-02-25 11:28:31 -08:00
path = /mnt/sharad
2021-02-13 11:38:38 -08:00
valid users = sharad
2020-02-25 11:28:31 -08:00
time machine = yes
2021-02-13 11:38:38 -08:00
[Rachna]
2020-02-25 11:28:31 -08:00
path = /mnt/rachna
2021-02-13 11:38:38 -08:00
valid users = rachna
2020-02-25 11:28:31 -08:00
time machine = yes
2021-02-13 11:38:38 -08:00
[Nivi]
2020-02-25 11:28:31 -08:00
path = /mnt/nivi
2021-02-13 11:38:38 -08:00
valid users = nivi
2020-02-25 11:28:31 -08:00
time machine = yes
2021-02-13 11:38:38 -08:00
[Rishabh]
2020-02-25 11:28:31 -08:00
path = /mnt/rishabh
2021-02-13 11:38:38 -08:00
valid users = rishabh
2020-02-25 11:28:31 -08:00
time machine = yes