Re: OpenLDAP migration from Centos 5 to 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Giles Coochey wrote:

>> So I have copied /etc/openldap/slapd.conf from the old server to the new
>> and also copied the old DB_CONFIG to /var/lib/ldap
>> (these files are not used under CentOS-6, as far as I can see),
>> and run
>>
> Under Centos 6.2 openldap uses the new cn=config configuration
> mechanism, and will ignore your slapd.conf configuration if that
> mechnism already exists.

Thanks for your response.
I know the default config is as you say, but I gave the command
-----------------------------------
[root@grover ldap]# slapadd -f /tmp/slapd.conf -l /tmp/ldif
bdb_monitor_db_open: monitoring disabled; configure monitor database to 
enable
-#################### 100.00% eta   none elapsed             26s spd   4.8 
k/s
Closing DB...
-----------------------------------
I'm pretty sure the file slapd.conf was read by the program,
as the outcome was different.

> Try backing up and removing that folder, then your slapd.conf
> configuration will actually be read.

I'll try that,
But have you actually migrated an openLDAP setup from CentOS 5 to 6?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux