tab-drives-20040319
authorJeffrey Altman <jaltman@mit.edu>
Sat, 20 Mar 2004 07:55:38 +0000 (07:55 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 20 Mar 2004 07:55:38 +0000 (07:55 +0000)
the mount root is used to define mount paths not the netbios name

src/WINNT/client_config/tab_drives.cpp

index 69b701d..9c2afd1 100644 (file)
@@ -433,10 +433,8 @@ void DriveEdit_OnInitDialog (HWND hDlg)
    SendMessage (hCombo, CB_SETCURSEL, iItemSel, 0);
 
    TCHAR szMapping[ MAX_PATH ];
-   memset(szMapping, '\0', sizeof(szMapping));
-   szMapping[0] = '\\';
-   lana_GetNetbiosName(&szMapping[1], LANA_NETBIOS_NAME_FULL);
-
+   AdjustAfsPath (szMapping, ((pMap->szMapping[0]) ? pMap->szMapping : cm_slash_mount_root), TRUE, FALSE);
+   
    CHAR msg[256], msgf[256];
    if (GetDlgItemText(hDlg,IDC_STATICSUBMOUNT,(LPSTR)msg,sizeof(msg)-1)>0)
    {