No subject


Thu Mar 5 04:39:10 PST 2009


=3D3054602&amp;sliceId=3D1</a><BR>
And then to:<BR>
<a href=3D"http://www.macosxhints.com/article.php?story=3D20071028025409750=
&amp;mode=3Dprint">http://www.macosxhints.com/article.php?story=3D200710280=
25409750&amp;mode=3Dprint</a><BR>
<BR>
You can run:<BR>
$ defaults write com.apple.AppleShareClient &quot;afp_cleartext_allow&quot;=
 -bool YES<BR>
$ defaults write com.apple.AppleShareClient &quot;afp_cleartext_warn&quot; =
-bool YES<BR>
<BR>
This is for older Novell servers that don&#8217;t have Universal passwords =
set up on them (they really should, but I doubt I need to tell you that).<B=
R>
<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. &nbsp;If this is the cas=
e, I can send them along off-list, let me know. &nbsp;Or, for opening singl=
e 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. &nbsp;Below is=
 sample code for this.<BR>
<BR>
</SPAN></FONT><FONT COLOR=3D"#3500FF"><FONT SIZE=3D"1"><FONT FACE=3D"Verdan=
a, Helvetica, Arial"><SPAN STYLE=3D'font-size:9pt'><B>if</B></SPAN></FONT><=
/FONT></FONT><FONT SIZE=3D"1"><SPAN STYLE=3D'font-size:9pt'><FONT FACE=3D"H=
elvetica, Verdana, Arial"> </FONT><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, Helv=
etica, Arial"><B>does not</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana=
, Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, =
Arial"><B>contain</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"=
> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">&quot;VolumeName&quot;</F=
ONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#3500FF=
"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>then<BR>
</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> &nbsp;&nbsp;&nb=
sp;</FONT><FONT FACE=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"> &nbsp;&nbsp;&nbsp;<=
/FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>t=
ell</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT=
 COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">application</FO=
NT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT FACE=3D"Ve=
rdana, Helvetica, Arial">&quot;Finder&quot;<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> &nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;</FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helve=
tica, Arial">mount volume</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Ar=
ial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">&quot;<a href=3D"afp:=
//user:password at server.domain.org/VolumeName">afp://user:password@server.do=
main.org/VolumeName</a>&quot;<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> &nbsp;&nbsp;&nbsp;</FONT><=
FONT COLOR=3D"#3500FF"><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"Verdana, Helvetica, Arial"><B>tell<BR>
end</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT=
 COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>if<BR>
</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial">--hide volume fr=
om desktops so it doesn&#8217;t get messed with<BR>
</FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">do =
shell script</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT>=
<FONT FACE=3D"Verdana, Helvetica, Arial">&quot;/usr/bin/SetFile -a V /Volum=
es/VolumeName&quot;<BR>
<FONT COLOR=3D"#1800FF">do shell script</FONT></FONT><FONT FACE=3D"Helvetic=
a, Verdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">&quot;k=
illall Finder&quot;<BR>
<FONT COLOR=3D"#3500FF"><B>tell</B></FONT></FONT><FONT FACE=3D"Helvetica, V=
erdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helve=
tica, Arial">application</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Ari=
al"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">&quot;System Events&qu=
ot;</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#=
3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>to</B></FONT></FONT><FO=
NT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT=
 FACE=3D"Verdana, Helvetica, Arial">delay</FONT></FONT><FONT FACE=3D"Helvet=
ica, Verdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">2<BR>
<FONT COLOR=3D"#3500FF"><B>tell</B></FONT></FONT><FONT FACE=3D"Helvetica, V=
erdana, Arial"> </FONT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helve=
tica, Arial">application</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Ari=
al"> </FONT><FONT FACE=3D"Verdana, Helvetica, Arial">&quot;Finder&quot;<BR>
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> &nbsp;&nbsp;&nbsp;</FONT><=
FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">open</FONT>=
</FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FONT><FONT COLOR=3D"#180=
0FF"><FONT FACE=3D"Verdana, Helvetica, Arial">file</FONT></FONT><FONT FACE=
=3D"Helvetica, Verdana, Arial"> </FONT><FONT FACE=3D"Verdana, Helvetica, Ar=
ial">&quot;Applications:MyApp&quot;</FONT><FONT FACE=3D"Helvetica, Verdana,=
 Arial"> </FONT><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, A=
rial"><B>of</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FO=
NT><FONT COLOR=3D"#1800FF"><FONT FACE=3D"Verdana, Helvetica, Arial">startup=
 disk<BR>
