Windows: Dereg Lanman and Lsa reg values for afsredir
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 19 Feb 2012 00:57:25 +0000 (19:57 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 19 Feb 2012 02:30:14 +0000 (18:30 -0800)
commit91d38b93566734734f559a84c38a09e5c7d530c0
tree24719c86f5b07f7a8a6e3ac1b7203287fab67252
parent1cc8feb6fc7b8d551b343b276e40e023ab1dccbe
Windows: Dereg Lanman and Lsa reg values for afsredir

If the machine has been upgraded from an AFS SMB Server to the
AFS Redirector, the registry will have leftover configuration
for the "AFS" netbios name in the Lsa BackConnectionHostNames
value and the LanmanWorkstation ReconnectableServers and
ServersWithExtendedSessTimeout values.   These values are not
useful with the AFS Redirector since \\AFS is owned by afsredir.sys
and not the SMB redirector.  Remove the "AFS" netbios name from
these values when afsd_service.exe has started in redirector mode.

Change-Id: If8c100d3569595645c041ac58fedb1c835f9129f
Reviewed-on: http://gerrit.openafs.org/6737
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h