s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
authorVolker Lendecke <vl@samba.org>
Mon, 21 Dec 2009 20:50:43 +0000 (21:50 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Dec 2009 22:23:52 +0000 (23:23 +0100)
commit9b6b01aab6a6a0ebb34798bb78febb2df17b302d
treeaf8861a982ce0c9f95d65b2d8e5d5a0d280d00e2
parent2308ec70a53d3990ea98162bcbcc73326ef63687
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc

This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
17 files changed:
nsswitch/libwbclient/wbc_pam.c
nsswitch/libwbclient/wbclient.h
nsswitch/wbinfo.c
nsswitch/winbind_struct_protocol.h
source3/Makefile.in
source3/librpc/gen_ndr/cli_wbint.c
source3/librpc/gen_ndr/cli_wbint.h
source3/librpc/gen_ndr/ndr_wbint.c
source3/librpc/gen_ndr/ndr_wbint.h
source3/librpc/gen_ndr/srv_wbint.c
source3/librpc/gen_ndr/srv_wbint.h
source3/librpc/gen_ndr/wbint.h
source3/librpc/idl/wbint.idl
source3/winbindd/winbindd.c
source3/winbindd/winbindd_dual_srv.c
source3/winbindd/winbindd_ping_dc.c [new file with mode: 0644]
source3/winbindd/winbindd_proto.h