summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-01-05 23:46:47 +0000
committerJeremy Allison <jra@samba.org>2000-01-05 23:46:47 +0000
commit210d61db08136122f51a93428607fccd582c9e7d (patch)
tree4e430b7989731e64ad584e86ae3ba1bdb9f78a92 /source/include
parent9e90122afd1b6a7cf38660fc3bc3aa8e526bf08b (diff)
downloadsamba-210d61db08136122f51a93428607fccd582c9e7d.tar.gz
samba-210d61db08136122f51a93428607fccd582c9e7d.tar.xz
samba-210d61db08136122f51a93428607fccd582c9e7d.zip
Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.
configure configure.in include/config.h.in: Added <sys/un.h> autoconf code for Luke's UNIX domain sockets code. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/config.h.in3
-rw-r--r--source/include/includes.h4
-rw-r--r--source/include/proto.h2
3 files changed, 9 insertions, 0 deletions
diff --git a/source/include/config.h.in b/source/include/config.h.in
index 2761b1e384f..0da717ac428 100644
--- a/source/include/config.h.in
+++ b/source/include/config.h.in
@@ -843,6 +843,9 @@
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
+/* Define if you have the <sys/un.h> header file. */
+#undef HAVE_SYS_UN_H
+
/* Define if you have the <sys/unistd.h> header file. */
#undef HAVE_SYS_UNISTD_H
diff --git a/source/include/includes.h b/source/include/includes.h
index 7986c12c91a..e2139345c09 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -110,6 +110,10 @@
#include <sys/socket.h>
#endif
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
+
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#elif HAVE_SYSCALL_H
diff --git a/source/include/proto.h b/source/include/proto.h
index 0222e890d21..dd25ae1d791 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -2531,6 +2531,8 @@ BOOL check_oem_password(char *user,
struct smb_passwd **psmbpw, char *new_passwd,
int new_passwd_size);
BOOL change_oem_password(struct smb_passwd *smbpw, char *new_passwd, BOOL override);
+BOOL check_plaintext_password(char *user,char *old_passwd,
+ int old_passwd_size, struct smb_passwd **psmbpw);
/*The following definitions come from smbd/close.c */