</FONT></FONT><FONT FACE=3D"Verdana, Helvetica, Arial"><FONT COLOR=3D"#3500=
FF"><B>end</B></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"> </FON=
T><FONT COLOR=3D"#3500FF"><FONT FACE=3D"Verdana, Helvetica, Arial"><B>tell<=
BR>
</B></FONT></FONT></SPAN></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, =
Arial"><SPAN STYLE=3D'font-size:11pt'><BR>
Note in the above that the /usr/bin/SetFile file is from the developer tool=
s and is used to hide the volume from the desktop. &nbsp;It works much like=
 the jamf mount &#8211;hidden command but this doesn&#8217;t seem to hide i=
t from finder like the jamf one does (which changed in 6) so that apps can =
still see the volume. &nbsp;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, &quot;Thomas Larkin&quot; &lt;<a href=3D"tlarki at kckps.=
org">tlarki at kckps.org</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"=
><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>I thought about that, but I don't want all 6,000 clie=
nts accessing the share at once and I also don't want it permanently mounte=
d. &nbsp;In my experience with this testing app from last year is that it w=
orks best if you stagger connections and testing sessions to say, no more t=
han 400 clients at one time. &nbsp;</SPAN></FONT></FONT><FONT FACE=3D"Calib=
ri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;=
&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>I am going to try to invoke apple script from the com=
mand line like suggested and see if it makes a difference.</SPAN></FONT></F=
ONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-s=
ize:11pt'> &nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>Thanks for everyone's input and help, it is appreciat=
ed.</SPAN></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><=
SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>tom<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPA=
N STYLE=3D'font-size:11pt'><BR>
&gt;&gt;&gt; Miles Leacy &lt;<a href=3D"miles.leacy at themacadmin.com">miles.=
leacy at themacadmin.com</a>&gt; 03/20/09 11:21 AM &gt;&gt;&gt;<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>
&#63743; Certified System Administrator<BR>
&#63743; 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 &lt;<a href=3D"http://www.themacadmin.com">http://www.t=
hemacadmin.com</a>&gt; <BR>
<BR>
<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;2009/3/20 Thomas Larkin &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;&lt;<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a>&gt; &nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"=
><SPAN STYLE=3D'font-size:11pt'> <BR>
&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>Still no dice. The problem I think I am having is tha=
t 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 unive=
rsal passwords enabled and well the Novell side is being migrated to SuSe b=
ut I am not really a part of that project. Different network admins.</SPAN>=
</FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=
=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>So, I can hit cmd + K and connect to the file share j=
ust fine. I can't connect via command line. I don't know if there is actual=
ly 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 share=
s. 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 thou=
gh, and my window to get this working is getting shorter and shorter.</SPAN=
></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYL=
E=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>I just want to create a generic account, grant it acc=
ess to this one particular file on a network share so the application can w=
rite data to the database file. Once the file share is mounted the applicat=
ion launches and takes care of the rest. </SPAN></FONT></FONT><FONT FACE=3D=
"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt'> &nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>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 wo=
rk done for them under the hood. That way they just click and it works. </S=
PAN></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN S=
TYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE=3D"4"><FONT FACE=3D"Lucida Grande"><SPAN STY=
LE=3D'font-size:14pt'>I was looking at Apple Scripts but those can be inter=
rupted by the end user. I'd rather it work under the hood via a shell scrip=
t.</SPAN></FONT></FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><S=
PAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;___________________________<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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR=
>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;&gt;&gt;&gt; Eric Winkelhake &lt;<a href=3D"eric.winkelhake at mundocomw=
w.com">eric.winkelhake at mundocomww.com</a>&gt; 03/19/09 5:29 PM &gt;&gt;&gt;=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;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.<BR>
<BR>
eric winkelhake<BR>
mundocomww<BR>
office 312 220 1669<BR>
cell 312 504 5155<BR>
<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;<BR>
&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'><B=
>Yaniv Lugassy &lt;<a href=3D"ylugassy at promedianj.com">ylugassy at promedianj.=
com</a></B></SPAN></FONT><B><SPAN STYLE=3D'font-size:11pt'>&gt;<BR>
</SPAN></B><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:10pt'>Sent by: <a href=
=3D"casper-bounces at list.jamfsoftware.com">casper-bounces at list.jamfsoftware.=
com</a></SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-si=
ze:10pt'>03/19/2009 05:23 PM</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN></FONT>
<P ALIGN=3DRIGHT>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:1=
0pt'>To</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN></FONT>
<P>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:1=
0pt'>Thomas Larkin &lt;<a href=3D"tlarki at kckps.org">tlarki at kckps.org</a></S=
PAN></FONT><SPAN STYLE=3D'font-size:11pt'>&gt;, Thomas Larkin &lt;<a href=
=3D"TLARKI.PO-001.admin at kckps.org">TLARKI.PO-001.admin at kckps.org</a>&gt;, &=
lt;<a href=3D"casper at list.jamfsoftware.com">casper at list.jamfsoftware.com</a=
>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN></FONT>
<P ALIGN=3DRIGHT>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:1=
0pt'>cc</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN></FONT>
<P>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN></FONT>
<P ALIGN=3DRIGHT>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:1=
0pt'>Subject</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
</SPAN></FONT>
<P>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:=
11pt'> &nbsp;&nbsp;&nbsp;</SPAN><FONT SIZE=3D"2"><SPAN STYLE=3D'font-size:1=
0pt'>Re: [Casper] need advice on self service mount points, and app launchi=
ng</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR=
>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Helvetica,=
 Verdana, Arial">How about something like this for the script, should do th=
