[OpenAFS] Openafs-Client and Windows
Douglas E. Engert
deengert@anl.gov
Mon, 03 Mar 2003 15:10:31 -0600
James, Thomas,
Based on your commens on this thread, maybe you could answer the question
I asked last week, as it is related to assigning of drive letters for users.
The src/WINNT/afsd_service.c has commented out the code to map AFS Global Drives,
which would have called:
sprintf(szAfsPath, "\\Device\\LanmanRedirector\\%s\\%s-AFS\\%s", szDriveToMapTo,
cm_HostName, szSubMount);
DefineDosDevice(DDD_RAW_TARGET_PATH, szDriveToMapTo, szAfsPath);
It claims that this code was moved to Drivemap.cpp. But it appears that the
Global drivres are never defined.
Is there some reason that this would be droped or was it never implemented?
If it was still there, then a single drive letter could be assigned to point
at /afs, or /afs/your.cell which could then be used by all the users,
and would get around the roaming profiles and shared afsdsbmt.ini problems.
The help for the function says Windows NT/2000 or later and:
"MS-DOS Device names are global. After it is defined, an MS-DOS device name
remains visible to all processes until either it is explicitly removed or
the system restarts."
Thanks.
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444