ServiceName = "host@" + strFQDN; stok.value = ServiceName.GetBuffer(MAX_PATH); stok.length = ServiceName.GetLength(); maj_stat = pAddr.gss_import_name( &min_stat, &stok, GSS_C_NT_HOSTBASED_SERVICE, &target_name);