summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-11-12 23:49:32 +0000
committerHerb Lewis <herb@samba.org>1998-11-12 23:49:32 +0000
commitea2fa33f6564389240c4b414e27065a4a01dcfbc (patch)
treefbc90713ab443b46afceedd0a8421087ca39a94b /source3/include/proto.h
parented6872edeaa66b19445253160dac40bb0eeb7959 (diff)
downloadsamba-ea2fa33f6564389240c4b414e27065a4a01dcfbc.tar.gz
samba-ea2fa33f6564389240c4b414e27065a4a01dcfbc.tar.bz2
samba-ea2fa33f6564389240c4b414e27065a4a01dcfbc.zip
Removed code that used printf/fprintf in password changin libraries.
Now passes strings instead. (This used to be commit 48af29bcc9e8094de6ba057a52dbae3c80ea7a05)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 547458c07d..aa2d3b6486 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -512,7 +512,8 @@ char *get_nt_error_msg(uint32 nt_code);
/*The following definitions come from libsmb/passchange.c */
BOOL remote_password_change(const char *remote_machine, const char *user_name,
- const char *old_passwd, const char *new_passwd);
+ const char *old_passwd, const char *new_passwd,
+ char *err_str, size_t err_str_len);
/*The following definitions come from libsmb/pwd_cache.c */
@@ -1223,7 +1224,9 @@ struct passdb_ops *file_initialize_password_db(void);
BOOL local_password_change(char *user_name, BOOL trust_account, BOOL add_user,
BOOL enable_user, BOOL disable_user, BOOL set_no_password,
- char *new_passwd);
+ char *new_passwd,
+ char *err_str, size_t err_str_len,
+ char *msg_str, size_t msg_str_len);
/*The following definitions come from passdb/smbpassfile.c */