summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.c
AgeCommit message (Collapse)AuthorFilesLines
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter1-3/+3
out the error handling into a bunch of separate functions rather than all being handled in one big function. Fetch error codes from the last received packet: void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num); uint32 cli_nt_error(struct cli_state *); Convert errors to UNIX errno values: int cli_errno_from_dos(uint8 eclass, uint32 num); int cli_errno_from_nt(uint32 status); int cli_errno(struct cli_state *cli); Detect different kinds of errors: BOOL cli_is_dos_error(struct cli_state *cli); BOOL cli_is_nt_error(struct cli_state *cli); BOOL cli_is_error(struct cli_state *cli); This also means we now support CAP_STATUS32 as we can decode and understand NT errors instead of just DOS errors. Yay! Ported a whole bunch of files in libsmb to use this new API instead of the just the DOS error. (This used to be commit 6dbdb0d813f3c7ab20b38baa1223b0b479aadec9)
2001-08-10Changed the order of arguments in make_oem_passwd_hash(). All the otherTim Potter1-1/+1
encryption functions have outputs as the last arguments. (This used to be commit fb60798a771a7a2358d78e5cef97487addf930e7)
2001-07-04The big character set handling changeover!Andrew Tridgell1-16/+10
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Fixed incorrect comment for cli_NetServerEnum()Tim Potter1-4/+4
(This used to be commit 0a505e50a5059930de6583918f25ef84af53de0e)
2001-06-21Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,Jeremy Allison1-6/+11
Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy. (This used to be commit 244aec8ea623fec828add3ab09c5003bf32bd5c7)
2001-06-18New info level tester.Jeremy Allison1-0/+43
Jeremy. (This used to be commit 9297ae69a7dde878bb4c696f90fbaceb46e18720)
2001-03-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell1-3/+3
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-02-21converted the last couple of functions in libsmb to be unicodeAndrew Tridgell1-10/+14
the whole of libsmb should now do unicode where appropriate (This used to be commit ac7529d2b69826f8214d5632c31778cc87216653)
2001-02-21reverted richards cli_NetServerEnum changes - they broke lots of thingsAndrew Tridgell1-56/+12
(This used to be commit 86adbb0caf26a8c2fc4d3748b965c0ce79360c1a)
2001-02-20converted a bunch more fnsAndrew Tridgell1-19/+27
(This used to be commit f6b8d6730452522f77852af0917cb48424d4c8a9)
2001-02-20pipe opening now works with unicodeAndrew Tridgell1-11/+8
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-01-04I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe1-8/+44
to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
2000-10-07Ensure browse.dat is written and read in UNIX character set format.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 279d0ec656b03f9266e38b013f16b69e7571c0d5)
2000-04-30 - added some error checkingAndrew Tridgell1-64/+66
- removed the VTP hook in smbd (This used to be commit 09355fcd50e6c9c0c81e5f70ab9b7ff88aa897bf)
2000-04-25split clientgen.c into several partsAndrew Tridgell1-0/+591
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier (This used to be commit 10c5470835b43116ed48b3137c3b9cc867a20989)