For UNCC, allow old style netbios name to be the default for this
release to give them time to convert their scripts to use \\AFS\...
instead of \\%MACHINENAME%-AFS\...
regLana = nLana;
}
- if(regLana >=0 && lana_IsLoopback((lana_number_t) regLana)) {
- if(regNbName[0]) {
- strncpy(nbName,regNbName,15);
- nbName[16] = 0;
- strupr(nbName);
- }
- else
- strcpy(nbName,"AFS");
+ if(rebNbName[0] &&
+ (regLana >=0 && lana_IsLoopback((lana_number_t) regLana))) {
+ strncpy(nbName,regNbName,15);
+ nbName[16] = 0;
+ strupr(nbName);
} else {
char * dot;