Using slapd.d
(I'm including this for completeness, although it's not directly relevant to your current configfuration).
To load a schema into slapd if you're using the dynamic cn=config configuration, you would use ldapadd. Depending on how your ACLs are configured, the command might look like this:
ldapadd -Y EXTERNAL -H ldapi:// -f /usr/local/etc/openldap/schema/nis.ldif
This assumes that your running slapd has an ACL permitting "peer credentials" authentication to root. If that doesn't work, you would need to provide an appropriate bind DN and password using -D and -W.
There is no restart required in this case.
From: http://serverfault.com/questions/531495/why-does-this-ldapadd-command-quit-with-an-invalid-syntax-error
Wednesday, April 15, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment