summaryrefslogtreecommitdiff
path: root/source3/libsmb/clilist.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-25/+23
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-3/+7
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-11Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
2001-09-17move to SAFE_FREE()Simo Sorce1-6/+6
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
2001-09-05use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell1-2/+2
codes don't work correctly (This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)
2001-08-24fixed shortname length in trans2 listAndrew Tridgell1-1/+2
(This used to be commit ae669720d8f434a23397deaea3371998ab6f1f54)
2001-08-22a fix for directory listing with the dave/thursby clientAndrew Tridgell1-1/+1
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell1-1/+1
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-12Fixed crash bug when attempting to list contents of non-existentTim Potter1-0/+3
directory. (This used to be commit a7863f0f033b31838a53960e9f616d9a82081ecf)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-7/+12
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter1-2/+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-07-07fixed some unicode and LANMAN2 bugs in trans2 find firstAndrew Tridgell1-103/+77
(This used to be commit dc99b9ddf847c210c72921ba1dedcdc34fd32aab)
2001-07-04The big character set handling changeover!Andrew Tridgell1-15/+12
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-03-16added STR_ASCII support to clistr_pull()Andrew Tridgell1-3/+3
(This used to be commit 797293811ef0a79eecc460c471135c89090f8c06)
2001-03-14simpler clistr interface which handles individual packets havingAndrew Tridgell1-8/+8
unicode bit set differently to capabilities (This used to be commit 34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
2001-03-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell1-16/+16
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-02-26made some LANMAN1 wildcard progressAndrew Tridgell1-6/+12
it now handles -M LANMAN1 -f '.x' -m '?x' nicely (This used to be commit e7ccb9be6da9b1426eb136b4a0a1171232471768)
2001-02-26add cli_list_new() for forced new protocol listingAndrew Tridgell1-8/+18
(This used to be commit a5407366b77f2bec2c21e1f36dd007813d33f75e)
2001-02-25use cli_list_old() when negotiating the older protocolsAndrew Tridgell1-0/+4
(This used to be commit 735f29319b8d81df203c8ddbcea5349b11f2195d)
2001-02-21the unicode conversion of our client code is complete enough to beAndrew Tridgell1-14/+11
enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII (This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
2001-02-20yipee! client unicode now works well with ntAndrew Tridgell1-2/+2
(This used to be commit 5b2ef8a1b914265c6072c968d2dad7d26c2aeffc)
2001-02-20converted cli_list()Andrew Tridgell1-32/+45
(This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
2001-02-20pipe opening now works with unicodeAndrew Tridgell1-1/+1
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe1-2/+2
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2000-05-10lib/util_unistr.c:Jeremy Allison1-1/+1
libsmb/clilist.c: rpc_server/srv_spoolss_nt.c: smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion. msdfs/msdfs.c: Removed stub unistr_to_dos. libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and don't add any security. Jeremy. (This used to be commit 1ed146467e764e6a81d8f78cd58fb5765ebf5d21)
2000-04-30fixed parsing of broken NT short nameAndrew Tridgell1-1/+1
(This used to be commit 9e4b3529455840f11940136dd55c641d89b46961)
2000-04-30- get the findclose code rightAndrew Tridgell1-9/+17
- handle broken NT response to trans2 findfirst (This used to be commit 64f91a7a98fe9aaf176e665677e751e4e03d4c3d)
2000-04-30added cli_list_old() to allow for old style directory listing fromAndrew Tridgell1-2/+144
masktest (This used to be commit 8a5c8cfa0ede1d119bf9013e321a497beefd4dda)
2000-04-30YIPEE!!!!!Andrew Tridgell1-0/+1
We finally have a perfect emulation of Microsoft wildcard matching. The routine ms_fnmatch() does wildcard matching with all MS wildcards (including the unicode wildcards), and masktest against a NT4 workstation with hundreds of thousands of random exmaples has not found a single error. amazingly it is only about 60 lines of code, but it has taken us years to get it right. I didn't sleep much last night :) (This used to be commit cc9e007cdfdd300189f89e2a55e4234e47fa842d)
2000-04-25split clientgen.c into several partsAndrew Tridgell1-0/+303
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier (This used to be commit 10c5470835b43116ed48b3137c3b9cc867a20989)