I experienced a similar problem recently, with my office network changing the domain name. I'd also very much support the solution of using gethostname(), which should be enough to warn users about machine mismatches.
I experienced a similar problem recently, with my office network changing the domain name. I'd also very much support the solution of using gethostname(), which should be enough to warn users about machine mismatches.