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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 28 Jan 2008 19:21:53 EST


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

Modified Files:
      Tag: openafs-devel-1_5_x
	lanahelper.cpp lanahelper.h 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-lanahelper-20080128 openafs/src/WINNT/afsd/lanahelper.cpp 1.12.2.5 1.12.2.6
DEVEL15-windows-lanahelper-20080128 openafs/src/WINNT/afsd/lanahelper.h 1.5.6.2 1.5.6.3