LDIFDE from a file (CSV/TXT)
Posted on 2011-05-09
I need to generate a .ldf file from a list of user on another files with the following attributes:
ldifde -f users-groupname.ldf -r "(memberOf=CN=user-sgroup-,OU=OUgroup,OU=Groups,DC=holadz1,DC=combdomain,DC=com)" -l "cn,sn,givenname,displayname,displayName,userCertificate"
So let me explain better, I have an OU with members, but I do not need all the member from the OU, just the ones that I have on a list (file) LDIFDE generates a file base on the Attributes requested from an OU, but I do not need all the member from the OU, all that I need is the one from a list. I am looking for a script to run this query.