Re: Re: Use of the Windows Registry

Meghadri Ghosh <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel.win32
Organization Stanford University
Message-ID <[email protected]>
Jeffrey Altman wrote:
> Jeffrey Altman wrote:
> 
>> Meghadri Ghosh wrote:
>>
>>> Perhaps the afsdbmt.ini containing the drive mappings could be moved 
>>> to be per user.
>>>
>>> I believe the current code could be maintained by simply create the 
>>> following key: (The default value can be set to some suitable key, 
>>> perhaps under 'Software\\OpenAFS.org\\Client'?)
>>>
>>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
>>> NT\CurrentVersion\IniFileMapping\afsdbmt.ini]
>>> @="#USR:Software\\OpenAFS.org\\afsdbmt
>>>
>>> Thus per user mapping settings could be maintained.
>>
>>
>> Interesting.  I will have to try this.
>>
> Unfortunately, this change is simplistic.  The AFSDSBMT.INI file is used 
> to store data
> both for the local user and the AFS Client Service.  The data stored in 
> the file is global
> but is not meant to be.  An architectural fix is going to be required to 
> separate user
> specific submounts from global submounts.
> 
> Jeffrey Altman
> 
> 
> 
> 
I need to check on this, but I think creating the registry key redirects 
existing INI file API calls to afsdbmt.ini to values in the registry 
which would be per user.

-- 
megh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.