Openldap 2.4.31 replication


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Openldap 2.4.31 replication
# 1  
Old 11-24-2013
RedHat Openldap 2.4.31 replication

Hi,

I have done setup for openldap master and slave.
Its working fine and replicating also.

But it is working only with plane text password in syncrepl .

How we can use encrypted password here also like we are using in rootpw ?

Below portion is working.

Code:
syncrepl        rid=101
                provider="ldap://IP"
                type=refreshAndPersist
                interval=00:00:00:10
                retry="5 10 60 +"
                timeout=1
                schemachecking=off
                searchbase="dc=example,dc=com"
                scope=sub
                bindmethod=simple
                binddn="cn=Manager,dc=example,dc=com"
                credentials="secret"

I want to set like this.
Code:
                credentials="{SSHA}TIiiTEtl2a/EFjzd3yVhk1G3EeN2NiLr"

# 2  
Old 11-24-2013
rootpw cannot contain an encrypted password but a password hash. While a hash allows to check an incoming connection credentials, it cannot be used as a password to connect to a remote directory server instance.
# 3  
Old 11-24-2013
A good hash is a one way form of encryption. The only way to duplicate is accidentally finding a collision - entering a word that creates the identical hash value. With decent hashing and a salt value this becomes a very difficult task.
# 4  
Old 11-25-2013
So any of the way by which it will not show plain password here.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Linux

Mysql replication

Need to recover a replication broken error on the mysql slave server. I want to force it to resend the binlog file from the begining. What is the correct value for the: MASTER_LOG_POS ? 0, 1 or 107 ? (2 Replies)
Discussion started by: andriesh
2 Replies

2. SCO

Replication using NFS.

Hi all, I am going to implement a script which will use NFS to replicate data between two SCO unix servers. It will take files with mtime -1 and copy the data periodically .In this regard my questions are : Is this approach good and reliable enough with respect... (2 Replies)
Discussion started by: dextergenious
2 Replies

3. UNIX and Linux Applications

Need Oracle Replication steps.

Hi All, Can anybody tell that Where is to find simple and easy steps of ORACLE replication process? Any help on this highly appreciated. http://www.unix.com/images/misc/progress.gif Thanks. (1 Reply)
Discussion started by: amit_27
1 Replies

4. HP-UX

HP Unix replication solution

Hi, I looking to setup HP Unix to HP Unix replication as plan of business continuity. The setup can be active passive or active active. Anyone can give me some idea what solution able to perform that? Thanks (3 Replies)
Discussion started by: ufo_999
3 Replies

5. UNIX for Dummies Questions & Answers

BIND DNS replication

I have a RedHat 7.1 box that we use for DNS in our System Engineering lab. We have a Windows 2000 box that handles DNS in our main office. The Microsoft Admin and I have been given the task of making both of our domains accessible to each other. I had originally made his domain my forwarder, so... (5 Replies)
Discussion started by: Jody
5 Replies

6. UNIX for Advanced & Expert Users

dns replication

my primary dns server is not replicating to secondary. i dont know why. i am running solaris 2.6 on both servers. what should i do?:confused: (2 Replies)
Discussion started by: lealyz
2 Replies
Login or Register to Ask a Question