- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Newbie
Join Date: Feb 2011
Posts: 8
![]() |
I would have posted this on that old thread (Using UT with MAC OS X Server - can't post links yet), but it has been locked. I'm attempting to utilize that script, but am getting some "command not foundne"s and a syntax error. I would love to utilize the Directory Connector via our Macs authenticating on the AD domain.
Any help would be much appreciated! |
|
|
|
|
#2 (permalink) |
![]() ![]() Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
![]() |
While we're waiting on Lannie to help, assuming he can.
The officially supported way to do this is via the captive portal.
__________________
Rob Sandling, BS:SWE, MCP Intouch Technology Phone: 480-272-9889 rob@intouchtechllc.com UntangleAppliances.com Phone: 866-794-8879 |
|
|
|
|
#3 (permalink) |
|
Newbie
Join Date: Feb 2011
Posts: 8
![]() |
Thanks for the response. I supposed we could begin using that in a pinch, but the majority of our network is PC and is authenticated by the Directory Connector. It would be great if we could like keep the authentication consistent for the Macs.
Here are the results I get from executing the script... Code:
$ sh adlogon_user.sh : command not foundne 2: : command not foundne 4: : command not foundne 7: : command not foundne 10: adlogon_user.sh: line 35: syntax error: unexpected end of file |
|
|
|
|
#4 (permalink) | |
![]() Join Date: Jul 2008
Posts: 1,081
![]() |
Quote:
./adlogon_user.sh The lines it is complaining about are spaces or carrage returns. Strange. Make sure the file is set to executable as well with the command: chmod 755 adlogon_user.sh Let me know if that helps. Lannie |
|
|
|
|
|
#5 (permalink) |
![]() Join Date: Jul 2008
Posts: 1,081
![]() |
I've also found that sometimes if you do anything with the file from windows it can mess it up. The easiest way to fix that is to copy the content from the guide on this site, then open up a new file from the command line on the Mac and paste it in as a new file.
Then set it to executable again. Lannie PS Easiest way to edit a file on the Mac is with the nano editor. So type 'nano adlogon_user.sh' and it will open up an empty file. Paste into it and hit control x to exit and it will ask to save the file. Say yes! DON'T forget to change the IP to match your LAN ip of your untangle box.Last edited by lschafroth; 03-04-2011 at 06:21 AM.. |
|
|
|
|
#7 (permalink) |
![]() ![]() Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
![]() |
If you want to edit linux shell scripts on Windows, I suggest you use Editplus.
http://www.editplus.com/ There is a small fee to register it, but it does a great job of keeping those carriage returns and whatnot clean. Notepad is TERRIBLE to edit scripts on, because it breaks things. I've been told that notepad++ can do the same thing, but I've never tried it myself. http://notepad-plus-plus.org/ I've done all my linux scripting via WinSCP for so long I forgot about this little SNAFU. Sorry jggbbg, I'm a bit slow! ![]()
__________________
Rob Sandling, BS:SWE, MCP Intouch Technology Phone: 480-272-9889 rob@intouchtechllc.com UntangleAppliances.com Phone: 866-794-8879 |
|
|
![]() |
| Thread Tools | |
|
|