diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-24 13:15:34 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-24 13:15:34 +0000 |
commit | a12f04753348e6d52df1f9a2359794deacfc9007 (patch) | |
tree | 1b4afcd5c0819d7486504510b6681644101c7ebe /source3/include | |
parent | abb255cfe674a39c6a42f5083af9c5facdbcca05 (diff) | |
download | samba-a12f04753348e6d52df1f9a2359794deacfc9007.tar.gz samba-a12f04753348e6d52df1f9a2359794deacfc9007.tar.bz2 samba-a12f04753348e6d52df1f9a2359794deacfc9007.zip |
nterr.c :
added a structure that wraps nt errors as strings and enums, so we
can do a smb_nt_error() function.
Makefile ntclient.c :
added ntclient.c, broken out nt domain stuff into a separate file.
getting fed up of compile-times and size of client.c.
fixed the do_lsa_req_chal() function. made it read the response,
and return the challenge credentials received from the server.
next stop: do_lsa_auth_2().
client.c :
removed nt domain logon functions into a separate file.
pipenetlog.c pipentlsa.c pipesrvsvc.c smbparse.c :
i'd broken the offsets of the RPC_HDR while trying to sort out the
nt client code. fixed it again. added some robustness stuff.
util.c :
the unistrn2() function was null-terminating the string at one
character too many.
(This used to be commit 39cec7f698c4461aee05cfbb213879fbd486117d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 603399758f..03c3eaf6a5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -36,6 +36,7 @@ BOOL chgpasswd(char *name,char *oldpass,char *newpass); /*The following definitions come from client.c */ +void cli_smb_close(char *inbuf, char *outbuf, int clnt_fd, int c_num, int f_num); void do_dir(char *inbuf,char *outbuf,char *Mask,int attribute,void (*fn)(),BOOL recurse_dir); void cmd_help(void); @@ -630,6 +631,11 @@ char *getsmbpass(char *pass); void sync_browse_lists(struct subnet_record *d, struct work_record *work, char *name, int nm_type, struct in_addr ip, BOOL local); +/*The following definitions come from ntclient.c */ + +BOOL cli_lsa_req_chal(DOM_CHAL *srv_chal, char *desthost, char *myhostname, + int Client, int cnum); + /*The following definitions come from params.c */ BOOL pm_process( char *FileName, |