Arhiva

Članci označeni sa „LDAP“

Sun Java System Directory Server 5.2 CLI tips: Fractional replication

14. decembar, 2009. N4A L Ostavite komentar

Fractional replication could be useful if you want to expose only a small set of the attributes to the wider audience. Apart from that it can significantly cut down the size of the database which makes it easier to fit in the memory of the 32-bit systems.

This article uses the existing supplier-consumer setup as a basis and converts it to the fractional replication mode. In the article which describes the supplier-consumer setup you would find the detailed explanation for the replication agreement attribute values to which we refer in this article under signs < and >.

Pročitaj više…

Kategorije:IT Oznake:, , , ,

Sun Java System Directory Server 5.2 CLI Tips: enabling Supplier-Consumer replication

14. decembar, 2009. N4A L 1 komentar

Although I have published an article with a very similar content it does not cover another common use-case. Namely, I have wrote how to setup a multi-master replication but now I will describe another case which is single-master replication (one supplier and one consumer). This case is very similar to the MMR but simpler.

Pročitaj više…

Kategorije:IT Oznake:, , , ,

Sun Java System Directory Server 5.2 CLI tips: disabling a replication agreement

6. oktobar, 2009. N4A L Ostavite komentar

In case you are to perform an upgrade, a useful thing to have is a CLI way to disable and enable a replication agreement. Here’s how to do it:

  • create a LDIF file named disableAgreement.ldif which would modify the replication agreement:

dn: cn=AGREEMENT_NAME, cn=replica, cn=SUFFIX, cn=mapping tree, cn=config
changetype: modify
add: ds5AgreementEnable
ds5AgreementEnable: off

  • import the file:

ldapmodify -h HOST -p PORT -D rootDN -w password -f disableAgreement.ldif

To enable it:

  • create a new file, enableAgreement.ldif with the following contents:

dn: cn=AGREEMENT_NAME, cn=replica, cn=SUFFIX, cn=mapping tree, cn=config
changetype: modify
replace: ds5AgreementEnable
ds5AgreementEnable: on

  • import the file

ldapmodify -h HOST -p PORT -D rootDN -w password -f disableAgreement.ldif

Kategorije:IT, IdM Oznake:, , , ,

Sun Java System Directory Server 5.2 CLI tips: adding a new suffix

17. avgust, 2009. N4A L Ostavite komentar

Two years ago I have started a series of articles regarding manipulating Sun Java System Directory Server 5.2 from the command line. This article continues the series and describes the process of adding a new suffix and database to the installation via LDIF. Pročitaj više…

Kategorije:IT, IdM Oznake:, , ,