exportaOpenldapParaActivedirectory.bat

// openldap.ldf

dn: CN=sgarbes,OU=Usuarios,DC=EMPRESA,DC=CORP

changetype: add

objectClass: top

objectClass: person

objectClass: organizationalPerson

objectClass: user

cn: sgarbes

givenName: sgarbes

distinguishedName: CN=sgarbes,OU=Usuarios,DC=EMPRESA,DC=CORP

displayName: sgarbes

name: sgarbes

sAMAccountName: sgarbes

userPrincipalName: sgarbes@EMPRESA.CORP

objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=EMPRESA,DC=CORP

employeeNumber: 12345

employeeType: Contratado

mail: sgarbes@empresa.com.br

telephoneNumber: 2289

// exportaOpenldapParaActivedirectory.bat

cd c:\empresa

ldifde -i -k -f .\openldap.ldf