e mount for you without any problems:<BR>
<BR>
osascript -e 'mount volume &quot;<FONT COLOR=3D"#0000FF"><U><a href=3D"afp:=
//username:pass at servername/sharepoint">afp://username:pass@servername/share=
point</a>&quot;</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.c=
om &lt;<a href=3D"http://www.promedianj.com">http://www.promedianj.com</a>&=
gt; </FONT><FONT COLOR=3D"#000080">&lt;</FONT><FONT COLOR=3D"#0000FF"><U><a=
 href=3D"http://www.promedianj.com">http://www.promedianj.com</a></U></FONT=
></FONT><U><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &lt;<a href=
=3D"http://www.promedianj.com/">http://www.promedianj.com/</a>&gt; </FONT><=
/U><FONT COLOR=3D"#000080"><FONT FACE=3D"Arial">&gt; <BR>
</FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><BR>
<BR>
</FONT><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;<BR>
<HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"> </FONT><FONT FACE=3D"Helvetic=
a, Verdana, Arial"><B>From: </B>Thomas Larkin &lt;<FONT COLOR=3D"#0000FF"><=
U><a href=3D"tlarki at kckps.org">tlarki at kckps.org</a></U></FONT></FONT><U><FO=
NT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &lt;<a href=3D"http://tlark=
i at kckps.org">http://tlarki@kckps.org</a>&gt; </FONT></U><FONT FACE=3D"Helve=
tica, Verdana, Arial">&gt;<BR>
<B>Date: </B>Thu, 19 Mar 2009 15:04:32 -0500<BR>
<B>To: </B>Thomas Larkin &lt;<FONT COLOR=3D"#0000FF"><U><a href=3D"TLARKI.P=
O-001.admin at kckps.org">TLARKI.PO-001.admin at kckps.org</a></U></FONT></FONT><=
U><FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"> &lt;<a href=3D"http://=
TLARKI.PO-001.admin at kckps.org">http://TLARKI.PO-001.admin@kckps.org</a>&gt;=
 </FONT></U><FONT FACE=3D"Helvetica, Verdana, Arial">&gt;, &lt;<FONT COLOR=
=3D"#0000FF"><U><a href=3D"casper at list.jamfsoftware.com">casper at list.jamfso=
ftware.com</a></U></FONT></FONT><U><FONT FACE=3D"Calibri, Verdana, Helvetic=
a, Arial"> &lt;<a href=3D"http://casper@list.jamfsoftware.com">http://caspe=
r at list.jamfsoftware.com</a>&gt; </FONT></U><FONT FACE=3D"Helvetica, Verdana=
, Arial">&gt;<BR>
<B>Subject: </B>Re: [Casper] need advice on self service mount points, and =
app launching<BR>
<BR>
<BR>
<BR>
</FONT></SPAN><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>Well<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>A bit of progress, but not in the right direction. I can mo=
unt the share fine via the finder, however when using the mount_afp command=
 I can never get it to work. I always get this error:<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>mount_afp: AFPMountURL returned error 22, errno is 118<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>So this is my method of doing this from the terminal:<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>mkdir /Volumes/FS106<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>mount_afp <FONT COLOR=3D"#0000FF"><I><U><a href=3D"afp://us=
er:password at 10.10.10.10">afp://user:password@10.10.10.10</a></U></I></FONT>=
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'>&lt;<FONT COLOR=3D"#0000FF"><U><a href=3D"mailto:afp://=
user:password at 10.10.10.10">mailto:afp://user:password@10.10.10.10</a></U></=
FONT></SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><U><FONT FACE=3D"Calibri,=
 Verdana, Helvetica, Arial"> &lt;<a href=3D"mailto:afp://user:password@10.1=
