[Casper] need advice on self service mount points, and app launching
Thomas Larkin
tlarki at kckps.org
Fri Mar 20 09:26:21 PDT 2009
I thought about that, but I don't want all 6,000 clients accessing the
share at once and I also don't want it permanently mounted. In my
experience with this testing app from last year is that it works best if
you stagger connections and testing sessions to say, no more than 400
clients at one time.
I am going to try to invoke apple script from the command line like
suggested and see if it makes a difference.
Thanks for everyone's input and help, it is appreciated.
tom
>>> Miles Leacy <miles.leacy at themacadmin.com> 03/20/09 11:21 AM >>>
Are you using Open Directory? You can set a share as a login item via
Workgroup Manager. I'm not sure of the applicable MCX settings off the
top of my head, but if WGM can do it, you can push the MCX via a dscl
script.
----------
Miles A. Leacy IV
Certified System Administrator
Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com
2009/3/20 Thomas Larkin
<tlarki at kckps.org>
Still no dice. The problem I think I am having is that these shares are
on old Netware 6.5 servers and 6.5 supports AFP but heck if I know what
version of AFP it is. I do know that it is old enough that it does not
support encrypted passwords. If I recall you need to have universal
passwords enabled and well the Novell side is being migrated to SuSe but
I am not really a part of that project. Different network admins.
So, I can hit cmd + K and connect to the file share just fine. I can't
connect via command line. I don't know if there is actually a
difference. DNS is kind of weird because we have an old DNS running on
some legacy systems, which it is running an older DNS for these file
shares. At this point in time I am almost considering hosting the
database file on one of my Mac servers instead. I don't know how well
that will fare though, and my window to get this working is getting
shorter and shorter.
I just want to create a generic account, grant it access to this one
particular file on a network share so the application can write data to
the database file. Once the file share is mounted the application
launches and takes care of the rest.
It works if I do it manually, no problem. I however, want to have the
end user click one self service policy and have all the work done for
them under the hood. That way they just click and it works.
I was looking at Apple Scripts but those can be interrupted by the end
user. I'd rather it work under the hood via a shell script.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> Eric Winkelhake <eric.winkelhake at mundocomww.com> 03/19/09 5:29 PM
>>>
I think he's looking to have the user log in with their creds, right??
so actually that osascript works if you remove the user name and
password part. that'll make the finder request that the user log in
rather then the shell.
eric winkelhake
mundocomww
office 312 220 1669
cell 312 504 5155
Yaniv Lugassy <ylugassy at promedianj.com>
Sent by: casper-bounces at list.jamfsoftware.com
03/19/2009 05:23 PM
To
Thomas Larkin <tlarki at kckps.org>, Thomas Larkin
<TLARKI.PO-001.admin at kckps.org>, <casper at list.jamfsoftware.com>
cc
Subject
Re: [Casper] need advice on self service mount points, and app launching
How about something like this for the script, should do the mount for
you without any problems:
osascript -e 'mount volume "afp://username:pass@servername/sharepoint"'
Yaniv Lugassy
Promedia Technology Services, Inc.
Office: 973.253.7600 x2308
Fax: 973.253.5601
www.promedianj.com<http://www.promedianj.com (
http://www.promedianj.com/ )>
From: Thomas Larkin <tlarki at kckps.org>
Date: Thu, 19 Mar 2009 15:04:32 -0500
To: Thomas Larkin <TLARKI.PO-001.admin at kckps.org>,
<casper at list.jamfsoftware.com>
Subject: Re: [Casper] need advice on self serfine via the finder, however when using the mount_afp command I can
never get it to work. I always get this error:
mount_afp: AFPMountURL returned error 22, errno is 118
So this is my method of doing this from the terminal:
mkdir /Volumes/FS106
mount_afp
afp://user:password@10.10.10.10<mailto:afp://user:password@10.10.10.10>
/Volumes/FS106
I am looking at creating a generic user account so it just auto maps via
a script and possibly loop it so that is checks to see if that volume is
mounted and then once it is mounted it will launch the app, which will
have location specific configuration for where to look for the database
file.
Any help would be appreciated
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> "Thomas Larkin" <tlarki at kckps.org> 03/19/09 11:28 AM >>>
Well
This is a bit of a complicated debacle I am in. I have some old Novell
servers that do not support encrypted passwords, so I must have users
log in using plain text. So I need to mass edit a plist file on each
user account to allow this. Then I want them to click once on a self
service policy and have it map the network share that holds the database
files. Then in the app's preferences I already have it pointed out where
to look.
I looked at the mount_afp command but when I run it in interactive mode
it always asks for authentication in the terminal? I can't seem to get a
GUI based dialog box. I also need it to wait for about 20 seconds while
the user authenticates and then have it launch the app in question.
I have the app configured and it works when I do everything manually,
but I need to wrap this up in a one click solution for the end user, so
they don't get confused. My other thought is to just create one generic
user account that can have access to this database file and then use
that generic password in the script and just have it mount under the
hood with out the user's actual credentials.
Thanks for any advice.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
------------------------------------------------------------------------
Disclaimer
The information in this email and any attachments may contain
proprietary and confidential information that is intended for the
addressee(s) only. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution, retention or use of
the contents of this information is prohibited. When addressed to our
clients or vendors, any information contained in this e-mail or any
attachments is subject to the terms and conditions in any governing
contract. If you have received this e-mail in error, please immediately
contact the sender and delete the e-mail.
------------------------------------------------------------------------
Mundocom UK Limited, Registered in England and Wales. Registration
Number 2882166. Registered Office: Warwick Building, Kensington Village,
Avonmore Road, London W14 8HQ.
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090320/6ecd341c/attachment.html
More information about the Casper
mailing list