Use: extract (the future) FreeBSD release package into /usr/local/ -> so your files will be under /usr/local/lldap_server/ save/copy this rc.d script file into /usr/local/etc/rc.d/ finally cat lldap_enable=YES >> /etc/rc.conf the service script set to run the lldap server as "www" user - make sure the whole lldap_server directory is accessible/runnable by "www". Simplest to run chown -R www:www /usr/local/lldap_server
19 lines
669 B
Markdown
19 lines
669 B
Markdown
Extract lldap's [FreeBSD tar.gz](https://github.com/n-connect/rustd-hbbx/blob/main/x86_64-freebsd_lldap-0.5.1.tar.gz) under /usr/local/:
|
|
|
|
`tar -xvf x86_64-freebsd_lldap-0.5.1.tar.gz -C /usr/local/`
|
|
|
|
Move rc.d script into the right place:
|
|
`mv /usr/local/lldap_server/rc.d_lldap /usr/local/etc/rc.d/lldap`
|
|
|
|
Make your config, if your want to enable LDAPS, copy your server key and certification files, and set the owneship (currently www):
|
|
|
|
`cp /usr/local/lldap_server/lldap_config.docker_template.toml /usr/local/lldap_server/lldap_config..toml`
|
|
|
|
Enable lldap service in /etc/rc.conf:
|
|
|
|
`echo "lldap_enable=YES" > /etc/rc.conf`
|
|
|
|
Start your service:
|
|
|
|
`service lldap start`
|