So I need to change 295 phone numbers in AD, and I could have SWORE I've done 
similar without too much headache, but it looks like taking an LDIFDE export 
and making it a "modify" is far more involved than an add.

Sample exported record:
dn: CN=David Lum,OU=Users, DC=Domain,DC=nwea,DC=pvt

changetype :add

telephoneNumber: 4311

otherTelephone: 971-222-1025


I need it to change to:
dn: CN=David Lum,OU=Users, DC=Domain,DC=nwea,DC=pvt

changetype :modify
replace: telephoneNumber

 telephoneNumber: 503-548-5229
-
Replace: otherTelephone
otherTelephone: 5229

I usually use Excel to handle repositioning/matching magic, but can't figure 
this one out and there has to be a better way.

Anyone?
David Lum // SYSTEMS ENGINEER
NORTHWEST EVALUATION ASSOCIATION
(Desk) 971.222.1025 // (Cell) 503.267.9764


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to