Hello everyone,
I hope i can find someone to assist me with my LDAP issue!
i have installed the server as mentioned in the documentation Freebsd Handbook step by step...
All the steps are executed perfectly as mentioned and the server runs with the command
without any issue or errors as shown in the debug.log
Aug 15 09:08:33 test slapd[72968]: @(#) $OpenLDAP: slapd 2.4.50 (Aug 7 2020 16:00:53) $ root@121amd64-quarterly-job-01:/wrkdirs/usr/ports/net/openldap24-server/work/openldap-2.4.50/servers/slapd
Aug 15 09:08:33 test slapd[72969]: slapd starting
but it is failing on boot or even if trying to call the
with the following error
note that i have the following lines added to the rc.conf file
and config directory as mentioned in the documentation
I think the issue is that we should point that folder to the boot file... please advice
note that all TLS file as self-signed and are correct as per the check made
without any luck...
please feel free to ask for more details if required...
i appreciate your cooperation
best regards
cheers
I hope i can find someone to assist me with my LDAP issue!
i have installed the server as mentioned in the documentation Freebsd Handbook step by step...
All the steps are executed perfectly as mentioned and the server runs with the command
Code:
/usr/local/libexec/slapd -F /usr/local/etc/openldap/slapd.d/
Aug 15 09:08:33 test slapd[72968]: @(#) $OpenLDAP: slapd 2.4.50 (Aug 7 2020 16:00:53) $ root@121amd64-quarterly-job-01:/wrkdirs/usr/ports/net/openldap24-server/work/openldap-2.4.50/servers/slapd
Aug 15 09:08:33 test slapd[72969]: slapd starting
but it is failing on boot or even if trying to call the
service slapd start
with the following error
Aug 15 09:11:36 test slapd[73031]: @(#) $OpenLDAP: slapd 2.4.50 (Aug 7 2020 16:00:53) $ root@121amd64-quarterly-job-01:/wrkdirs/usr/ports/net/openldap24-server/work/openldap-2.4.50/servers/slapd
Aug 15 09:11:36 test slapd[73031]: main: TLS init def ctx failed: -1
Aug 15 09:11:36 test slapd[73031]: slapd stopped.
Aug 15 09:11:36 test slapd[73031]: connections_destroy: nothing to destroy.
note that i have the following lines added to the rc.conf file
slapd_enable="YES"
slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/
ldap://0.0.0.0/"'
slapd_sockets="/var/run/openldap/ldapi"
slapd_cn_config="YES"
and config directory as mentioned in the documentation
mkdir /usr/local/etc/openldap/slapd.d/
I think the issue is that we should point that folder to the boot file... please advice
note that all TLS file as self-signed and are correct as per the check made
openssl verify -verbose -CApath . server.crt
without any luck...
please feel free to ask for more details if required...
i appreciate your cooperation
best regards
cheers