OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 28 Jan 2008 19:20:34 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	lanahelper.cpp lanahelper.h 
Log Message:
DELTA windows-lanahelper-20080128
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

The algorithms that were used to produce a Netbios name were broken.
The name that was produced when the hostname was too long was in fact
longer than the maximum permitted netbios name.

Also, the "NetbiosName" value was not used as a suffix when the loopback
adapter was not installed.  The hardcoded string "AFS" was used instead.



--- DELTA config follows ---
windows-lanahelper-20080128 openafs/src/WINNT/afsd/lanahelper.cpp 1.17 1.18
windows-lanahelper-20080128 openafs/src/WINNT/afsd/lanahelper.h 1.7 1.8