Change mailNickname Attribute on all users in AD - csvde Constraint Violoation, entry skipped.

S

Scott Townsend

When we had Exchange 5.5 at one point and our User Aliases (mailNickname)
were set to firstinitial_lastname i.e. s_townsend Since then we have
standarized on first.last i.e. scott.townsend

We are now running AD on Win2003 and Exchange 2003 server.

We've added a new domain name and I want to make sure that all the new
aliases are setup so when I enter the domain name that they all get
defaulted to: (e-mail address removed)

I was trying to get CSVDE to export all the entries, then make the changes
to the CSV file, then reimport. When I re-import I get the below error...

Any Suggestions?

Thanks,
Scott<-

---My import file...
objectClass,DN,displayName,mailNickname
user,"CN=Scooter Junk Mail,OU=Users,OU=Townsend,OU=Family
Members,OU=Corporate Associates,DC=DOMAIN,DC=com",Scooter Junk
Mail,scooter.townsend

---My results:
Connecting to "server-dc.DOMAIN.COM"
Logging in as current user using SSPI
Importing directory from file "scooter.csv"
Loading entries
2: CN=Scooter Junk Mail,OU=Users,OU=Townsend,OU=Family Members,OU=Corporate
Associates,DC=DOMAIN,DC=com
Attribute 0) objectClass: user
Attribute 1) displayName: Scooter Junk Mail
Attribute 2) mailNickname: scooter.townsend

Constraint Violoation, entry skipped.

0 entries modified successfully.

The command has completed successfully
 
C

Cary Shultz [A.D. MVP]

Scott,

You can not modify objects with CSVDE - you can only import ( creating the
objects ) or export ( putting everything to a .csv file ). You can,
however, use ldifde to make modifications.

However, I am not sure that this is the problem. It is actually the
Recipient Policy that controls this. You can change things but using
'variables'. I think that you would simply enter %g.%s to create your
desired e-mail addresses as , by default, the 'alias' is used.

Please look at the following MSKB Article:

http://support.microsoft.com/?id=285136

HTH,

Cary
 
S

Scott Townsend

Hey Cary!

Thank you for the reply...

I have used the Recipient policy to create the email address using %g.%s.
Though be default when you enter in just the domain, "@domain.com" you would
get "(e-mail address removed)" and the 'mainNickname' seems to be used for
other things too.

I would just like to get all of ours to be consistant so they are all in the
same format and not 3 or 4 different ones.

Thanks,

Scott<-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top