Tuesday, September 4, 2018

[389-users] Re: Question about replication

On 09/04/2018 10:13 AM, rainer@ultra-secure.de wrote:
> Hi,
>
>
> I'm trying to follow the handbook on creating a multi-master setup (2
> servers).
>
> cat set_referral_on_t2.ldif
>
> dn: cn=cn=dc\=sub\,dc\=domain\,dc\=ch,cn=mapping tree,cn=config
> changetype: modify
> replace: nsslapd-referral
> nsslapd-referral:
> ldaps://ldap1.bla.domain.ch:636/dc\=sub\,dc\=domain\,dc\=ch
> -
> replace: nsslapd-state
> nsslapd-state: referral on update
>
>
> ldapmodify -D "cn=Directory Manager" -W -x -h 127.0.0.1 -v -a -f
> set_referral_on_t2.ldif
>
> Enter LDAP Password:
> replace nsslapd-referral:
>     ldaps://ldap1.bla.domain.ch:636/dc\=sub\,dc\=domain\,dc\=ch
> replace nsslapd-state:
>     referral on update
> modifying entry "cn=cn=dc\=sub\,dc\=domain\,dc\=ch,cn=mapping
> tree,cn=config"
> ldap_modify: No such object (32)
>
> This is from the manual
> https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/pdf/administration_guide/Red_Hat_Directory_Server-10-Administration_Guide-en-US.pdf
>
>
> page 387.
>
>
> I've created the consumer on ldap1.
> According to the same documentation
>
>
> Though I always wondered if the cn=cn= part was a typo?
Yes it is a typo, it should be:
cn=dc\=sub\,dc\=domain\,dc\=ch,cn=mapping tree,cn=config


>
>
> Anybody got an idea?
>
>
>
> Best Regards
> Rainer
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

No comments:

Post a Comment