netbiosName-cellname-20040306
authorJeffrey Altman <jaltman@mit.edu>
Sat, 6 Mar 2004 21:38:48 +0000 (21:38 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 6 Mar 2004 21:38:48 +0000 (21:38 +0000)
commit2ad3f0377c1b1cb976379ba66d0df48f9c0bae0c
tree04d11c5f5209038df3f75fef46e0cae1fb1194f1
parent4ec7d4f8c29bbf750e85c68d684984c693470693
netbiosName-cellname-20040306

Add support for a new form of automatic share name generation

        \\netbiosName\cellname

which means that on systems with the loopback adapter you can
now refer to the athena.mit.edu afs cell as \\afs\athena.mit.edu\

This is implemented within cm_FindShare().  If the share name is not
one of the special ones and cannot be found in the Submounts table,
check to see if it is a known cell name,  If so, create a path to
the share of /afs/sharename with the "sharename" being lower cased.
(I hope there are no cell names in mixed or upper case.  This won't
work.)
src/WINNT/afsd/smb.c