Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert to NTSTATUS. | Tim Potter | 2001-08-27 | 6 | -166/+165 | |
| | ||||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 7 | -43/+43 | |
| | ||||||
* | started converting NTSTATUS to be a structure on systems with gcc in order ↵ | Andrew Tridgell | 2001-08-27 | 5 | -53/+902 | |
| | | | | to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs | |||||
* | converted smbd to use NTSTATUS by default | Andrew Tridgell | 2001-08-27 | 4 | -51/+32 | |
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night | |||||
* | get rid of compiler warnings | Herb Lewis | 2001-08-24 | 1 | -8/+8 | |
| | ||||||
* | Re-added readbraw call to test with smbtorture. This code not yet | Jeremy Allison | 2001-08-24 | 1 | -1/+88 | |
| | | | | | tested... Jeremy. | |||||
* | fixed handling of 139/445 in clients | Andrew Tridgell | 2001-08-24 | 2 | -5/+3 | |
| | ||||||
* | Fixed debug in cli_establish_connection() - print out the called name on | Tim Potter | 2001-08-24 | 1 | -1/+1 | |
| | | | | connection failure rather than the calling name. | |||||
* | Make domain_client_validate return a status code instead of a boolean. | Tim Potter | 2001-08-24 | 1 | -9/+13 | |
| | ||||||
* | fixed shortname length in trans2 list | Andrew Tridgell | 2001-08-24 | 1 | -1/+2 | |
| | ||||||
* | use 32 bit locking if client doesn't do 64 bit | Andrew Tridgell | 2001-08-23 | 1 | -0/+8 | |
| | ||||||
* | better error reporting for servers that don't do port 445 | Andrew Tridgell | 2001-08-23 | 1 | -1/+4 | |
| | ||||||
* | added port 445 support to our client code | Andrew Tridgell | 2001-08-22 | 1 | -5/+19 | |
| | ||||||
* | a fix for directory listing with the dave/thursby client | Andrew Tridgell | 2001-08-22 | 1 | -1/+1 | |
| | ||||||
* | string terminate in mkdir | Andrew Tridgell | 2001-08-21 | 1 | -1/+1 | |
| | ||||||
* | Added cli_lsa_open_policy2() | Tim Potter | 2001-08-21 | 1 | -0/+58 | |
| | ||||||
* | Distinguish between NT informational and error codes. | Tim Potter | 2001-08-21 | 1 | -4/+10 | |
| | ||||||
* | allow for the NULL in make_nmb_name() | Andrew Tridgell | 2001-08-20 | 1 | -1/+1 | |
| | ||||||
* | a bunch of fixes from the sflight to seattle | Andrew Tridgell | 2001-08-20 | 3 | -9/+11 | |
| | | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch | |||||
* | Realloc fix. | Jeremy Allison | 2001-08-19 | 1 | -3/+13 | |
| | | | | Jeremy. | |||||
* | Use tparam not tdata when reallocing params to make clearer. | Jeremy Allison | 2001-08-17 | 1 | -12/+15 | |
| | | | | Jeremy. | |||||
* | more useful debug messages and check if the size are non null. | Jean-François Micouleau | 2001-08-17 | 1 | -10/+17 | |
| | | | | | | that fix the notification backend channel for spoolss. J.F. | |||||
* | Fixed crash bug when attempting to list contents of non-existent | Tim Potter | 2001-08-12 | 1 | -0/+3 | |
| | | | | directory. | |||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 2 | -11/+38 | |
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. | |||||
* | This patch does a number of things, mostly smaller than they look :-) | Andrew Bartlett | 2001-08-12 | 1 | -0/+363 | |
| | | | | | | | | | | | | | | | In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett | |||||
* | - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed) | Simo Sorce | 2001-08-10 | 1 | -0/+116 | |
| | | | | | | | - ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 | |||||
* | Debug cleanups. | Tim Potter | 2001-08-10 | 1 | -3/+3 | |
| | ||||||
* | Had the test for cli_is_error() reversed. You idiot Stimpy! | Tim Potter | 2001-08-10 | 1 | -1/+1 | |
| | ||||||
* | Fixes for new client error api. | Tim Potter | 2001-08-10 | 1 | -2/+2 | |
| | ||||||
* | A rewrite of the error handling in the libsmb client code. I've separated | Tim Potter | 2001-08-10 | 13 | -182/+283 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Changed the order of arguments in make_oem_passwd_hash(). All the other | Tim Potter | 2001-08-10 | 2 | -2/+3 | |
| | | | | encryption functions have outputs as the last arguments. | |||||
* | Factored out common rpc pipe initialisation and shutdown code. | Tim Potter | 2001-08-08 | 7 | -300/+86 | |
| | ||||||
* | Fixed another possible memleak in cli_initialise() | Tim Potter | 2001-08-06 | 1 | -0/+6 | |
| | ||||||
* | Cleaned up error handling in cli_initialise() to fix a memleak found by | Tim Potter | 2001-08-06 | 1 | -10/+14 | |
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> | |||||
* | Changed lone malloc() call to talloc(). Spotted by | Tim Potter | 2001-08-06 | 1 | -1/+1 | |
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> | |||||
* | Added "use mmap" for HPUX. | Jeremy Allison | 2001-07-30 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Throw out crappy (non-ascii unaware) mbtows stuff and use proper unicode | Jeremy Allison | 2001-07-30 | 1 | -57/+6 | |
| | | | | | push calls. If this breaks authentication then good, it needed fixing anyway :-). Jeremy. | |||||
* | cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an | Tim Potter | 2001-07-23 | 1 | -1/+4 | |
| | | | | entry. | |||||
* | Added a warning debug if cli_samr_lookup_rids is called with more than 1000 | Tim Potter | 2001-07-23 | 1 | -1/+7 | |
| | | | | rids as this seems to crash LSASS.EXE more often than not. | |||||
* | In cli_lsa_lookup_sids() don't append a separator character between domain | Tim Potter | 2001-07-20 | 1 | -1/+2 | |
| | | | | and name if there is no name. | |||||
* | Changed the cli_lsa_lookup_sids() function to unpack the domain and user or | Tim Potter | 2001-07-20 | 1 | -3/+7 | |
| | | | | group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!) | |||||
* | formatting fix | Andrew Tridgell | 2001-07-08 | 1 | -1/+1 | |
| | ||||||
* | fixed some unicode and LANMAN2 bugs in trans2 find first | Andrew Tridgell | 2001-07-07 | 1 | -103/+77 | |
| | ||||||
* | Add backend encryption support for NTLMv2. | Andrew Bartlett | 2001-07-07 | 2 | -5/+100 | |
| | | | | | | | | | | | | The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett | |||||
* | Renamed formal parameter fd to fnum because we're talking about SMB file | Tim Potter | 2001-07-05 | 1 | -10/+7 | |
| | | | | handles, not unix ones. | |||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 4 | -9/+9 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 15 | -266/+94 | |
| | | | | | | | 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. | |||||
* | Fixed incorrect comment for cli_NetServerEnum() | Tim Potter | 2001-07-03 | 1 | -4/+4 | |
| | ||||||
* | Insure caught the fact that PTRDIFFs were being done between two unrelated | Jeremy Allison | 2001-07-02 | 2 | -5/+17 | |
| | | | | | pointers. Jeremy. | |||||
* | cli_read() was reading too many bytes. | Andrew Tridgell | 2001-07-01 | 1 | -2/+1 | |
| |