No subject
Thu Mar 5 04:39:10 PST 2009
&sliceId=3D1</a><BR>
And then to:<BR>
<a href=3D"http://www.macosxhints.com/article.php?story=3D20071028025409750&=
;mode=3Dprint">http://www.macosxhints.com/article.php?story=3D20071028025409750&=
amp;mode=3Dprint</a><BR>
<BR>
You can run:<BR>
$ defaults write com.apple.AppleShareClient "afp_cleartext_allow"=
-bool YES<BR>
$ defaults write com.apple.AppleShareClient "afp_cleartext_warn" =
-bool YES<BR>
<BR>
This is for older Novell servers that don’t have Universal passwords =
set up on them (they really should, but I doubt I need to tell you that).<BR=
>
<BR>
For then doing the mounts, we have a set of scripts (I assume this is NWEA?=
) that we use to do the mounts and loads of tests. =A0If this is the case, I c=
an send them along off-list, let me know. =A0Or, for opening single apps that =
require a mount point, I use script editor to write an app and then save it =
as an app bundle so we can brand it and use it. =A0Below is sample code for th=
is.<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'> <BR>
<BR>
<B>if</B> <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
</SPAN><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'> <BR>
<BR>
</SPAN></FONT></FONT><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'><FONT=
FACE=3D"Verdana, Helvetica, Arial">(<FONT COLOR=3D"#1800FF">list disks</FONT>)<=
/FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><=
FONT FACE=3D"Verdana, Helvetica, Arial"><B>does not</B></FONT></FONT><FONT FAC=
E=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verd=
ana, Helvetica, Arial"><B>contain</B></FONT></FONT><FONT FACE=3D"Helvetica, Ve=
rdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"VolumeNam=
e"</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3=
500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>then<BR>
</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT FA=
CE=3D"Verdana, Helvetica, Arial">--<FONT COLOR=3D"#4B4E4E">test to see if volume=
is already mounted then<BR>
</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR=3D=
"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>tell</B></FONT></FONT><F=
ONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FAC=
E=3D"Verdana, Helvetica, Arial">application</FONT></FONT><FONT FACE=3D"Helvetica=
, Verdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"Finde=
r"<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial">=A0=A0=A0=A0=A0=A0=A0</FONT><FONT COLOR=3D"#1=
800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">mount volume</FONT></FONT><FON=
T FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, A=
rial">"<a href=3D"afp://user:password@server.domain.org/VolumeName">afp:/=
/user:password at server.domain.org/VolumeName</a>"<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR=3D"#3500F=
F"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>end</B></FONT></FONT><FONT FACE=
=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verda=
na, Helvetica, Arial"><B>tell<BR>
end</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT C=
OLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>if<BR>
</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">--hide volume from=
desktops so it doesn’t get messed with<BR>
</FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">do shel=
l script</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT F=
ACE=3D"Verdana, Helvetica, Arial">"/usr/bin/SetFile -a V /Volumes/VolumeN=
ame"<BR>
<FONT COLOR=3D"#1800FF">do shell script</FONT></FONT><FONT FACE=3D"Helvetica, V=
erdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"killall =
Finder"<BR>
<FONT COLOR=3D"#3500FF"><B>tell</B></FONT></FONT><FONT FACE=3D"Helvetica, Verda=
na, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Ari=
al">application</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT>=
<FONT FACE=3D"Verdana, Helvetica, Arial">"System Events"</FONT><FONT=
FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"=
Verdana, Helvetica, Arial"><B>to</B></FONT></FONT><FONT FACE=3D"Helvetica, Ver=
dana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, A=
rial">delay</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FON=
T FACE=3D"Verdana, Helvetica, Arial">2<BR>
<FONT COLOR=3D"#3500FF"><B>tell</B></FONT></FONT><FONT FACE=3D"Helvetica, Verda=
na, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Ari=
al">application</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT>=
<FONT FACE=3D"Verdana, Helvetica, Arial">"Finder"<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial">=A0=A0=A0</FONT><FONT COLOR=3D"#1800F=
F"><FONT FACE=3D"Verdana, Helvetica, Arial">open</FONT></FONT><FONT FACE=3D"Helv=
etica, Verdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, He=
lvetica, Arial">file</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </=
FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"Applications:MyApp"</=
FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><F=
ONT FACE=3D"Verdana, Helvetica, Arial"><B>of</B></FONT></FONT><FONT FACE=3D"Helv=
etica, Verdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, He=
lvetica, Arial">startup disk<BR>
</FONT></FONT><FONT FACE=3D"Verdana, Helvetica, Arial"><FONT COLOR=3D"#3500FF">=
<B>end</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT=
COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>tell<BR>
</B></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &n=
bsp; <BR>
<BR>
</FONT></SPAN></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN =
STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
Note in the above that the /usr/bin/SetFile file is from the develope=
r tools and is used to hide the volume from the desktop. =A0It works much like=
the jamf mount=A0–hidden command but this doesn’t seem to hide it=
from finder like the jamf one does (which changed in 6) so that apps can st=
ill see the volume. =A0We use this to launch our apps needing a volume, but do=
n’t use it for testing.<BR>
<BR>
-John<BR>
<BR>
<BR>
On 3/20/09 11:26 AM, "Thomas Larkin" <<a href=3D"tlarki at kckps.or=
g">tlarki at kckps.org</a>> wrote:<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
I thought about that, but I don't want all 6,000 clients accessing th=
e share at once and I also don't want it permanently mounted. =A0In my experie=
nce with this testing app from last year is that it works best if you stagge=
r connections and testing sessions to say, no more than 400 clients at one t=
ime. =A0 <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
I am going to try to invoke apple script from the command line like s=
uggested and see if it makes a difference. &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
Thanks for everyone's input and help, it is appreciated. =
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
tom<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
>>> Miles Leacy <<a href=3D"miles.leacy at themacadmin.com">mi=
les.leacy at themacadmin.com</a>> 03/20/09 11:21 AM >>><BR>
Are you using Open Directory? You can set a share as a login item via Workg=
roup 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.<BR>
<BR>
----------<BR>
Miles A. Leacy IV<BR>
<BR>
 Certified System Administrator<BR>
 Certified Trainer<BR>
