Old 08-19-2010, 06:07 AM   #1 (permalink)
Untangler
 
Join Date: Nov 2009
Posts: 48
RGPEC is on a distinguished road
Default PC's that log in before they are plugged into lan don't authenticate

Hi All,

I seem to be observing that most of our laptops don't authenticate - I suspect this is because users are plugging them in or connecting to wifi after logging in.

I was going to contact support regarding this issue but I thought I may as well mention it on the forums first as this must be happening to other people.

To be honest I don't really understand the logon script, but I've noticed this section:

Quote:
Originally Posted by Logon Script
If WScript.Arguments.Count = 1 Then
ServerName = WScript.Arguments.Item(0)
Else
ServerName = "192.168.2.230"
So under some circumstance (Wscript.Arguments.Count=1) it would be using WScript.Arguments.Item(0) for the server name instead of the correct value 192.168.2.230

I haven't got a clue what would cause this circumstance, and what the substituted server value would be - wondering if changing to force the correct server name could help?
RGPEC is offline  
Old 08-19-2010, 08:55 AM   #2 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
sky-knight is on a distinguished road
Default

I've had to retrain my users. If they aren't connected when they log in the backup script for their stations doesn't fire. I want that data, so the default rack has only enough internet to let them get AV definitions and windows updates. If they want to get to the real world, they have to re-authenticate.

Another option is to use the captive portal.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 08-19-2010, 09:51 AM   #3 (permalink)
Untangle Ninja
 
proactivens's Avatar
 
Join Date: Sep 2008
Location: Greensburg, Pa
Posts: 2,307
proactivens is on a distinguished road
Send a message via Skype™ to proactivens
Default

yeah, go for captive portal.
__________________
www.untangleappliances.com
Toll Free: 866-794-8879
UNTANGLE PLATINUM PARTNER
Follow us at spiceworks!
proactivens is offline  
Old 08-20-2010, 02:28 AM   #4 (permalink)
Untangler
 
Join Date: Nov 2009
Posts: 48
RGPEC is on a distinguished road
Default

Many thanks for the replies, but sorry I have to say that doesn't sound like the most elegant solution - I could tell most of our users that they must plug in first, but we have a few directors who insist on using wifi despite all our protests.

Also unfortunately I work in an envoironment where the needs of the IT dept carry no weight, all that matters is keeping very poorly skilled users happy - I know the captive portal would get too many complaints and would have to be turned off. (The only way I got approval for funding for ut after months of trials and propositions was when the md saw much spam this could reduce!) Retraining our users isn't an option in my opinion as there is a significant number of them that haven't got a clue about how to do what they need to, forget learn stuff to please the it dept!

Therefore I need something transparent to the end user - surely there must be a way of getting these to automatically authenticate?

I've read on here of a directory connector app someone made, would this be likely to yield better results?

Last edited by RGPEC; 08-20-2010 at 02:36 AM..
RGPEC is offline  
Old 08-20-2010, 02:54 AM   #5 (permalink)
Untangler
 
Join Date: Mar 2010
Posts: 60
WaLshy11 is on a distinguished road
Default

So do your users login to a domain? (Im assuming so since your using the login script).

If this be the case, you can enable a option in the GPO that doesnt allow users to logon, unless they have network connection (more specifically, have a connection to the domain controller). This should allow the script run properly when they login, because there will be a proper network connection.
WaLshy11 is offline  
Old 08-20-2010, 04:24 AM   #6 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
sky-knight is on a distinguished road
Default

There is another solution... but it isn't automatic.

The AD connector script is most commonly deployed via AD. The script itself is simply running in a loop in the background.

Now, the AD scripts won't run unless the machine is on the domain at the point of login, because they are run directly out of the sysvol share on the directory controller.

I don't know how good you are at shell scripting, but it is quite possible to get the client to download the vbs script to a local directory and execute it from there. But to get the client to do this on boot, the client itself must have a local copy, and be directed to launch the script via it's normal startup routine.

If you did this properly the wifi enabled laptops would be running the script all the time. And after connecting to the network would update Untangle automatically. Of course, this all assumes they have access to the IP address / hostname in the script that gets to Untangle.

I honestly feel for you, personally I can't work in such conditions. That's why I work for myself. I'd be telling people with that little foresight to take a hike.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 08-20-2010, 05:15 AM   #7 (permalink)
Untangler
 
Join Date: Nov 2009
Posts: 48
RGPEC is on a distinguished road
Default

@ walshy - that isn't possible because users wouldn't be able to use their laptops on the move, and I am responsible for around 12 building sites, we often loose comms or have people interfere with wiring so that would cause way too much disruption.

@ sky-night, many thanks for the suggestion. When I was testing untangle, that is pretty much what I did - to place the logon script on each pc and use gpedit.msc to run the script on boot. That probably explains why I had no authentication issues while testing. Genius, thanks a million!
RGPEC is offline  
Old 08-20-2010, 06:57 AM   #8 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
sky-knight is on a distinguished road
Default

If you're going to run it locally you might consider shortening the delay between updates. There will be a lag time between when the client is connected, and before the script cycles. Until that script clues Untangle in as to who the user is... you can't use the user for access control.

So if your network works like mine where the default rack has limited access... they won't have any real internet connectivity until the script runs.

Then again I guess you could just tell them to log out and back in again. :P Or reboot... So many ways to get around misguided management if you get creative.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 08-23-2010, 01:18 AM   #9 (permalink)
Untangler
 
Join Date: Nov 2009
Posts: 48
RGPEC is on a distinguished road
Default

Thanks for the comments sky-night - this is the one area I've had limited success in training my users - I've got it in most of their heads that this fixes 99% of problems

Quote:
Originally Posted by sky-knight View Post
Then again I guess you could just tell them to log out and back in again. :P Or reboot...
RGPEC is offline  
Closed Thread

Thread Tools

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



All times are GMT -7. The time now is 04:32 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2