summaryrefslogtreecommitdiff
path: root/source4/nsswitch/winbind_struct_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nsswitch/winbind_struct_protocol.h')
-rw-r--r--source4/nsswitch/winbind_struct_protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/nsswitch/winbind_struct_protocol.h b/source4/nsswitch/winbind_struct_protocol.h
index fba45230a9..8003ea9585 100644
--- a/source4/nsswitch/winbind_struct_protocol.h
+++ b/source4/nsswitch/winbind_struct_protocol.h
@@ -18,6 +18,14 @@
#ifndef _WINBINDD_NTDOM_H
#define _WINBINDD_NTDOM_H
+#define _PSTRING
+#define FSTRING_LEN 256
+
+typedef char fstring[FSTRING_LEN];
+
+#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
+#define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
+
#define WINBINDD_SOCKET_NAME "pipe" /* Name of PF_UNIX socket */
/* Let the build environment override the public winbindd socket location. This