Jump to content



Photo

  • Please log in to reply
6 replies to this topic

#1 neohelp

neohelp

    Neowinian

  • Joined: 18-June 13

Posted 15 July 2013 - 10:37

Hello

I have a AD running 2003 and currently when users login, they are mapped several network drives that are currently on the domain server: We bought a new NAS and now want those network drives to point to the NAS, instead of the domain server.

I tried this:



But it seems not to work.


#2 Daedroth

Daedroth

    Neowinian

  • Tech Issues Solved: 1
  • Joined: 15-June 11
  • Location: UK

Posted 15 July 2013 - 11:59

You can map drives using Group Policy, simply configure it and apply it to the OU your users are in.

 

Or have a batch file to run every time a user logs in. An batch file would be:

 

net use z: \\nas\share1


#3 +giantsnyy

giantsnyy

    Neowinian

  • Joined: 21-January 02

Posted 15 July 2013 - 12:17

But it seems not to work.

 

Try this:  Copy that script you wrote into the NETLOGON folder, and instead of "Browsing" for the file, type in "%logonserver%\netlogon\map.bat" without the quotes.



#4 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 24
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 15 July 2013 - 13:52

It takes 2 reboots for a gpo to take place on windows xp machines.  You can force the policy by using the following command:

gpupdate /force

 

you can check to see if your policy is being applied by using the following command

gpresult

or

gpresult /r

 

you can graphically see what policies are being applied by using this at a run prompt

rsop.msc

 

If you do not see your policy being applied, you will never be able to map drives using the method laid out. 



#5 OP neohelp

neohelp

    Neowinian

  • Joined: 18-June 13

Posted 15 July 2013 - 15:54

OK, thank you :) Ill try it out tommorow some more....

On topic: A Linux based NAS with a Windows domain and its permissions is a hellhole...

#6 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 24
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 15 July 2013 - 15:59

Yes which is why I would recommend a iscsi NAS. It can be linux based, it just needs to support the iscsi protocol. If it is enabled, then windows can see the share as a local drive to the server and apply permissions and shares accordingly.



#7 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 15 July 2013 - 16:10

On topic: A Linux based NAS with a Windows domain and its permissions is a hellhole...

 

If your NAS runs Linux it almost certainly uses SAMBA, which supports Windows domains very well. If you are referring to problems you are having setting up user accounts or syncing permissions for AD, I recommend that you join the NAS to your domain. At my workplace we have a Windows domain with almost exclusively Windows 7 clients, but all of our network storage servers are either RHEL-based or Debian-based. We have them all joined to the domain and configured to allow login from users in specific AD groups. The key is keeping those servers in a separate OU so the GP for clients doesn't apply to them. For more detailed information read the Domain Membership chapter of the SAMBA Manual.