Rory,
I am going to jump in here for a second. Chriss, hope that you do not mind.
What Chriss is telling you is indeed one method. It is a very good method.
There are a lot of nice things that have been changed in WIN2003 ( or so I
am learning slowly and surely ). I have not messed with that too much as I
have simply not had the time yet!
Anyway, there are two other methods that quickly come to mind: 1) ADModify
and 2) ldifde.
ADModify is a utility that two MS guys wrote. It is really a God send for
those of us who can not script. It is located at the MS FTP Site. Below is
a link to an excellent article from Mark Fugatt. It is about changing the
display name ( partly for the GAL in Exchange 2000/Outlook ) and briefly
mentions ADModify and provides the link to the FTP Site. I thought that you
might also benefit from this web site if you have Exchange 2000 in your
environment:
http://www.msexchange.org/tutorials/MF023.html
LDIFDE is a command-line utility that allows you to add objects, modify
objects, delete objects, etc. It is very useful but does have a bit of a
learning curve. Don't worry about that, though. If I can figure it out
with all the help that is available then I am very sure that you can....;-)
The key here would be the syntax. LDIFDE is very unforgiving!
An example would be, assuming that your domain is called 'yourdomain.com'
and that you have three employees named Billy Smith, Jane Williams and Juan
Valdez ( I mean, you need to have good coffee! ):
DN: CN=Billy Smith,CN=Users,DC=yourdomain,DC=com
changeType: modify
replace: streetAddress
streetAddress: 1234 Main Street
-
replace: l ****** this is a lower case letter 'L', not a number '1'
******
l: Roanoke
-
replace: st
st: VA
-
replace: postalCode
postalCode: 24014
-
replace: c
c: US
-
replace: co
co: United States
-
replace: countryCode
countryCode: 840
DN: CN=Jane Williams,CN=Users,DC=yourdomain,DC=com
changeType: modify
replace: streetAddress
streetAddress: 1234 Main Street
-
replace: l ****** this is a lower case letter 'L', not a number '1'
******
l: Roanoke
-
replace: st
st: VA
-
replace: postalCode
postalCode: 24014
-
replace: c
c: US
-
replace: co
co: United States
-
replace: countryCode
countryCode: 840
DN: CN=Juan Valdez,CN=Users,DC=yourdomain,DC=com
changeType: modify
replace: streetAddress
streetAddress: 1234 Main Street
-
replace: l ****** this is a lower case letter 'L', not a number '1'
******
l: Roanoke
-
replace: st
st: VA
-
replace: postalCode
postalCode: 24014
-
replace: c
c: US
-
replace: co
co: United States
-
replace: countryCode
countryCode: 840
As with everything, you might want to test this in a lab environment before
using in your production environment.
Here are some links to help on ldifde:
http://www.ietf.org/rfc/rfc2256.txt
http://www.ietf.org/rfc/rfc2798.txt
http://www.ietf.org/rfc/rfc2849.txt
HTH,
Cary