Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Notices

Windows

Windows forum sponsored by

For all of your Windows problems

Go Back   EduGeek.net Forums > Technical > Windows
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 05-12-2007, 10:02 AM   #1
 
tomlin's Avatar
 
Join Date: May 2006
Location: Frimley, Surrey
Posts: 36
Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 6 tomlin is on a distinguished road
Default STOP UNC Connections

Is there anyway to stop valid domain users creating a unc conection to the server shares i.e "\\Domain\Shared" and loggin in, when on the XP logon screen they change "log on to" from domain to (this computer)

But still allow domain admins to create connections.

Windows Server 2003 R2 SP2
  Reply With Quote
Old 05-12-2007, 10:08 AM   #2
 
plexer's Avatar
 
Join Date: Dec 2005
Location: Norfolk
Posts: 4,133
uk
Thanks: 30
Thanked 93 Times in 92 Posts
Rep Power: 32 plexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of light
Default Re: STOP UNC Connections

They shouldn't be able to logon to the local computer in the first place.

Ben
  Reply With Quote
Old 05-12-2007, 10:33 AM   #3
 
localzuk's Avatar
 
Join Date: Dec 2006
Location: Minehead, Somerset
Posts: 3,964
isle of man uk isle of man
Thanks: 49
Thanked 105 Times in 93 Posts
Blog Entries: 12
Rep Power: 31 localzuk is a name known to alllocalzuk is a name known to alllocalzuk is a name known to alllocalzuk is a name known to alllocalzuk is a name known to alllocalzuk is a name known to all
Send a message via MSN to localzuk Send a message via Yahoo to localzuk Send a message via Skype™ to localzuk
Default Re: STOP UNC Connections

I just want to get this clear in my head.

A user logs in to the local machine
They then try to connect to a server and enter valid domain credentials
You don't want them to be able to connect like this.

Is this correct? If so, then not really. The thing is, the user has permissions to connect to the domain. The ability to log in to UNC shares from non-domain accounts uses the same process as logging in to a domain (minus GPO's and that sorta thing). So the server doesn't actually see any difference.

The ways around this problem could include using firewalls on the client machines which disallow traffic on the SMB sharing ports for non-domain accounts (ie. 'Standard Profile' in the Windows firewall part of a GPO). Or to use a third party lock down tool to prevent this.

Or if the machines are external machines, a combination of the above with RADIUS authentication to prevent unauthorised computers connecting to the network. Or finally, a firewall on the servers which only allows access to resources to a list of legitimate computers (would only work with static IP's) - this would be a bodge job to get around needing a RADIUS server and could very easily be bypassed.
  Reply With Quote
Old 05-12-2007, 10:35 AM   #4
 
mrforgetful's Avatar
 
Join Date: May 2006
Posts: 1,431
Thanks: 3
Thanked 7 Times in 7 Posts
Rep Power: 9 mrforgetful is on a distinguished road
Default Re: STOP UNC Connections

Yeh they shouldn't be logging in locally at all.

But you could start my adding a $ to the end of all the shares which will hide them.

They'll still be accessible but the students will need to know it's there and type the exact path.
  Reply With Quote
Old 05-12-2007, 11:14 AM   #5
 
sahmeepee's Avatar
 
Join Date: Oct 2005
Location: Greater Manchester
Posts: 623
Thanks: 8
Thanked 19 Times in 19 Posts
Rep Power: 11 sahmeepee will become famous soon enough
Default Re: STOP UNC Connections

You could set up local group policies to remove access to the features which allow unc connections to be made easily e.g. disable the run menu, disable typing paths directly into windows explorer address bar etc as you would with a domain group policy.

For admins you could put a net use script in your start menu or something.

It seems a long way round compared to just not giving them a local account though! Presumably there's a specific reason why they need a local login?
  Reply With Quote
Old 05-12-2007, 11:57 AM   #6
 
tomlin's Avatar
 
Join Date: May 2006
Location: Frimley, Surrey
Posts: 36
Thanks: 1
Thanked 2 Times in 2 Posts
Rep Power: 6 tomlin is on a distinguished road
Default Re: STOP UNC Connections

SLT asked for local logon's on all admin workstations.

Have tried GPO computer configuration > administrative templates > network > network connections > windows firewall > standard profile >

137:TCP:localsubnet:disabled:SMB
138:TCP:localsubnet:disabled:SMB
139:TCP:localsubnet:disabled:SMB
445:TCP:localsubnet:disabled:SMB
137:UDP:localsubnet:disabled:SMB
138:UDP:localsubnet:disabled:SMB
139:UDP:localsubnet:disabled:SMB
445:UDP:localsubnet:disabled:SMB

While logged into the domain ran gpupdate /force then gpresult (GPO applied ok), logged out logged in locally but the firewall polices were not there
  Reply With Quote
Old 05-12-2007, 12:13 PM   #7
 
sahmeepee's Avatar
 
Join Date: Oct 2005
Location: Greater Manchester
Posts: 623
Thanks: 8
Thanked 19 Times in 19 Posts
Rep Power: 11 sahmeepee will become famous soon enough
Default Re: STOP UNC Connections

Have you tried setting those as local group policies (i.e. start>run>gpedit.msc) rather than applying them to an OU. It's more of a pain, but might be necessary for local logons. With it being a computer policy I am a bit surprised.

Still a bit unsure what the local logons achieve, but presumably you can't get out of it!
  Reply With Quote
Old 05-12-2007, 12:45 PM   #8
 
plexer's Avatar
 
Join Date: Dec 2005
Location: Norfolk
Posts: 4,133
uk
Thanks: 30
Thanked 93 Times in 92 Posts
Rep Power: 32 plexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of lightplexer is a glorious beacon of light
Default Re: STOP UNC Connections

You said SLT want local logins on all admin stations? so we aren't talking about kids using these machines then?

If it's staff why worry?

Ben
  Reply With Quote
Old 05-12-2007, 01:00 PM   #9
AustenLowe
Guest
 
AustenLowe's Avatar
 
Posts: n/a
Default Re: STOP UNC Connections

Try creating a domain login with an identical login and password to that of the local login.

I.e

Local login LocalUser pass LocalMachine

Create this on the domain too and remove it from domain users and add to domain guests.

Windows should by design try and authenticate with the credentials it already has been supplied with at the point of logon.

Not sure if it will prompt for an alternative login or just say access denied. hell you could try disabling the account too.

Its all educated theory never had to try it.
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Connections - I NEED HELP PLEASE Mr_M_Cox Windows 14 07-06-2007 06:00 PM
Internet Connections 20RickY06 General Chat 7 06-09-2006 08:56 AM
How to rid of hidden network connections. tickmike Networks 4 09-08-2006 01:19 AM
Promethean IWB Connections plexer Hardware 6 21-07-2006 04:01 PM
Dual ADSL connections Simcfc73 Networks 1 09-03-2006 10:19 AM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

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 On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:40 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net