summaryrefslogtreecommitdiff
path: root/source3/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
commit5983a77020a27dd6d7591107070e5167833727d2 (patch)
treec93931faa7f9171c5b4e50a3ad5a27dcf1d6c899 /source3/include
parentc4914e2202c17dd37b88c63446c14f7eb5f94d56 (diff)
downloadsamba-5983a77020a27dd6d7591107070e5167833727d2.tar.gz
samba-5983a77020a27dd6d7591107070e5167833727d2.tar.bz2
samba-5983a77020a27dd6d7591107070e5167833727d2.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. (This used to be commit 210d61db08136122f51a93428607fccd582c9e7d)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/includes.h4
-rw-r--r--source3/include/proto.h2
3 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 2761b1e384..0da717ac42 100644
--- a/source3/include/config.h.in
+++ b/source3/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/source3/include/includes.h b/source3/include/includes.h
index 7986c12c91..e2139345c0 100644
--- a/source3/include/includes.h
+++ b/source3/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/source3/include/proto.h b/source3/include/proto.h
index 0222e890d2..dd25ae1d79 100644
--- a/source3/include/proto.h
+++ b/source3/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 */