Monday, March 5, 2007

slapconfig

slapconfig is a utility for configuring slapd, slurpd, and the Directory
Services search policy. It must be run by root.

-addreplica
Adds a replica to the slapd configuration file.

-createreplica
Create a new replica from an existing LDAP master.

-removereplica -
Removes a replica from the slapd configuration file.

more infos can be found in the man pages of slapconfig.

After having set up a new server, I imported the ldap data from the old server.
After checking the setup I had the problem that I had to remove the old replicas.
Even though I removed them in the server settings they still showed up in the file /Library/Preferences/DirectoryService/DSLDAPv3PlugInConfig.plist of the clients.
So i used slapconfig on the server to remove them.

No comments: