From 29e36b713468d7e7de301c483fc340ef42b4a9fb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Nov 1998 07:06:48 +0000 Subject: extracted the password change code from smbpasswd and used it in swat instead of opening pipes and other horrible stuff. (This used to be commit 49bf19710345a59a2d17cd449be1a132885ed821) --- source3/include/proto.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 888e2af33f..2580491976 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -507,6 +507,11 @@ void sort_query_replies(char *data, int n, struct in_addr ip); 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); + /*The following definitions come from libsmb/pwd_cache.c */ void pwd_init(struct pwd_info *pwd); @@ -1212,6 +1217,12 @@ BOOL pdb_rid_is_user(uint32 rid); struct passdb_ops *file_initialize_password_db(void); +/*The following definitions come from passdb/smbpasschange.c */ + +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); + /*The following definitions come from passdb/smbpassfile.c */ BOOL pw_file_lock(int fd, int type, int secs, int *plock_depth); -- cgit