summaryrefslogtreecommitdiff
path: root/source4/include/system/passwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/system/passwd.h')
-rw-r--r--source4/include/system/passwd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/include/system/passwd.h b/source4/include/system/passwd.h
index ba7fc93d37..215f53d138 100644
--- a/source4/include/system/passwd.h
+++ b/source4/include/system/passwd.h
@@ -52,3 +52,15 @@
#include <compat.h>
#endif
+#ifdef REPLACE_GETPASS
+#define getpass(prompt) getsmbpass((prompt))
+#endif
+
+#ifndef HAVE_INITGROUPS
+int initgroups(char *name,gid_t id);
+#endif
+
+#ifndef HAVE_CRYPT
+#define crypt ufc_crypt
+#endif
+