[Date Prev][Date Next]
RE: openldap server migration issue
I am using openldap 2.2.13 . I tried slapcat and slapadd. but i faced the same issue. any suggestion , do i need to change any conf.
From: Gavin Henry [mailto:ghenry@OpenLDAP.org]
Sent: Friday, August 29, 2008 3:49 PM
To: Sarabu, Naveen X1 (Card Services)
Subject: Re: openldap server migration issue
> 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.
OpenLDAP Engineering Team.
Community developed LDAP software.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.