summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-03-27 19:59:14 +0000
committerJeremy Allison <jra@samba.org>1998-03-27 19:59:14 +0000
commita4156f9b50c81fe40823cd8e32ec990690d3884c (patch)
treef23772c046178ec4a0d9efcbfeee619c2e39f20f /source3/include
parentf52bb48748cf330d8d9a9c6350f53e84e4adaece (diff)
downloadsamba-a4156f9b50c81fe40823cd8e32ec990690d3884c.tar.gz
samba-a4156f9b50c81fe40823cd8e32ec990690d3884c.tar.bz2
samba-a4156f9b50c81fe40823cd8e32ec990690d3884c.zip
chgpasswd.c, ipc.c, loadparm.c: Added boolean "unix password sync"
parameter which allows the new change password code to change the unix password also. Defaults to OFF. includes.h: Added termios.h to FreeBSD to allow password changing. namequery.c: Fixed missing name parameters to debug statements. Jeremy. (This used to be commit 4ac50c0f0aa5af084ddad89b1f9baf6c2c1ddcb8)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/proto.h7
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);