All, I'm splitting out the large home share on our file server, and spreading the user directories across three different LUNs (don't ask, it's a long story...)
So, I've got the files copying now, but I need to reset all of the user profiles to reflect the new shares to which they'll be directed. I've got a list with the DN for each user, and the new share name, it in the format of: "cn=Chatty Kathy,ou=users,ou=companyname-us,dc=company,dc=com"<tab>\\fileserver\home1\ckathy and admod isn't liking it. This incantation spits up error messages: for /f "tokens=1,2 " %i in (change1.txt) do admod -b $i "homedrive::H:" "homedirectory::%j" That looks like this: DN Count: 1 Using server: dc4.company.com:389 Directory: Windows Longhorn Modifying specified objects... DN: $i...: [dc4.company.com] Error 0x22 (34) - Invalid DN Syntax ERROR: Too many errors encountered, terminating... The command did not complete successfully And so on... Does anyone have a better way of doing this that they could share with me? I really don't want to modify each account manually, since I've got about 220 of them. Thanks, Kurt ~ 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