[389-users] DES hash values in replicationAgreement with Simple Bind

Jovan.VUKOTIC at sungard.com Jovan.VUKOTIC at sungard.com
Fri Jun 21 14:56:20 UTC 2013


We have four 389 DS masters, version 1.2.11 that we are organizing in multi-master replication topology.
On one host we do not have admin server and consequently do not have an option to use 389 Management Console to configure replication agreements.

I configured it from the command line as per Administration Guide( replication manager, changelog, supplier replica and replication agreements entries), but could not establish connection to neither servers from the Agreement due to Invalid credentials error (49).
I suspect the problem is DES hash of
attribute value.
I copied it from another Replication Agreement from the other DS instance pointing to the same Multi-Master replica. That replication Agreement was created in 389 Console and worked fine (i.e. replica got acquired). Hence, I thought since the replication manager entry is the same, copied DES hash would be OK.
It did not work.

Furthermore, when compared with the DES hash created for that very replication manager entry on the third server( again via 389 Console, just for the sake of the test)  it turned out to be different.
Do you know any command analog to pwdhash that can generate hash in DES format?
If not, how then to provide nsDS5ReplicaCredentials attribute value of replication agreement entry?

FY reference, I used the following entry to do create Replication agreement:

dn: cn=rAgrmnt1,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn
objectClass: top
objectClass: nsDS5ReplicationAgreement
description: inst1 supplies inst2
cn: rAgrmnt1
nsDS5ReplicaRoot: dc=example,dc=com
nsDS5ReplicaHost: consumer.replica.com
nsDS5ReplicaPort: 389
nsDS5ReplicaBindDN: uid=ReplManager,cn=config
nsDS5ReplicaTransportInfo: TLS
nsDS5ReplicaBindMethod: SIMPLE
nsDS5ReplicaCredentials: {DES}secret          //copied from another servers dse.ldif file, from its agreement with the same nsDS5ReplicaHost

I will appreciate any help.
Thank you

Jovan Vukotić * Senior Software Engineer * Ambit Treasury Management * SunGard * Banking * Bulevar Milutina Milankovića 136b, Belgrade, Serbia * tel: +381.11.6555-66-1 * jovan.vukotic at sungard.com<mailto:jovan.vukotic at sungard.com>
[Description: Description: Description: Description: Description: coc-signature-03-2012]<http://www.capitalize-on-change.com/?email=70150000000Y1Et>

Join the online conversation with SunGard's customers, partners and Industry experts and find an event near you at: www.sungard.com/ten<http://www.capitalize-on-change.com/?email=70150000000Y1Et>.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20130621/a7c1c6fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8696 bytes
Desc: image001.gif
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20130621/a7c1c6fe/attachment.gif>

More information about the 389-users mailing list