winbind: Add wb_dsgetdcname_gencache_[gs]et
authorVolker Lendecke <vl@samba.org>
Thu, 17 Mar 2016 13:27:32 +0000 (14:27 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Apr 2016 13:32:11 +0000 (15:32 +0200)
commit10ae56f1423d433fc120457135b3be70c9d8e9ea
tree6d78abf8e3682ba8869c904430effedd45be02f1
parentd5e77a81daef2e6563936c328f784cd27e3aa7b1
winbind: Add wb_dsgetdcname_gencache_[gs]et

This is a sneaky way to pass the DC info from the parent winbind to children
and other users.

Not sure where exactly to put these routines. For now, put them into the parent
code to find the dcinfo from "our" dc.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/wb_dsgetdcname.c
source3/winbindd/winbindd_proto.h