s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC documentation
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 18 Apr 2010 13:02:06 +0000 (15:02 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 Apr 2010 05:24:41 +0000 (15:24 +1000)
commit5fc71186751da3fc2388021630b16279cb949017
tree91f22df722bc8acad97254de86038513cda4a4ec
parentcf93634ec5bc4a87c58fccbf2c04c8625013946f
s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC documentation

This implementation checks if the domainname is valid for us or a trusted domain.

Then I've also added the PDC location functionality. That means that we should
return "WERR_NO_SUCH_DOMAIN"  (MS-NRPC 3.5.5.2.5).

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/rpc_server/netlogon/dcerpc_netlogon.c