On Dec 13, 2013, at 13.00, Clint Petty cpetty@luthresearch.com wrote:
I know you are suppose to make changes through the command line, when using cn=config.
no, you are supposed make changes using the same methods you'd use for any other openldap database. that's via ldap operations, or using slapcat/slapadd/etc. from a shell prompt is of course one possibility for accomplishing that, and certainly not the only choice.
I tried changing it through ldapmodify, however wasn't able to get it to work. So changed it in the file and it did work. We are transitioning away from cn=config, so this is just a short term solution.
*away* from cn=config? to what? slapd.conf? if you intend to continue using openldap, that is the *wrong* direction. cn=config [slapd-config] is replacing slapd.conf. not the other way around. slapd.conf will eventually go away. if you are already using slapd.conf, procrastinating in switching to slapd-config could be argued as being understandable. if you are already using slapd-config, switching to slapd.conf is just plain silly.