[389-users] Creating windows sync agreements via ldif

Juan Carlos Camargo juancar at eprinsa.es
Tue Mar 27 06:49:40 UTC 2012


Fixed! Thanks Carsten! 

----- Mensaje original -----

De: "Carsten Grzemba" <grzemba at contac-dt.de> 
Para: "General discussion list for the 389 Directory server project." <389-users at lists.fedoraproject.org> 
Enviados: Lunes, 26 de Marzo 2012 15:22:57 
Asunto: Re: [389-users] Creating windows sync agreements via ldif 


Hi, 

nsds5BeginReplicaRefresh: start 

should do the job. 
But I have not done this in a single step, but first add the agreement and then add the attribute nsds5BeginReplicaRefresh: start 

Perhaps that helps 
Regards 
Carsten 


Am 26.03.12, schrieb Juan Carlos Camargo <juancar at eprinsa.es>: 





Hi, 


I'm making a script to recreate a windows sync agreement in my server and I've found that even the agreement is created and started, no sync in fact ever occurs. I've noticed also that the "cookie" attribute " nsds7DirsyncCookie" is never created for the sync object even after a full resync. No errors are shown , everthing looks normal. If I create the agreement via console then everything works as expected. Can you help me? Probably I'm missing something but cannot figure it out. 

Regards! 


.ldif file: 



cn: cn=adamuz,cn=replica,cn=dc\3Dmetaeprinsa\2Cdc\3Dorg,cn=mapping tree,cn=config 
changetype: add 
objectClass: top 
objectClass: nsDSWindowsReplicationAgreement 
description: adamuz 
cn: adamuz 
nsds7WindowsReplicaSubtree: dc=adamuz,dc=local 
nsds7DirectoryReplicaSubtree: ou=adamuz,ou=ayuntamientos,ou=usuarios,dc=metaeprinsa,dc=org 
nsds7NewWinUserSyncEnabled: on 
nsds7NewWinGroupSyncEnabled: off 
nsds7WindowsDomain: adamuz.local 
nsDS5ReplicaRoot: dc=metaeprinsa,dc=org 
nsDS5ReplicaHost: adamuzhost.epr 
nsDS5ReplicaPort: 389 
nsDS5ReplicaBindDN: <cn of proxy user> 
nsDS5ReplicaTransportInfo: LDAP 
nsDS5ReplicaCredentials: < pass of proxy user> 
nsds5BeginReplicaRefresh: start 





-- 







J u an Carlos Camargo Carrillo 
957-211157 , 650932877 


-- 
389 users mailing list 
389-users at lists.fedoraproject.org 
https://admin.fedoraproject.org/mailman/listinfo/389-users 


-- 







J u an Carlos Camargo Carrillo 
957-211157 , 650932877 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120327/211bf40d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.jpg
Type: image/jpeg
Size: 3538 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120327/211bf40d/attachment.jpg>


More information about the 389-users mailing list