[OpenAFS-win32-devel] Five questions on MSI and Heimdal

Jeffrey Altman jaltman@columbia.edu
Fri, 23 Jul 2004 11:10:33 -0400


This is a cryptographically signed message in MIME format.

--------------ms000504020602080102070406
Content-Type: multipart/alternative;
 boundary="------------090603020005050302030300"

This is a multi-part message in MIME format.
--------------090603020005050302030300
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Tommie Gannert wrote:

>>MSI and NSIS are both official.  IS is dead.
>>
>>    
>>
>
>Okay... So we have to equivalent ways of installing it. The only
>diffence being one is executable, the other requires MSI? Isn't that
>- ambiguous, or something?
>
>  
>
You have two different ways of installing it.  They are not equivalent.
Some organizations prefer MSIs so they can push installation out via 
group policy.
Others are more comfortable modifying the NSIS scripts for their 
installation.

>>You shouldn't be prompted for a password when accessing \\AFS\cell.
>>    
>>
>
>Can it be because I'm logged in localy as Administrator, but
>accessing AFS as the network user?
>
>  
>
what exactly does it mean to access AFS as the network user?
You are providing an alternative username to the SMB client to use when 
establishing the
connection?

>And it wasn't the Cancel key, sorry. It was the OK button, but with
>user/password fields empty.
>  
>
That means use the default account password and it is what should be 
done automatically
for you. 

What OS are you running on?

How are you authenticated to the OS?  Local account?  Kerberos 5 
External Realm?
Smart card?

>Also, I get a ktc_SetToken() failure in KfW if I try to login without
>first accessing \\AFS, hitting OK in the password dialog.
>  
>
That makes sense if you are not being authenticated to the SMB server 
automatically
then the pioctl() call to set/get token will fail.

>>Although I don't recommend creating global mappings to cellnames.
>>    
>>
>
>This confuses me. I should _not_ do a Global Drives->Add on Z: -> /afs/cell?
>Why are they called submounts? Where are the "mounts"?
>  
>
On the global drives there is a "Description" field.  That field is the 
submount name.
What did you put there?

>>You should create a submount name
>>which maps to the cell and then global share the submount.
>>    
>>
>
>Isn't that done implicitly when I do Global Drives->Add?
>Should I map the "share" via Windows Explorer?
>  
>
This should be done for you when Global Drives->Add is used.

>(I could go on forever about things I don't understand in the Windows AFS GUI. :(
>It's probably most due to the SMB-architecture.)
>  
>
No.  Its because the UI sucks and needs to be completely re-written. 
I just do not have time nor funding to make this happen.



--------------090603020005050302030300
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tommie Gannert wrote:<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">MSI and NSIS are both official.  IS is dead.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Okay... So we have to equivalent ways of installing it. The only
diffence being one is executable, the other requires MSI? Isn't that
- ambiguous, or something?

  </pre>
</blockquote>
You have two different ways of installing it.&nbsp; They are not equivalent.<br>
Some organizations prefer MSIs so they can push installation out via
group policy.<br>
Others are more comfortable modifying the NSIS scripts for their
installation.<br>
<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">You shouldn't be prompted for a password when accessing \\AFS\cell.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Can it be because I'm logged in localy as Administrator, but
accessing AFS as the network user?

  </pre>
</blockquote>
what exactly does it mean to access AFS as the network user?<br>
You are providing an alternative username to the SMB client to use when
establishing the<br>
connection?<br>
<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <pre wrap="">And it wasn't the Cancel key, sorry. It was the OK button, but with
user/password fields empty.
  </pre>
</blockquote>
That means use the default account password and it is what should be
done automatically<br>
for you.&nbsp; <br>
<br>
What OS are you running on?<br>
<br>
How are you authenticated to the OS?&nbsp; Local account?&nbsp; Kerberos 5
External Realm?<br>
Smart card?<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <pre wrap="">
Also, I get a ktc_SetToken() failure in KfW if I try to login without
first accessing \\AFS, hitting OK in the password dialog.
  </pre>
</blockquote>
That makes sense if you are not being authenticated to the SMB server
automatically<br>
then the pioctl() call to set/get token will fail.<br>
<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Although I don't recommend creating global mappings to cellnames.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This confuses me. I should _not_ do a Global Drives-&gt;Add on Z: -&gt; /afs/cell?
Why are they called submounts? Where are the "mounts"?
  </pre>
</blockquote>
On the global drives there is a "Description" field.&nbsp; That field is the
submount name.<br>
What did you put there?<br>
<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">You should create a submount name
which maps to the cell and then global share the submount.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Isn't that done implicitly when I do Global Drives-&gt;Add?
Should I map the "share" via Windows Explorer?
  </pre>
</blockquote>
This should be done for you when Global Drives-&gt;Add is used.<br>
<br>
<blockquote cite="midPine.GSO.4.58.0407231630210.20773@my.nada.kth.se"
 type="cite">
  <pre wrap="">(I could go on forever about things I don't understand in the Windows AFS GUI. :(
It's probably most due to the SMB-architecture.)
  </pre>
</blockquote>
No.&nbsp; Its because the UI sucks and needs to be completely re-written.&nbsp; <br>
I just do not have time nor funding to make this happen.<br>
<br>
<br>
</body>
</html>

--------------090603020005050302030300--

--------------ms000504020602080102070406
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAwxk8TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSk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