I&#39;m (still :) trying to fully automate ldap installation for our specific deployment with setup-ds.pl in silent mode.. I have an inf which uses ConfigFile directives to try to define indexes, cache sizes and other settings for the directory server. My problem is, only a small part of those ConfigFiles are applied when I check dse.ldif after, but no errors anywhere. I tried using --debug but the only output I could see of relevance was:<br>
&quot;+Processing config.ldif ...&quot; <br>&quot;+Processing indexes.ldif ...&quot; <br><br>NONE of the settings in the ConfigFile make it to dse.ldif except &quot;nsslapd-dbcachesize&quot; and &quot;nsslapd-cachememsize&quot;.. These are both set properly, or I would doubt if the files had been processed at all. But the the replication manager isn&#39;t created and size/timelimits are not set and so on, and the same with indexes. I can see nothing in the output log from the script and there&#39;s nothing in the logs for the newly created server. <br>
<br>If I instead add the ConfigFiles with ldapmodify, things work fine. <br><br>My guess is I&#39;m trying to modify attributes that don&#39;t exist yet? The Red Hat documentation at <a href="http://www.redhat.com/docs/manuals/dir-server/install/8.0/Installation_Guide-Advanced_Configuration-Silent.html">http://www.redhat.com/docs/manuals/dir-server/install/8.0/Installation_Guide-Advanced_Configuration-Silent.html</a> seems to indicate that I should be able to create a replication manager, but the difference I can tell from the docs is that their RM is made in the directory itself while I&#39;m trying to use the cn=config database.<br>
<br>Here&#39;s a snippet from my config.ldif:<br><br># doesnt get created<br>dn: cn=replication manager,cn=config<br>changetype: add<br>objectClass: inetorgperson<br>objectClass: person<br>objectClass: top<br>cn: replication manager<br>
sn: RM<br>userPassword: password<br>passwordExpirationTime: 20380119031407Z<br><br># is set properly<br>dn: cn=config,cn=ldbm database,cn=plugins,cn=config<br>changetype: modify<br>replace: nsslapd-dbcachesize<br>nsslapd-dbcachesize: 512000000<br>
<br># is not set<br>dn: cn=default instance config,cn=chaining database,cn=plugins,cn=config<br>changetype: modify<br>replace: nsslapd-sizelimit<br>nsslapd-sizelimit: 20000<br>-<br>replace: nsslapd-timelimit<br>nsslapd-timelimit: 120<br>
<br># is set<br>dn: cn=userRoot,cn=ldbm database,cn=plugins,cn=config<br>changetype: modify<br>replace: nsslapd-cachememsize<br>nsslapd-cachememsize: 512000000