diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-03 18:16:08 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-03 18:16:08 +0000 |
commit | 7d01f964ff3c1a11bd72d987312f9826fee1c124 (patch) | |
tree | 74a89a0a240cd6fd8389efd569e7ba9a3415018a /source3/include/proto.h | |
parent | 69683dc27a8eab7a97f580050c71ab64f1d58987 (diff) | |
download | samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.tar.gz samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.tar.bz2 samba-7d01f964ff3c1a11bd72d987312f9826fee1c124.zip |
cool! a unix socket smb redirector. code based on smbfilter and
ideas from ssh-agent.
the intent is to be able to share smb sessions using cli_net_use_add()
across multiple processes, where one process knows the target server
name, user name and domain, but not the smb password.
(This used to be commit 294b653f2e9cdc1864ec638ae8b4300df25723cf)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 1f2e238d58..331725daea 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -676,7 +676,8 @@ void unistr2_free(UNISTR2 *name); /*The following definitions come from libsmb/clientgen.c */ -void copy_user_creds(struct user_credentials *to, const struct user_credentials *from); +void copy_user_creds(struct user_credentials *to, + const struct user_credentials *from); int cli_set_port(struct cli_state *cli, int port); char *cli_errstr(struct cli_state *cli); void cli_safe_smb_errstr(struct cli_state *cli, char *msg, size_t len); @@ -852,6 +853,7 @@ BOOL remote_password_change(const char *remote_machine, const char *user_name, /*The following definitions come from libsmb/pwd_cache.c */ void pwd_init(struct pwd_info *pwd); +BOOL pwd_is_nullpwd(const struct pwd_info *pwd); void pwd_obfuscate_key(struct pwd_info *pwd, uint32 int_key, char *str_key); BOOL pwd_compare(struct pwd_info *pwd1, struct pwd_info *pwd2); void pwd_read(struct pwd_info *pwd, char *passwd_report, BOOL do_encrypt); @@ -2184,7 +2186,8 @@ BOOL svc_change_svc_cfg( POLICY_HND *hnd, void init_cli_use(void); void free_cli_use(void); struct cli_state *cli_net_use_add(const char* srv_name, - const struct user_credentials *usr_creds); + const struct user_credentials *usr_creds, + BOOL redir); BOOL cli_net_use_del(const char* srv_name, const struct user_credentials *usr_creds, BOOL force_close, |