diff options
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) |