Certified Casper Administrator<BR>
----------<BR>
voice: 1-347-277-7321<BR>
<a href=3D"miles.leacy at themacadmin.com">miles.leacy at themacadmin.com</a><BR>
www.themacadmin.com <<a href=3D"http://www.themacadmin.com">http://www.the=
macadmin.com</a>><BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A02009/3/20 Thomas Larkin =A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a>> =A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
Still no dice. The problem I think I am having is that these shares a=
re on old Netware 6.5 servers and 6.5 supports AFP but heck if I know what v=
ersion of AFP it is. I do know that it is old enough that it does not suppor=
t encrypted passwords. If I recall you need to have universal passwords enab=
led and well the Novell side is being migrated to SuSe but I am not really a=
part of that project. Different network admins. &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
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 syste=
ms, 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 ser=
vers instead. I don't know how well that will fare though, and my window to =
get this working is getting shorter and shorter. &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
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 t=
akes care of the rest.  =
;<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
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. &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
I was looking at Apple Scripts but those can be interrupted by the en=
d user. I'd rather it work under the hood via a shell script. &n=
bsp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
=A0___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a><BR>
blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0>>> Eric Winkelhake <<a href=3D"eric.winkelhake at mundocomww.com">=
eric.winkelhake at mundocomww.com</a>> 03/19/09 5:29 PM >>> =A0=A0=A0=A0=A0=A0=A0=
=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0<BR>
=A0I 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.=
<BR>
<BR>
eric winkelhake<BR>
mundocomww<BR>
office 312 220 1669<BR>
cell 312 504 5155<BR>
<BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
=A0=A0<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<B>Yaniv Lugassy <<a href=3D"ylugassy at promedianj.com">ylugassy at prome=
dianj.com</a></B> <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
><BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
Sent by: <a href=3D"casper-bounces at list.jamfsoftware.com">casper-bounce=
s at list.jamfsoftware.com</a> =
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0  =
; <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
03/19/2009 05:23 PM &=
nbsp;<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &nb=
sp; <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
To <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &nbs=
p; <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
Thomas Larkin <<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
>, Thomas Larkin <<a href=3D"TLARKI.PO-001.admin at kckps.org">TLARK=
I.PO-001.admin at kckps.org</a>>, <<a href=3D"casper at list.jamfsoftware.com"=
>casper at list.jamfsoftware.com</a>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &nb=
sp; <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
cc <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &nbs=
p; <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0<BR>
=A0=A0=A0=A0 <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
Subject <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &nbs=
p; <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
=A0=A0=A0 <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
Re: [Casper] need advice on self service mount points, and app launch=
ing <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0=A0<BR>
=A0=A0=A0<BR>
=A0=A0=A0=A0=A0<BR>
=A0=A0=A0=A0=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0=A0=A0=A0<BR>
<BR>
=A0<BR>
=A0<BR>
=A0<BR>
=A0 <BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Helvetica, Ver=
dana, Arial">How about something like this for the script, should do the mou=
nt for you without any problems:<BR>
<BR>
osascript -e 'mount volume "<FONT COLOR=3D"#0000FF"><U><a href=3D"afp://us=
ername:pass at servername/sharepoint">afp://username:pass@servername/sharepoint=
</a></U> <<a href=3D"afp://username:pass@servername/sharepoint">afp://usern=
ame:pass at servername/sharepoint</a>> <U>"</U></FONT>'<BR>
<BR>
</FONT><FONT COLOR=3D"#000080"><FONT FACE=3D"Arial"><BR>
<BR>
Yaniv Lugassy<BR>
<B>Promedia Technology Services, Inc.<BR>
</B>Office: 973.253.7600 x2308<BR>
Fax: 973.253.5601<BR>
</FONT></FONT><FONT FACE=3D"Arial"><FONT COLOR=3D"#0000FF">www.promedianj.com &=
lt;<a href=3D"http://www.promedianj.com">http://www.promedianj.com</a>> </F=
ONT><FONT COLOR=3D"#000080"><</FONT><FONT COLOR=3D"#0000FF"><U><a href=3D"http:=
//www.promedianj.com">http://www.promedianj.com</a></U> <<a href=3D"http://=
www.promedianj.com">http://www.promedianj.com</a>> </FONT></FONT><FONT FA=
CE=3D"Calibri, Verdana, Helvetica, Arial"><U> <<a href=3D"http://www.promedia=
nj.com/">http://www.promedianj.com/</a>> </U></FONT><FONT COLOR=3D"#000080"=
><FONT FACE=3D"Arial">><BR>
</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><BR>
<BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0<BR>
<BR>
=A0<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"></FONT><FONT FACE=3D"Helvetica, Verdan=
a, Arial"><B>From: </B>Thomas Larkin <<FONT COLOR=3D"#0000FF"><U><a href=3D"t=
larki at kckps.org">tlarki at kckps.org</a></U> <<a href=3D"tlarki at kckps.org">tla=
rki at kckps.org</a>> </FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica,=
Arial"><U> <<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a=
>> </U></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">><BR>
<B>Date: </B>Thu, 19 Mar 2009 15:04:32 -0500<BR>
<B>To: </B>Thomas Larkin <<FONT COLOR=3D"#0000FF"><U><a href=3D"TLARKI.PO-00=
1.admin at kckps.org">TLARKI.PO-001.admin at kckps.org</a></U> <<a href=3D"TLARKI=
.PO-001.admin at kckps.org">TLARKI.PO-001.admin at kckps.org</a>> </FONT></FONT=
><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><U> <<a href=3D"http://TLA=
RKI.PO-001.admin at kckps.org">http://TLARKI.PO-001.admin@kckps.org</a>> </U=
></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">>, <<FONT COLOR=3D"#0000F=
F"><U><a href=3D"casper at list.jamfsoftware.com">casper at list.jamfsoftware.com</a=
></U> <<a href=3D"casper at list.jamfsoftware.com">casper at list.jamfsoftware.co=
m</a>> </FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><U> =
<<a href=3D"http://casper@list.jamfsoftware.com">http://casper@list.jamfsof=
tware.com</a>> </U></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">><BR>
<B>Subject: </B>Re: [Casper] need advice on self service mount points, and =
app launching<BR>
<BR>
<BR>
<BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &=
nbsp; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
Well<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
A bit of progress, but not in the right direction. I can mount the sh=
are fine via the finder, however when using the mount_afp command I can neve=
r get it to work. I always get this error:<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
mount_afp: AFPMountURL returned error 22, errno is 118<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
So this is my method of doing this from the terminal:<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
mkdir /Volumes/FS106<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
mount_afp <FONT COLOR=3D"#0000FF"><I><U><a href=3D"afp://user:password@10=
.10.10.10">afp://user:password@10.10.10.10</a></U></I> <<a href=3D"afp://us=
er:password at 10.10.10.10">afp://user:password@10.10.10.10</a>> </FONT> &nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<<FONT COLOR=3D"#0000FF"><U><a href=3D"mailto:afp://user:password@10.1=
0.10.10">mailto:afp://user:password@10.10.10.10</a></U> <<a href=3D"mailto:=
afp://user:password@10.10.10.10">mailto:afp://user:password@10.10.10.10</a>&=
gt; </FONT> <BR>
<BR>
<BR>
<BR>
<BR>
<U><<a href=3D"mailto:afp://user:password@10.10.10.10">mailto:afp://=
user:password at 10.10.10.10</a>> </U></SPAN></FONT><SPAN STYLE=3D'font-size:1=
1pt'><FONT FACE=3D"Helvetica, Verdana, Arial">> </FONT><FONT FACE=3D"Calibri,=
Verdana, Helvetica, Arial">  =
; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
/Volumes/FS106<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
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.<BR=
>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
Any help would be appreciated<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<FONT COLOR=3D"#0000FF"><U><a href=3D"tlarki at kckps.org">tlarki at kckps.org</a></U=
> <<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a>> <U> <<a href=3D"h=
ttp://tlarki@kckps.org">http://tlarki@kckps.org</a>><BR>
</U></FONT>blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
>>> "Thomas Larkin" <<FONT COLOR=3D"#0000FF"><U><a href=
=3D"tlarki at kckps.org">tlarki at kckps.org</a></U> <<a href=3D"tlarki at kckps.org">=
tlarki at kckps.org</a>> </FONT> &=
nbsp; <BR>
<BR>
<BR>
<BR>
<BR>
<U><<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>&=
gt; </U></SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Helvetica, Ve=
rdana, Arial">> 03/19/09 11:28 AM >>><BR>
<BR>
<BR>
<BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &=
nbsp; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
Well<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
This is a bit of a complicated debacle I am in. I have some old Novel=
l 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 accoun=
t 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 ap=
p's preferences I already have it pointed out where to look.<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
I looked at the mount_afp command but when I run it in interactive mo=
de 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.<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
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 the=
y don't get confused. My other thought is to just create one generic user ac=
count that can have access to this database file and then use that generic p=
assword in the script and just have it mount under the hood with out the use=
r's actual credentials.<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"5"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
Thanks for any advice.<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<FONT COLOR=3D"#0000FF"><U><a href=3D"tlarki at kckps.org">tlarki at kckps.org</a></U=
> <<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a>> <U> <<a href=3D"h=
ttp://tlarki@kckps.org">http://tlarki@kckps.org</a>><BR>
</U></FONT>blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"> </SPAN></FONT><SPAN STYLE=3D'font-siz=
e:11pt'><FONT FACE=3D"Courier, Courier New">__________________________________=
_____________<BR>
Casper mailing list<BR>
<FONT COLOR=3D"#0000FF"><U><a href=3D"Casper at list.jamfsoftware.com">Casper at list=
.jamfsoftware.com</a></U> <<a href=3D"Casper at list.jamfsoftware.com">Casper@=
list.jamfsoftware.com</a>> <U> <<a href=3D"http://Casper@list.jamfsoftwa=
re.com">http://Casper@list.jamfsoftware.com</a>><BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.=
jamfsoftware.com/mailman/listinfo/casper</a></U></FONT></FONT><FONT FACE=3D"Co=
nsolas, Courier New, Courier">______________________________________________=
_<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a><BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.=
jamfsoftware.com/mailman/listinfo/casper</a><BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
------------------------------------------------------------------------<BR=
>
Disclaimer<BR>
The information in this email and any attachments may contain proprietary a=
nd confidential information that is intended for the addressee(s) only. If y=
ou are not the intended recipient, you are hereby notified that any disclosu=
re, copying, distribution, retention or use of the contents of this informat=
ion 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 con=
ditions in any governing contract. If you have received this e-mail in error=
, please immediately contact the sender and delete the e-mail.<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
<BR>
=A0=A0=A0=A0<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
<BR>
------------------------------------------------------------------------<BR=
>
<BR>
<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
<BR>
=A0=A0<BR>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<BR>
<BR>
<BR>
Mundocom UK Limited, Registered in England and Wales. Registration Number 2=
882166. Registered Office: Warwick Building, Kensington Village, Avonmore Ro=
ad, London W14 8HQ.<BR>
<BR>
<BR>
<BR>
=A0<BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a><BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.=
jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri=
, Verdana, Helvetica, Arial"> <BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri=
, Verdana, Helvetica, Arial"> <BR>
<BR>
<BR>
<BR>
--<BR>
John Wetter<BR>
Technology Support Administrator<BR>
Educational Technology, Media & Information Services<BR>
Hopkins Public Schools<BR>
952-988-5373<BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"95%"></FONT></SPAN><FONT SIZE=3D"2"><FONT FA=
CE=3D"Consolas, Courier New, Courier"><SPAN STYLE=3D'font-size:10pt'>___________=
____________________________________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a><BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.=
jamfsoftware.com/mailman/listinfo/casper</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>
--B_3320922085_3085087--
More information about the Casper
mailing list