hi forum !
i'm getting approches with zimbra...i was get into a rut ...in this step...an some days ago i found the "zsync_ad.sh" script...very usefull but it doesn't works for me .. so i made a (really) little changes...and they are here ...
Code:
FILTER="-f /path/to/your/ldapfilterfile/fileWithOneFilterPerLine.ldap"
$LDAPSEARCH -x -H $LDAP_SERVER -b $BASEDN -D "$BINDDN" -w $BINDPW $FILTER $FIELDS | \
i post only the deltas...the rest are the same ...and obviously the "fileWithOneFilterPerLine.ldap"
here is:
Code:
(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14)))
this filter it was shamesly stolen from ZCS Migration Wizard , [Query Builder]
i hope it be usefull for somebody
cheers and happy Zincronize!! ...