Changing logon name using Ldifde

  • Thread starter Thread starter aktaton
  • Start date Start date
A

aktaton

Hi all,
When I used Ldifde to change user logon name, it changed the logon
name. But, when I checked the user property, it shows only the full
name, all other fields are empty. That is, First name, Last name,
display name and Email fields are blank. Also is there any way to
change logon name and email address of 500 users without affecting
other fields? Any idea? Thank you in advance.
 
Can you post the ldif file that you are using?
Sounds like it is modifing the account rather than the attribute.

Hi,
This is the file I used:
dn: CN=First Last,CN=Users,DC=Mydomain,DC=com
changetype: modify
replace: userPrincipalName
userPrincipalName: (e-mail address removed)
-

dn: CN=First Last,CN=Users,DC=Mydomain,DC=com
changetype: modify
replace: mail
mail: (e-mail address removed)
-

I don't know what I did first but now it worked for me after a few
tries. Can you give me a hint on how to automate the process for 500
users? Our Company is planning to migrate into a different domain that
has different naming convention, the source organization use's
Firstname.Lastname format, where as the target organization uses
FirstInitialLastname format. For examle, Joe.User should be converted
to Juser. Thank you again.
 
Can you post the ldif file that you are using?
Sounds like it is modifing the account rather than the attribute.

I don't know what I did first but now it worked for me after a few
tries. Can you give me a hint on how to automate the process for 500
users? Our Company is planning to migrate into a different domain that
has different naming convention. The source organization use's
Firstname.Lastname format, where as the target organization uses
FirstInitialLastname format. Forexamle, Joe.User should be converted
to Juser. Thank you again.
 
Back
Top