From 98a7da234869576c0b4b41ede9fd64a022c3ec58 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 26 Sep 2005 13:42:42 +0000 Subject: r10508: - implement WINBINDD_NETBIOS_NAME, WINBINDD_DOMAIN_NAME and WINBINDD_INFO is there a way to test this calls? vl: please review this metze (This used to be commit 85d4565fce0fcd6abad5fb11246d2671675ee37d) --- source4/winbind/wb_samba3_protocol.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/winbind/wb_samba3_protocol.h') diff --git a/source4/winbind/wb_samba3_protocol.h b/source4/winbind/wb_samba3_protocol.h index 473a91b752..9a13210187 100644 --- a/source4/winbind/wb_samba3_protocol.h +++ b/source4/winbind/wb_samba3_protocol.h @@ -33,3 +33,7 @@ struct wbsrv_samba3_call { /* the response structure of the samba3 protocol*/ struct winbindd_response response; }; + +#define WBSRV_SAMBA3_SET_STRING(dest, src) do { \ + strncpy(dest, src, sizeof(dest)-1);\ +} while(0) -- cgit