Introduction to LDIFDE Modify
One of the main uses of LDIFDE is to modify existing Active Directory objects. In fact Modify, is the key advantage of LDIFDE compared with CSVDE.
- Modify a User’s Attributes
- Learning Points for LDIFDE Modify
- Download your eBook: How to use LDIFDE commands – only $5.25
LDIFDE Modify a User’s Attributes
Stage 1: Obtain the dn (distinguished name)
If in doubt, then use ADSI Edit from the support tools. The dn: consists of a cn (common name), then the OU or Users container, and finally the domain name. The domain name may, or may not have an extension such as .com.
Stage 2: Open Notepad and create the ldifde code:
Save the file for example, ron.ldf
Stage 3: At the command prompt type, ldifde -i -f ron.ldf
Note 1: Naturally navigate to the correct folder where you saved the ron.ldf file.
Note 2: Remember the -i import and – f switches.
Note 3: Pay special attention to the – (Dash) so many people overlook this important terminator.
Note 4: Pay close attention to the keywords, changetype: modify. Next examine how replace: specifies the LDAP property, you could substitute Company, Department or even PhysicalDeliveryOfficeName, however you cannot just make up LDAP properties, you have know or research the precise spelling. See more here.
Import users from a spreadsheet. Just provide a list of the users with their fields in the top row, and save as .csv file. Then launch this FREE utility and match your fields with AD’s attributes, click and import the users.
Optionally, you can provide the name of the OU where the new accounts will be born. Download your FREE bulk import tool.
If you need more comprehensive software, download a free trial of SAM (Server & Application Monitor)
If you like this page then please share it with your friends