diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-26 13:42:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:58 -0500 |
commit | 98a7da234869576c0b4b41ede9fd64a022c3ec58 (patch) | |
tree | 6d4ce967d473837a2261ba1af41a419071b5016b /source4/winbind/wb_samba3_protocol.h | |
parent | eb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6 (diff) | |
download | samba-98a7da234869576c0b4b41ede9fd64a022c3ec58.tar.gz samba-98a7da234869576c0b4b41ede9fd64a022c3ec58.tar.bz2 samba-98a7da234869576c0b4b41ede9fd64a022c3ec58.zip |
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)
Diffstat (limited to 'source4/winbind/wb_samba3_protocol.h')
-rw-r--r-- | source4/winbind/wb_samba3_protocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) |