Old 08-12-2010, 06:31 AM   #31 (permalink)
Newbie
 
Join Date: Jun 2010
URLs submitted: 4
Posts: 5
RABST is on a distinguished road
Angry Workaround

THE SCRIPT WOULD NOT WORK AS A LOGON SCRIPT AS IT WAS TIMING OUT NO MATTER WHAT SETTINGS I USED.

What I did was amend our current logon script with the following lines:-

Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\UNC PATH\BBUntangle-AD.*" , "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\", OverwriteExisting

As I had already test the script on running directly on a PC I knew it was good so what I was doing was copying the logon script to the All Users Startup folder. This will run the script after login thus preventing the timeout issue. I do have a small niggle in that it is popping up warnings on users PC but I can live with that for the moment.

If anyone has a better solution please let me know.

Hope this Helps
RABST is offline  
Old 10-20-2010, 06:30 AM   #32 (permalink)
Untangler
 
Join Date: Oct 2009
Posts: 42
logicsound is on a distinguished road
Default

This is how I did it and this is the write up I give my techs to configure, works perfect for us. Not sure what ad server you have but should be close if not sbs 2003

To add logon script for Untangle Directory Connector on SBS 2003 Server follow the below steps

• Enable Directory connector on Active Directory Connector Tab (Untangle).
• Enter Ip address of server (domain controller)for AD server IP
• Enter Administrator and password
• Leave port 389
• Active Directory domain is domain.local (change domain to your domain name)
• Leave Organization blank
• Click AD login Script button to download script
• Save to share that all users can access
• Open Group Policy Management under Administrative Tools
• Expand Forest:domain name, Domains, Domain Name
• Right click on Default Domain Policy, choose edit
• Group Policy Object Editor will open
• Expand User configuration, Windows Settings
• Click on Scripts in left window
• Double click Logon in right window
• Click add
• Browse to network share that has script from earlier (make sure all users have access to this share)
• Click Ok to add
• Test it by going to Status tab of Directory Connector and having someone logon to domain. (click refresh after user has logged in)
logicsound is offline  
Old 10-20-2010, 10:42 AM   #33 (permalink)
Untangle Ninja
 
mrunkel's Avatar
 
Join Date: Jul 2008
Posts: 2,766
mrunkel is on a distinguished road
Default

The problems you guys are describing are always resolved by setting login scripts to run asynchronously.

The login script never terminates by design, so it is killed by windows after the default 20 minute time out if login scripts are set to run synchronously. Why it's set to 20 minutes by default baffles the mind.
__________________
m.


Big Frickin Disclaimer:
While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
mrunkel is offline  
Old 10-20-2010, 10:55 AM   #34 (permalink)
Untangle Junkie
 
dmorris's Avatar
 
Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,611
dmorris is on a distinguished road
Default

longest running thread ever?
__________________
Attention: Support and help on the Untangle Forums is provided by
volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
dmorris is offline  
Old 11-04-2010, 02:47 PM   #35 (permalink)
Newbie
 
Join Date: Nov 2010
Location: Australia
Posts: 4
support@coffsccs.nsw.edu. is on a distinguished road
Default

I was just wondering if anyone has had the problem where the script is not actually applying and they have to double click on it from a shared drive.

We run an AD domain and the script is applied via group policies from the Logon scripts policy.

One problem is that it doesn't apply for everyone, and the other problem is that it seems to drop out after some time and then they have to double click on the the script from a share to re-establish a connection.

thanks
support@coffsccs.nsw.edu. 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 05:04 AM.


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