Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Operating Systems » Windows Server » [Resolved]Active Directory Issue (Pulls hair out)

Windows Server - [Resolved]Active Directory Issue (Pulls hair out) posted in the Operating Systems forums; Ok I've got one that's interesting. I'm currently trying to fine tune a domain I've been working on for some time now for my school. I'm having a strange issue ...

JOIN US NOW to remove these Ads

PC Help Forum, the number one FREE computer support website in the search engines
Post New Thread  Reply
  #1  
Old 07-11-2007
double_a_ron's Avatar
Elite Member
My PC
 
Join Date: Sep 2005
Location: Canada
Posts: 911
PC Experience: Very Experienced
double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page
Default [Resolved]Active Directory Issue (Pulls hair out)

Ok I've got one that's interesting.

I'm currently trying to fine tune a domain I've been working on for some time now for my school.

I'm having a strange issue setting my home folders for my users.

Domain name: trios.windsor.lan
DC name: DC_TRIOS

as far as OUs I have "instructors" and "students" and in the students OU there is another OU called "accounts" (further subdivided by course)

I've written and successfully run the user creation scripts (200+ users) the last user creation script calls my "DSMOD" script which essentially is the following command.

dsquery user "ou=accounts,ou=students,dc=trios,dc=windsor,dc=la n" -limit 0 | dsmod user -profile \\dc_trios\profiles\$username$ -hmdir \\dc_trios\home\$username$ -loscr \\dc_trios\logonscript.bat

Note: I've also tried the %username% variable to the same effect.

Essentially that pipes the results of the dsquery (of all student accounts) to the dsmod command and the results are apparently proper (the home folder path and mapped drive are correct if I open the accounts properties in the GUI). however the home folders are not created, as they should be and when I test a user account the mapped drive brings me right to the c:\home directory on the DC which is also the file server, as opposed to the should be created folder within that directiory.

Here's where it gets weird.

If I open up the properties of a user account, then highlight the UNC path in the "home folder" section, cut it and paste it back in the same spot and hit Okay, it creates the folder and the mapped drive functions normally.

I've discovered that I can at least select all the user accounts in any given OU and modify the UNC in one shot, but why does it not work when i run it from a command line?


__________________
//Prework\\\///PCHF RULES\\\///Did we help? Please Donate\\\

CompTIA A+ Certified, MCDST



Did we help? Please hit that Thanks button.
  #2  
Old 07-16-2007
DarkLord7854's Avatar
The cake is a lie..
My PC
 
Join Date: Sep 2005
Location: Florida
Posts: 1,365
PC Experience: Of Epic Proportions.
DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page
Default

Oy,

Seeing as this is somewhat an out-of-depth question, may I point you to www.forums.bit-tech.net ? They have a web dev community there as well and I'm fairly certain they could help you as well


__________________
Don't forget to rate posts if you find them helpful
  #3  
Old 07-16-2007
double_a_ron's Avatar
Elite Member
My PC
 
Join Date: Sep 2005
Location: Canada
Posts: 911
PC Experience: Very Experienced
double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page
Default

Cheers for the link, I'm going to check it out.

Actually, it doesn't seem to be working.


__________________
//Prework\\\///PCHF RULES\\\///Did we help? Please Donate\\\

CompTIA A+ Certified, MCDST



Did we help? Please hit that Thanks button.
  #4  
Old 07-16-2007
DarkLord7854's Avatar
The cake is a lie..
My PC
 
Join Date: Sep 2005
Location: Florida
Posts: 1,365
PC Experience: Of Epic Proportions.
DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page DarkLord7854 - See this Members User comments on their Profile page
Default

Ah, my bad, it doesn't take the www.

bit-tech.net Forums - Powered by vBulletin

There we go


__________________
Don't forget to rate posts if you find them helpful
  #5  
Old 07-21-2007
GaRHaR's Avatar
Tech Support Team
My PC
 
Join Date: Jul 2006
Location: Western Australia
Posts: 6,095
PC Experience: Elite PC Guru
GaRHaR - See this Members User comments on their Profile page GaRHaR - See this Members User comments on their Profile page GaRHaR - See this Members User comments on their Profile page GaRHaR - See this Members User comments on their Profile page GaRHaR - See this Members User comments on their Profile page GaRHaR - See this Members User comments on their Profile page
Send a message via ICQ to GaRHaR Send a message via MSN to GaRHaR Send a message via Yahoo to GaRHaR
Default

hey DAR...how'd you go on that other forum? I only just saw this question now and i'll take a look for you if they haven't helped you


__________________


"Study without desire spoils the memory, and it retains nothing that it takes in."
- Leonardo da Vinci

"I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else."
- C. S. Lewis
  #6  
Old 07-24-2007
double_a_ron's Avatar
Elite Member
My PC
 
Join Date: Sep 2005
Location: Canada
Posts: 911
PC Experience: Very Experienced
double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page double_a_ron - See this Members User comments on their Profile page
Default

Actually, I haven't really gotten to the site much, just haven't had much time. I'm going to mark the thread as resolved even though I haven't figured out the cause of the issue, I simply changed all the users one OU at a time in the GUI.


__________________
//Prework\\\///PCHF RULES\\\///Did we help? Please Donate\\\

CompTIA A+ Certified, MCDST



Did we help? Please hit that Thanks button.

Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT +1. The time now is 02:21 PM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top