[OpenAFS] Mounting a drive using afscreds

Jeremy Kurtz jeremy.kurtz@asu.edu
Thu, 09 Feb 2006 08:48:38 -0700


This is a multi-part message in MIME format.

--Boundary_(ID_zwJYcvteV8xufkHjR149bg)
Content-type: text/plain;	charset="us-ascii"
Content-transfer-encoding: quoted-printable

Greetings,

=20

I am running OpenAFS 1.3.8500 (win32) in my environment, and have had
great success with the integrated logon feature mounting a user's AFS
space in a logon script.  What doesn't appear to be straightforward is
how to programmatically mount another AFS path *after* logon.  It's easy
enough to create the registry entry under
HKCU\Software\OpenAFS\Client\Mappings, but no afscreds command line args
seem to actually mount the newly created path.  The -Z argument works
like a charm for unmounting, however.

=20

Is there a simple way to do this that I'm just overlooking? =20

=20

Thanks,

Jeremy

=20

=20


--Boundary_(ID_zwJYcvteV8xufkHjR149bg)
Content-type: text/html;	charset="us-ascii"
Content-transfer-encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Greetings,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am running OpenAFS 1.3.8500 (win32) in my =
environment, and
have had great success with the integrated logon feature mounting a =
user&#8217;s
AFS space in a logon script. &nbsp;What doesn&#8217;t appear to be =
straightforward
is how to programmatically mount another AFS path *<b><span =
style=3D'font-weight:
bold'>after</span></b>* logon. &nbsp;It&#8217;s easy enough to create =
the
registry entry under HKCU\Software\OpenAFS\Client\Mappings, but no =
afscreds command
line args seem to actually mount the newly created path. &nbsp;The =
&#8211;Z argument
works like a charm for unmounting, however.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Is there a simple way to do this that I&#8217;m just
overlooking?&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Jeremy<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

--Boundary_(ID_zwJYcvteV8xufkHjR149bg)--