summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Make sure that if there are no interfaces, name_register_wins does notRichard Sharpe2001-09-091-0/+7
| | | | | | | | | | | | | | | | | | | | segfault.
| * | | | got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
| | | | |
| * | | | actually obey the "use mmap" smb.conf optionAndrew Tridgell2001-09-061-1/+1
| | | | |
| * | | | use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell2001-09-057-64/+55
| | | | | | | | | | | | | | | | | | | | codes don't work correctly
| * | | | fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵Andrew Tridgell2001-09-051-9/+10
| | | | | | | | | | | | | | | | | | | | configure to get the new NTSTATUS stuff right
| * | | | more warning fixes on solarisAndrew Tridgell2001-09-051-2/+2
| | | | |
| * | | | Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.cTim Potter2001-09-051-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | | except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly.
| * | | | it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell2001-09-041-2/+2
| | |_|/ | |/| | | | | | | | | | the build farm
| * | | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-045-63/+77
| | | | | | | | | | | | | | | | the client code still needs some work
| * | | more NTSTATUS/WERROR conversionAndrew Tridgell2001-09-032-0/+595
| | | |
| * | | the next step in our error code handling changeAndrew Tridgell2001-09-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there
| * | | use a name not a number for ERRinsufficientbufferAndrew Tridgell2001-09-011-1/+1
| | | |
| * | | Fuss, fuss, fuss...Christopher R. Hertel2001-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function name_status_query() performs a node status query, so it really should be called "node_status_query()" just to be consistent. Yeah, minor... but it's looking as though an overhaul of namequery.c is in order and I am trying to do the tiny changes that impact other stuff first. Chris -)-----
| * | | Should be dbgtext, not dbg_text.Tim Potter2001-08-291-2/+2
| | | |
| * | | Patched to ensure that it won't break HEAD.Christopher R. Hertel2001-08-291-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't the final version, of course, I still need to get WINS failover working. This is just patched so it won't need lp_wins_server() (which I renamed to lp_wins_server_list()). I can't compile just now as something else is broken in HEAD. Let me know if this version of namequery.c causes trouble down the line. Shouldn't, as the changes are very small, but I've been known to rock the boat before. Chris -)-----
| * | | Merge of sam sync code from TNG.Tim Potter2001-08-281-3/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area.
| * | | fixed typoAndrew Tridgell2001-08-281-1/+1
| | | |
| * | | Convert to NTSTATUS.Tim Potter2001-08-276-166/+165
| | | |
| * | | converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-277-43/+43
| | | |
| * | | started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell2001-08-275-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 defaultAndrew Tridgell2001-08-274-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 warningsHerb Lewis2001-08-241-8/+8
| | | |
| * | | Re-added readbraw call to test with smbtorture. This code not yetJeremy Allison2001-08-241-1/+88
| | | | | | | | | | | | | | | | | | | | tested... Jeremy.
| * | | fixed handling of 139/445 in clientsAndrew Tridgell2001-08-242-5/+3
| | | |
| * | | Fixed debug in cli_establish_connection() - print out the called name onTim Potter2001-08-241-1/+1
| | | | | | | | | | | | | | | | connection failure rather than the calling name.
| * | | Make domain_client_validate return a status code instead of a boolean.Tim Potter2001-08-241-9/+13
| | | |
| * | | fixed shortname length in trans2 listAndrew Tridgell2001-08-241-1/+2
| | | |
| * | | use 32 bit locking if client doesn't do 64 bitAndrew Tridgell2001-08-231-0/+8
| | | |
| * | | better error reporting for servers that don't do port 445Andrew Tridgell2001-08-231-1/+4
| | | |
| * | | added port 445 support to our client codeAndrew Tridgell2001-08-221-5/+19
| | | |
| * | | a fix for directory listing with the dave/thursby clientAndrew Tridgell2001-08-221-1/+1
| | | |
| * | | string terminate in mkdirAndrew Tridgell2001-08-211-1/+1
| | | |
| * | | Added cli_lsa_open_policy2()Tim Potter2001-08-211-0/+58
| | | |
| * | | Distinguish between NT informational and error codes.Tim Potter2001-08-211-4/+10
| | | |
| * | | allow for the NULL in make_nmb_name()Andrew Tridgell2001-08-201-1/+1
| | | |
| * | | a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-203-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
| * | | Realloc fix.Jeremy Allison2001-08-191-3/+13
| | | | | | | | | | | | | | | | Jeremy.
| * | | Use tparam not tdata when reallocing params to make clearer.Jeremy Allison2001-08-171-12/+15
| | | | | | | | | | | | | | | | Jeremy.
| * | | more useful debug messages and check if the size are non null.Jean-François Micouleau2001-08-171-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | that fix the notification backend channel for spoolss. J.F.
| * | | Fixed crash bug when attempting to list contents of non-existentTim Potter2001-08-121-0/+3
| | | | | | | | | | | | | | | | directory.
| * | | this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-122-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 Bartlett2001-08-121-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 Sorce2001-08-101-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 Potter2001-08-101-3/+3
| | | |
| * | | Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter2001-08-101-1/+1
| | | |
| * | | Fixes for new client error api.Tim Potter2001-08-101-2/+2
| | | |
| * | | A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-1013-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 otherTim Potter2001-08-102-2/+3
| | |/ | |/| | | | | | | encryption functions have outputs as the last arguments.
| * | Factored out common rpc pipe initialisation and shutdown code.Tim Potter2001-08-087-300/+86
| | |
| * | Fixed another possible memleak in cli_initialise()Tim Potter2001-08-061-0/+6
| | |