windows-multi-homed-callbacks-20090627
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 28 Jun 2009 05:15:31 +0000 (05:15 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 28 Jun 2009 05:15:31 +0000 (05:15 +0000)
commitd54859c6ac2e5186b18da027303860966504dbd9
tree745a8f8188f26a7085ee2aef5d52b375908260b1
parent100186ec2e4ca5046e1bc312918d4630de00bc7e
windows-multi-homed-callbacks-20090627

LICENSE MIT

Properly handle callbacks from multi-homed file servers.
Comparing cm_server_t pointers is insufficient.  For a multi-homed
server there will be multiple entries.  The UUID for all of the
equivalent entries will be the same.  What matters is not that
the pointers are the same but whether in the case of UUID labeled
servers that the UUIDs match.

Add cm_ServerEqual() to perform the comparison.
src/WINNT/afsd/cm_callback.c
src/WINNT/afsd/cm_server.c
src/WINNT/afsd/cm_server.h