diff options
author | Jeremy Allison <jra@samba.org> | 2009-03-13 17:49:24 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-03-13 17:49:24 -0700 |
commit | f48a345e4a215173ad9e7d2777bacc0decb2bcc7 (patch) | |
tree | 411aabcb24f39c0e9c908cac0aef264920564810 /source3/include/proto.h | |
parent | 5df46fa35bd7c7aa083d4db1331b6f056ef70c77 (diff) | |
download | samba-f48a345e4a215173ad9e7d2777bacc0decb2bcc7.tar.gz samba-f48a345e4a215173ad9e7d2777bacc0decb2bcc7.tar.xz samba-f48a345e4a215173ad9e7d2777bacc0decb2bcc7.zip |
Remove pwd_cache.c, it was doing nothing. Make user_name, domain, and
password talloc'ed strings within the cli_struct.
Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 5811574068..f992f0686a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2424,7 +2424,10 @@ bool cli_send_smb_direct_writeX(struct cli_state *cli, void cli_setup_packet_buf(struct cli_state *cli, char *buf); void cli_setup_packet(struct cli_state *cli); void cli_setup_bcc(struct cli_state *cli, void *p); -void cli_init_creds(struct cli_state *cli, const char *username, const char *domain, const char *password); +NTSTATUS cli_set_domain(struct cli_state *cli, const char *domain); +NTSTATUS cli_set_username(struct cli_state *cli, const char *username); +NTSTATUS cli_set_password(struct cli_state *cli, const char *password); +NTSTATUS cli_init_creds(struct cli_state *cli, const char *username, const char *domain, const char *password); struct cli_state *cli_initialise(void); struct cli_state *cli_initialise_ex(int signing_state); void cli_nt_pipes_close(struct cli_state *cli); @@ -3154,11 +3157,6 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam const char *old_passwd, const char *new_passwd, char **err_str); -/* The following definitions come from libsmb/pwd_cache.c */ - -void pwd_set_cleartext(struct pwd_info *pwd, const char *clr); -void pwd_get_cleartext(struct pwd_info *pwd, fstring clr); - /* The following definitions come from libsmb/samlogon_cache.c */ bool netsamlogon_cache_init(void); |