[OpenAFS] mountpoints in windows XP

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


This is a cryptographically signed message in MIME format.

--------------ms040600070202020304050108
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Ron Croonenberg wrote:

>Hello,
>
>when I look at /afs I see two directories.
>
>afs-2.csc.depauw.edu    and
>afs-2.csc.depauw.edu
>
>  
>
The mountpoints in the server's root.afs volume are not used by the 
Windows client when Freelance mode is used.
You must look at the mount points stored in the Freelance registry key. 

    HKLM\SOFTWARE\OpenAFS\Client\Freelance

>When I mount a volume that is owned by user cowboy,  then I should have
>something like :
>
>/afs/afs-2.csc.depauw.edu/home/cowboy that is mapped to (let's say) m:   right ?
>(at least that is similar to how I set it up in a linux client and that works)
>
>  
>
If you don't have a mount point to afs-2.csc.depauw.edu in the Freelance 
fake root.afs volume
you will not have access to home/cowboy

>Anyway, when I try to access that volume "nothing happens"  no list etc etc.
>  
>
When you try to access what volume?  home/cowboy
In Windows the UNC for this would be

    \\AFS\afs-2.csc.depauw.edu\home\cowboy

This would have been mapped in afs_config.exe to M: with something like:

    Drive M:
    AFS path:  /afs/afs-2.csc.depauw.edu/home/cowboy
    Comment (really a submount name):  cowboy

This would have constructed a submount for

    \\AFS\cowboy which maps to /afs/afs-2.csc.depauw.edu/home/cowboy

and then a drive mapping from

    M: ->  \\AFS\cowboy

would have been constructed.

The list of available submounts could be obtained from \\AFS with

    NET VIEW \\AFS

and the list of current drive mappings would be reported with

    NET USE

>When I browse through /afs  I can just walk through the directories and go to
>the sub dir  ..../home/cowboy, even open a file but not save anything.
>  
>
Could you please talk in terms of what you are doing on Windows?
/afs does not exist on Windows.  /afs is a mount point on Linux.

When you are viewing home/cowboy, what is the path which is used to view it?
What are the acls for that path

    fs listacl \\AFS\afs-2.csc.depauw.edu\home\cowboy
    fs listacl \\AFS\cowboy
    fs listacl M:

Whichever path it is that you are using.

What tokens do you have?

>however when I add this drive mapping :
>/afs/.afs-2.csc.depauw.edu/home/cowboy   then it looks like I can do everything
>that I expected to do.  I know that the .afs-2.csc.depauw.edu is the rw volume,
>but I thought that the afs-2.csc.depauw.edu cell was what needed to be mounted.
>  
>
You have added this drive mapping how?

The first time you access \\AFS\.afs-2.csc.depauw.edu, a dynamic mount 
point will be created for
.afs-2.csc.depauw.edu in the freelance table.  (see above for registry 
location)

>Another thing, in the setup, "drive letters"  advanced (the submounts tab) I
>cannot remove any entries in the list.
>  
>
This appears to be broken.  I will fix it.

>It seems I can connect to the new cell now (however there's still a bunch wrong)
>but I can't seem to connect to the old cell anymore (at the same time)
>  
>
what does:

    DIR \\AFS\csc.depauw.edu

report?

>Another thing I noticed, even when I don't have any tokens, I still can access
>the volume that I was connected to before.
>  
>
access to a volume is only denied if the acls on the volume disallow it.

>Ron
>
>  
>


--------------ms040600070202020304050108
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
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTI3MTc1ODU4WhcNMDUwNTI3MTc1ODU4
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc3JqO5AsZrozd+mJ2mPuCT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