--- rpc_server/srv_netlog_nt.c.orig 2005-08-10 14:08:11.000000000 -0500 +++ rpc_server/srv_netlog_nt.c 2005-08-10 14:47:39.000000000 -0500 @@ -635,6 +635,10 @@ rpcstr_pull(nt_domain,uni_samlogon_domain->buffer,sizeof(nt_domain),uni_samlogon_domain->uni_str_len*2,0); rpcstr_pull(nt_workstation,uni_samlogon_workstation->buffer,sizeof(nt_workstation),uni_samlogon_workstation->uni_str_len*2,0); + if (! (strcmp(nt_domain, lp_workgroup()) == 0) ) { + r_u->auth_resp = 0; /* We are not authoritative */ + } + DEBUG(3,("User:[%s@%s] Requested Domain:[%s]\n", nt_username, nt_workstation, nt_domain));