diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:56:09 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-29 23:56:09 +0000 |
commit | 8d0660607f2c2d95e1319e04d0d573d9115c4dc0 (patch) | |
tree | b022b93ae54f03cb0c333d6ab22d1a8ee7727caa /source3/include | |
parent | 1bb4c6f01607f8e0cd5860aa4b3ed429308c3a3f (diff) | |
download | samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.tar.gz samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.tar.bz2 samba-8d0660607f2c2d95e1319e04d0d573d9115c4dc0.zip |
this is going to sound _really_ weird, ok, but i had to implement
equivalents of NetUseAdd and NetUseDel!
(This used to be commit 86f4b1d3cc3887c4bb7bd6433f5f932f7db1b88e)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b29565f4b2..4c547be3de 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -842,7 +842,7 @@ void pwd_set_nullpwd(struct pwd_info *pwd); void pwd_set_cleartext(struct pwd_info *pwd, char *clr); void pwd_get_cleartext(struct pwd_info *pwd, char *clr); void pwd_set_lm_nt_16(struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]); -void pwd_get_lm_nt_16(struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]); +void pwd_get_lm_nt_16(const struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16]); void pwd_make_lm_nt_16(struct pwd_info *pwd, char *clr); void pwd_make_lm_nt_owf2(struct pwd_info *pwd, const uchar srv_key[8], const char *user, const char *server, const char *domain); @@ -1792,7 +1792,7 @@ void cli_connection_free(struct cli_connection *con); void cli_connection_unlink(struct cli_connection *con); BOOL cli_connection_init_list(char* servers, const char* pipe_name, struct cli_connection **con); -BOOL cli_connection_init(const char* server_name, const char* pipe_name, +BOOL cli_connection_init(const char* srv_name, const char* pipe_name, struct cli_connection **con); BOOL cli_connection_getsrv(const char* srv_name, const char* pipe_name, struct cli_connection **con); @@ -2161,6 +2161,19 @@ BOOL svc_change_svc_cfg( POLICY_HND *hnd, char* password, char* disp_name); +/*The following definitions come from rpc_client/cli_use.c */ + +void init_client_use(void); +void free_cli_use(void); +struct cli_state *cli_net_use_addlist(char* servers, + const struct user_credentials *usr_creds); +struct cli_state *cli_net_use_add(const char* srv_name, + const struct user_credentials *usr_creds); +BOOL cli_net_use_del(const char* srv_name, + const struct user_credentials *usr_creds, + BOOL force_close, + BOOL *connection_closed); + /*The following definitions come from rpc_client/cli_wkssvc.c */ BOOL wks_query_info( char *srv_name, uint32 switch_value, |