I recently had a lot of errors on two ML servers acting as OD Master/Replica, so decided to reinstall from scratch. One is running OS X 10.8.2, the other 10.8. Both are vanilla installs (going so far as to recreate the RAID), and both have the latest version of server.app installed.
Network users cannot authenticate.
Running slapconfig -ver gives the following errors on both machines:
Obviously ou=macosxodconfig,cn=config,dc=test249,dc=home is wrong, but I don't know where this setting is held to correct it to ou=macosxodconfig,cn=config,dc=server,dc=domain,dc=tld
Opening slapd_macosxserver.conf shows the last four lines to be:
I can 'fix' the second error by commenting out that last line. But that just results in a new and exciting error:
Incidentally, all this is being run on the Master, but identical errors on the Replica.
Network users cannot authenticate.
Running slapconfig -ver gives the following errors on both machines:
Code:
bubbles:~ administrator$ sudo slapconfig -ver
2012-11-27 20:17:31 +0000 command: /usr/libexec/slapd -T cat -c -f /etc/openldap/slapd.conf -s ou=macosxodconfig,cn=config,dc=test249,dc=home
2012-11-27 20:17:31 +0000 Error execing slapcat: 50b51fdb /etc/openldap/slapd_macosxserver.conf: line 303: unknown directive <TLSCertificatePassphrase> inside backend database definition.
slapcat: bad configuration file!
LDAP Setup Tool (slapconfig), Apple, Inc., Version 1.2
Opening slapd_macosxserver.conf shows the last four lines to be:
Code:
TLSCertificateFile /etc/certificates/server.mydomain.LONGHASH.cert.pem
TLSCACertificateFile /etc/certificates/server.mydomain.LONGHASH.chain.pem
TLSCertificateKeyFile /etc/certificates/server.mydomain.LONGHASH.key.pem
TLSCertificatePassphrase "Mac OS X Server certificate management.LONGHASH"
Code:
bubbles:~ administrator$ sudo slapconfig -ver
2012-11-27 20:43:00 +0000 command: /usr/libexec/slapd -T cat -c -f /etc/openldap/slapd.conf -s ou=macosxodconfig,cn=config,dc=test249,dc=home
2012-11-27 20:43:00 +0000 Error execing slapcat: slapcat: slap_init no backend for "ou=macosxodconfig,cn=config,dc=test249,dc=home"
LDAP Setup Tool (slapconfig), Apple, Inc., Version 1.2