diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index c9a515af9a..e6dee108a5 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -516,6 +516,7 @@ char *mktemp(char *); /* No standard include */ #include <netinet/tcp.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#include <termios.h> #if __FreeBSD__ >= 3 #include <dirent.h> #else diff --git a/source3/include/proto.h b/source3/include/proto.h index a643996d3c..993cf46486 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -32,9 +32,9 @@ void add_char_string(char *s); /*The following definitions come from chgpasswd.c */ -BOOL chat_with_program(char *passwordprogram,char *name,char *chatsequence); -BOOL chgpasswd(char *name,char *oldpass,char *newpass); -BOOL chgpasswd(char *name,char *oldpass,char *newpass); +BOOL chat_with_program(char *passwordprogram,char *name,char *chatsequence, BOOL as_root); +BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root); +BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root); BOOL check_lanman_password(char *user, unsigned char *pass1, unsigned char *pass2, struct smb_passwd **psmbpw); BOOL change_lanman_password(struct smb_passwd *smbpw, unsigned char *pass1, unsigned char *pass2); @@ -924,6 +924,7 @@ BOOL lp_nis_home_map(void); BOOL lp_time_server(void); BOOL lp_bind_interfaces_only(void); BOOL lp_net_wksta_user_logon(void); +BOOL lp_unix_password_sync(void); int lp_os_level(void); int lp_max_ttl(void); int lp_max_wins_ttl(void); |