diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-06 18:45:57 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-06 18:45:57 +0000 |
commit | 346abceb277e3354214599cc3c0f9bac6d44dfc8 (patch) | |
tree | 64fa7b94faceb66ebf6564841d4a261b89cdbc50 /source3/include | |
parent | b54509045d7186fc0526d91bcf429659cba8be1d (diff) | |
download | samba-346abceb277e3354214599cc3c0f9bac6d44dfc8.tar.gz samba-346abceb277e3354214599cc3c0f9bac6d44dfc8.tar.bz2 samba-346abceb277e3354214599cc3c0f9bac6d44dfc8.zip |
smbpass.c: Fixed machine_passwd_lock() problems.
password.c: Fixed machine_passwd_lock() problems.
lib/rpc/server/srv_ldap_helpers.c: Oops - broke proto.h with dummy function. Fixed now.
Jeremy.
(This used to be commit d28427f21fff49da6b38c24625e3e2dae49a9713)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 720806026b..7c09113259 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -847,6 +847,7 @@ BOOL get_ldap_entries(SAM_USER_INFO_21 *pw_buf, int max_num_entries, uint16 acb_mask, int switch_level); BOOL ldap_get_user_info_21(SAM_USER_INFO_21 *id21, uint32 rid); +void ldap_helper_dummy(void); /*The following definitions come from lib/rpc/server/srv_lsa.c */ @@ -1787,12 +1788,11 @@ struct smb_passwd *getsmbpwuid(unsigned int uid); char *encode_acct_ctrl(uint16 acct_ctrl); BOOL add_smbpwd_entry(struct smb_passwd *newpwd); BOOL mod_smbpwd_entry(struct smb_passwd* pwd, BOOL override); -void *machine_password_lock( char *domain, char *name, BOOL update); -BOOL machine_password_unlock( void *token ); +BOOL machine_password_lock( char *domain, char *name, BOOL update); +BOOL machine_password_unlock(void); BOOL machine_password_delete( char *domain, char *name ); -BOOL get_machine_account_password( void *mach_tok, unsigned char *ret_pwd, - time_t *last_change_time); -BOOL set_machine_account_password( void *mach_tok, unsigned char *md4_new_pwd); +BOOL get_machine_account_password( unsigned char *ret_pwd, time_t *last_change_time); +BOOL set_machine_account_password( unsigned char *md4_new_pwd); /*The following definitions come from status.c */ |