From 5983a77020a27dd6d7591107070e5167833727d2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 5 Jan 2000 23:46:47 +0000 Subject: Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c. configure configure.in include/config.h.in: Added autoconf code for Luke's UNIX domain sockets code. Jeremy. (This used to be commit 210d61db08136122f51a93428607fccd582c9e7d) --- source3/include/config.h.in | 3 +++ source3/include/includes.h | 4 ++++ source3/include/proto.h | 2 ++ 3 files changed, 9 insertions(+) (limited to 'source3/include') 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 header file. */ #undef HAVE_SYS_TIME_H +/* Define if you have the header file. */ +#undef HAVE_SYS_UN_H + /* Define if you have the 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 #endif +#ifdef HAVE_SYS_UN_H +#include +#endif + #ifdef HAVE_SYS_SYSCALL_H #include #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 */ -- cgit