diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 3 | ||||
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
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 */ |