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. If this is the case, I ca=
n send them along off-list, let me know. Or, for opening single apps that re=
quire 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. Below is sample code for this.=
<BR>
<BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'> <BR>
<BR>
<BR>
<BR>
<B>if<BR>
</B><BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'> <BR>
<BR>
<BR>
<BR>
<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"Verdana, Helvetica, Arial">--<FONT COLOR=3D"#4B=
4E4E">test to see if volume is already mounted then<BR>
</FONT><FONT COLOR=3D"#3500FF"><B>tell</B></FONT></FONT><FONT FACE=3D"Helvetica=
, Verdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helveti=
ca, Arial">application</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> =
</FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"Finder"<BR>
<FONT COLOR=3D"#1800FF">mount volume</FONT></FONT><FONT FACE=3D"Helvetica, Verd=
ana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">"<a href=3D"af=
p://user:password@server.domain.org/VolumeName">afp://user:password@server.d=
omain.org/VolumeName</a>"<BR>
<FONT COLOR=3D"#3500FF"><B>end</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdan=
a, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Aria=
l"><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 COLOR=3D"#1800FF">open</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Ari=
al"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">fil=
e</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT FACE=3D"Ve=
rdana, Helvetica, Arial">"Applications:MyApp"</FONT><FONT FACE=3D"He=
lvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, =
Helvetica, Arial"><B>of</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Ari=
al"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">sta=
rtup 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"><BR>
<BR>
&nb=
sp; <BR>
<BR>
</FONT></SPAN></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN =
STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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. It works much like =
the jamf mount –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 sti=
ll see the volume. We use this to launch our apps needing a volume, but don&=
#8217;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> <<a href=3D"http://tlarki@kckps.org">http://tlarki@=
kckps.org</a>> > wrote:<BR>
<BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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. In my experien=
ce 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 ti=
me.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<BR>
<BR>
Thanks for everyone's input and help, it is appreciated.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<BR>
<BR>
tom<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
>>> Miles Leacy <<a href=3D"miles.leacy at themacadmin.com">mi=
les.leacy at themacadmin.com</a> <<a href=3D"http://miles.leacy@themacadmin.co=
m">http://miles.leacy@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> <<=
a href=3D"http://miles.leacy@themacadmin.com">http://miles.leacy@themacadmin.c=
om</a>> <BR>
www.themacadmin.com <<a href=3D"http://www.themacadmin.com">http://www.the=
macadmin.com</a>> <<a href=3D"http://www.themacadmin.com">http://w=
ww.themacadmin.com</a>><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
2009/3/20 Thomas Larkin<BR>
<BR>
<BR>
<BR>
<<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> <<a href=3D"http://tla=
rki at kckps.org">http://tlarki@kckps.org</a>> ><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"4"><SPAN STYLE=3D'font-size:14pt'> <BR>
<BR>
<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.<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> <<a href=3D"http://tlarki@=
kckps.org">http://tlarki@kckps.org</a>> <BR>
blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
>>> Eric Winkelhake <<a href=3D"eric.winkelhake at mundocomww.com">e=
ric.winkelhake at mundocomww.com</a> <<a href=3D"http://eric.winkelhake@mundoc=
omww.com">http://eric.winkelhake@mundocomww.com</a>> > 03/19/09 5:29 P=
M >>><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
I think he's looking to have the user log in with their creds, right?? so a=
ctually 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>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
<B>Yaniv Lugassy <<a href=3D"ylugassy at promedianj.com">ylugassy at prome=
dianj.com</a> <<a href=3D"http://ylugassy@promedianj.com">http://ylugassy@p=
romedianj.com</a>> <BR>
</B><BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
><BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
Sent by: <a href=3D"casper-bounces at list.jamfsoftware.com">casper-bounce=
s at list.jamfsoftware.com</a> <<a href=3D"http://casper-bounces@list.jamfsoft=
ware.com">http://casper-bounces@list.jamfsoftware.com</a>> <BR>
<BR>
&nb=
sp; <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"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
03/19/2009 05:23 PM<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
To<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
Thomas Larkin <<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> <=
;<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>> <BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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"http://TLARKI.PO-001.admin@kckps.o=
rg">http://TLARKI.PO-001.admin@kckps.org</a>> >, <<a href=3D"casper at l=
ist.jamfsoftware.com">casper at list.jamfsoftware.com</a> <<a href=3D"http://c=
asper at list.jamfsoftware.com">http://casper@list.jamfsoftware.com</a>> >=
;<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
cc<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
Subject<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
<BR>
<BR>
Re: [Casper] need advice on self service mount points, and app launch=
ing<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>> &nb=
sp;<<a href=3D"http://www.promedianj.com">http://www.promedianj.com</a>>=
</FONT><FONT COLOR=3D"#000080"><</FONT><FONT COLOR=3D"#0000FF"><U><a href=3D"h=
ttp://www.promedianj.com">http://www.promedianj.com</a></U> <<a href=3D"htt=
p://www.promedianj.com">http://www.promedianj.com</a>> <<a href=3D=
"http://www.promedianj.com">http://www.promedianj.com</a>> </FONT></FONT>=
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><U><<a href=3D"http://www.p=
romedianj.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"><BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"> </FONT><FONT FACE=3D"Helvetica, Verda=
na, Arial"><B>From: </B>Thomas Larkin <<FONT COLOR=3D"#0000FF"><U><a href=3D"=
tlarki at kckps.org">tlarki at kckps.org</a></U> <<a href=3D"http://tlarki@kckps.=
org">http://tlarki@kckps.org</a>> <<a href=3D"tlarki at kckps.org">tl=
arki at kckps.org</a> <<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps=
.org</a>> > </FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Ari=
al"><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"http:/=
/TLARKI.PO-001.admin at kckps.org">http://TLARKI.PO-001.admin@kckps.org</a>>=
<<a href=3D"TLARKI.PO-001.admin at kckps.org">TLARKI.PO-001.admin at kckps=
.org</a> <<a href=3D"http://TLARKI.PO-001.admin@kckps.org">http://TLARKI.PO=
-001.admin at kckps.org</a>> > </FONT></FONT><FONT FACE=3D"Calibri, Verdana=
, Helvetica, Arial"><U><<a href=3D"http://TLARKI.PO-001.admin@kckps.org">ht=
tp://TLARKI.PO-001.admin@kckps.org</a>> </U></FONT><FONT FACE=3D"Helvetica,=
Verdana, Arial">>, <<FONT COLOR=3D"#0000FF"><U><a href=3D"casper at list.jam=
fsoftware.com">casper at list.jamfsoftware.com</a></U> <<a href=3D"http://casp=
er at list.jamfsoftware.com">http://casper@list.jamfsoftware.com</a>> =
<<a href=3D"casper at list.jamfsoftware.com">casper at list.jamfsoftware.com</a> =
<<a href=3D"http://casper@list.jamfsoftware.com">http://casper@list.jamfsof=
tware.com</a>> > </FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica=
, Arial"><U><<a href=3D"http://casper@list.jamfsoftware.com">http://casper@=
list.jamfsoftware.com</a>> </U></FONT><FONT FACE=3D"Helvetica, Verdana, Ari=
al">><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"><BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
<BR>
<BR>
Well<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<BR>
<BR>
mount_afp: AFPMountURL returned error 22, errno is 118<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<BR>
<BR>
So this is my method of doing this from the terminal:<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<BR>
<BR>
mkdir /Volumes/FS106<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<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>> <BR>
</FONT><BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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; <<a href=3D"mailto:afp://user:password@10.10.10.10">mailto:afp://=
user:password at 10.10.10.10</a>> <BR>
</FONT><BR>
<BR>
<BR>
<BR>
<U><<a href=3D"mailto:afp://user:password@10.10.10.10">mailto:afp://user:p=
assword at 10.10.10.10</a>> </U> &=
nbsp; <BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Helvetica, Ver=
dana, Arial">> <BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
<BR>
<BR>
/Volumes/FS106<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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>
<BR>
<BR>
Any help would be appreciated<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<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"http://tlarki@kckps.org">http://tlarki@kckps.org</a>> &nbs=
p;<<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> <<a href=3D"http://tl=
arki at kckps.org">http://tlarki@kckps.org</a>> > <U><<a href=3D"http://=
tlarki at 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"http://tlarki@kckp=
s.org">http://tlarki@kckps.org</a>> <<a href=3D"tlarki at kckps.org">=
tlarki at kckps.org</a> <<a href=3D"http://tlarki@kckps.org">http://tlarki@kck=
ps.org</a>> > <BR>
</FONT><BR>
<BR>
<BR>
<BR>
<U><<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>> </=
U> &=
nbsp; <BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Helvetica, Ver=
dana, Arial">> 03/19/09 11:28 AM >>><BR>
<BR>
<BR>
<BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"5=
"><SPAN STYLE=3D'font-size:18pt'> <BR>
<BR>
<BR>
<BR>
Well<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>
<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>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>
<BR>
<BR>
Thanks for any advice.<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<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"http://tlarki@kckps.org">http://tlarki@kckps.org</a>> &nbs=
p;<<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a> <<a href=3D"http://tl=
arki at kckps.org">http://tlarki@kckps.org</a>> > <U><<a href=3D"http://=
tlarki at 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>
&nb=
sp; <BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"> <BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Courier, Couri=
er 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"http://Casper@list.jamfsoftware.com">=
http://Casper@list.jamfsoftware.com</a>> <<a href=3D"Casper at list.j=
amfsoftware.com">Casper at list.jamfsoftware.com</a> <<a href=3D"http://Casper=
@list.jamfsoftware.com">http://Casper@list.jamfsoftware.com</a>> > <U>=
<<a href=3D"http://Casper@list.jamfsoftware.com">http://Casper@list.jamfsof=
tware.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> <=
;<a href=3D"http://Casper@list.jamfsoftware.com">http://Casper@list.jamfsoftwa=
re.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>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
------------------------------------------------------------------------<BR=
>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<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>
<BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a> <=
;<a href=3D"http://Casper@list.jamfsoftware.com">http://Casper@list.jamfsoftwa=
re.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>
&nb=
sp; <BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri=
, Verdana, Helvetica, Arial"> <BR>
<BR>
<BR>
<BR>
&nb=
sp; <BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri=
, Verdana, Helvetica, Arial"> <BR>
<BR>
<BR>
<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>
&nb=
sp; <BR>
<BR>
<BR>
<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"95%"> <BR>
<BR>
<BR>
</FONT></SPAN><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><FONT SIZE=3D"2=
"><SPAN STYLE=3D'font-size:10pt'> <BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a> <=
;<a href=3D"http://Casper@list.jamfsoftware.com">http://Casper@list.jamfsoftwa=
re.com</a>> <BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.=
jamfsoftware.com/mailman/listinfo/casper</a><BR>
&nb=
sp; <BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<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>
</SPAN></FONT></BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial">=
<SPAN STYLE=3D'font-size:11pt'> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>
--B_3320923936_3203581--
More information about the Casper
mailing list