0.10.10">mailto:afp://user:password@10.10.10.10</a>&gt; </FONT></U><FONT FA=
CE=3D"Helvetica, Verdana, Arial">&gt; </FONT></SPAN><FONT SIZE=3D"5"><FONT =
FACE=3D"Lucida Grande"><SPAN STYLE=3D'font-size:18pt'>/Volumes/FS106<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>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 tha=
t volume is mounted and then once it is mounted it will launch the app, whi=
ch will have location specific configuration for where to look for the data=
base file.<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>Any help would be appreciated<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><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=
> &lt;<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>&gt; <=
BR>
</U></FONT>blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&gt;&gt;&gt; &quot;Thomas Larkin&quot; &lt;<FONT COLOR=3D"#0000FF"><U><a hr=
ef=3D"tlarki at kckps.org">tlarki at kckps.org</a></U></FONT></SPAN></FONT><SPAN =
STYLE=3D'font-size:11pt'><U><FONT FACE=3D"Calibri, Verdana, Helvetica, Aria=
l"> &lt;<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>&gt;=
 </FONT></U><FONT FACE=3D"Helvetica, Verdana, Arial">&gt; 03/19/09 11:28 AM=
 &gt;&gt;&gt;<BR>
<BR>
<BR>
<BR>
</FONT></SPAN><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>Well<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>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 servi=
ce 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.<=
BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>I looked at the mount_afp command but when I run it in inte=
ractive mode it always asks for authentication in the terminal? I can't see=
m to get a GUI based dialog box. I also need it to wait for about 20 second=
s while the user authenticates and then have it launch the app in question.=
<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>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 u=
ser, so they don't get confused. My other thought is to just create one gen=
eric user account that can have access to this database file and then use t=
hat generic password in the script and just have it mount under the hood wi=
th out the user's actual credentials.<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><FONT SIZE=3D"5"><FONT FACE=3D"Lucida Grande"><SPAN STYLE=3D'=
font-size:18pt'>Thanks for any advice.<BR>
</SPAN></FONT></FONT><FONT FACE=3D"Helvetica, Verdana, Arial"><SPAN STYLE=
=3D'font-size:11pt'><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=
> &lt;<a href=3D"http://tlarki@kckps.org">http://tlarki@kckps.org</a>&gt; <=
BR>
</U></FONT>blackberry: 913-449-7589<BR>
office: 913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri, Verdana=
, Helvetica, Arial"><HR ALIGN=3DCENTER SIZE=3D"3" WIDTH=3D"100%"></FONT><FO=
NT FACE=3D"Courier, Courier New">__________________________________________=
_____<BR>
Casper mailing list<BR>
<FONT COLOR=3D"#0000FF"><U><a href=3D"Casper at list.jamfsoftware.com">Casper@=
list.jamfsoftware.com</a> &lt;<a href=3D"http://Casper@list.jamfsoftware.co=
m">http://Casper@list.jamfsoftware.com</a>&gt; <BR>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://lis=
t.jamfsoftware.com/mailman/listinfo/casper</a></U></FONT></FONT><FONT FACE=
=3D"Consolas, Courier New, Courier">_______________________________________=
________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a><B=
R>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://lis=
t.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 =
you are not the intended recipient, you are hereby notified that any disclo=
sure, copying, distribution, retention or use of the contents of this infor=
mation is prohibited. When addressed to our clients or vendors, any informa=
tion contained in this e-mail or any attachments is subject to the terms an=
d conditions in any governing contract. If you have received this e-mail in=
 error, please immediately contact the sender and delete the e-mail.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;<BR>
<BR>
<BR>
------------------------------------------------------------------------<BR=
>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
Mundocom UK Limited, Registered in England and Wales. Registration Number 2=
882166. Registered Office: Warwick Building, Kensington Village, Avonmore R=
oad, London W14 8HQ.<BR>
<BR>
<BR>
<BR>
&nbsp;<BR>
<BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href=3D"Casper at list.jamfsoftware.com">Casper at list.jamfsoftware.com</a><B=
R>
<a href=3D"http://list.jamfsoftware.com/mailman/listinfo/casper">http://lis=
t.jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
<BR>
<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FON=
T FACE=3D"Calibri, Verdana, Helvetica, Arial"><BR>
-- <BR>
John Wetter<BR>
Technology Support Administrator<BR>
Educational Technology, Media &amp; Information Services<BR>
Hopkins Public Schools<BR>
952-988-5373<BR>
</FONT></SPAN>
</BODY>
</HTML>


--_000_C5E93C638E6Bjohnwetterhopkinsk12mnus_--


More information about the Casper mailing list