[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap server migration issue

Naveen.X1.Sarabu@chase.com wrote:

Can any one please help me in the following issue:

Desc: I am in the process of migrating openldap from one server to antother server.

current openldap server: server1.example.com
new openldap server : server2.example.com

Below is the procedure i have followed to migrate it:

1. setup server2.example.com as replica server of server1.example.com
2. after syncing the DB files , made it as standalone master ldap.

Why not just slapcat the data from the old server and slapadd it to the new?

What version of OpenLDAP do you have?

for testing iam using the below commands:

1. when i search for info as Manager it is giving all the information

server2#ldapsearch -x -b 'dc=example,dc=com' -D "cn=Manager,dc=example,dc=com" '(objectclass=*)' -H ldaps://server2.example.com -W

2. But when i try to search as a normal user it is throwing the following error.

server2# ldapsearch -x -b 'dc=example,dc=com' -D "uid=okkamagadu,ou=People,dc=example,dc=com" '(objectclass=*)' -H ldaps://server2.example.com -W
Enter LDAP Password: ldap_bind: Invalid credentials (49) <<<am i missing any configration,any suggestions?

"Invalid credentials" means exactly that.

Kind Regards,

Gavin Henry.
OpenLDAP Engineering Team.

E ghenry@OpenLDAP.org

Community developed LDAP software.