summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell1-2/+2
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell5-63/+77
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell2-0/+595
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-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 (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-09-01use a name not a number for ERRinsufficientbufferAndrew Tridgell1-1/+1
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-08-29Fuss, fuss, fuss...Christopher R. Hertel1-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 -)----- (This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)
2001-08-29Should be dbgtext, not dbg_text.Tim Potter1-2/+2
(This used to be commit 7a68236c42acc72e500e120906230a637305f418)
2001-08-29Patched to ensure that it won't break HEAD.Christopher R. Hertel1-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 -)----- (This used to be commit 29c6efc9564e51dc28e8434bdc86079c6502d73d)
2001-08-28Merge of sam sync code from TNG.Tim Potter1-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. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-28fixed typoAndrew Tridgell1-1/+1
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
2001-08-27Convert to NTSTATUS.Tim Potter6-166/+165
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell7-43/+43
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell5-53/+902
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell4-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 (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-24get rid of compiler warningsHerb Lewis1-8/+8
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
2001-08-24Re-added readbraw call to test with smbtorture. This code not yetJeremy Allison1-1/+88
tested... Jeremy. (This used to be commit fe85a19b4b9db5910ad8259890f94c9496e1aebf)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell2-5/+3
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-24Fixed debug in cli_establish_connection() - print out the called name onTim Potter1-1/+1
connection failure rather than the calling name. (This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)
2001-08-24Make domain_client_validate return a status code instead of a boolean.Tim Potter1-9/+13
(This used to be commit b4e79ab34b7df4687966f4ca81b575dce8503775)
2001-08-24fixed shortname length in trans2 listAndrew Tridgell1-1/+2
(This used to be commit ae669720d8f434a23397deaea3371998ab6f1f54)
2001-08-23use 32 bit locking if client doesn't do 64 bitAndrew Tridgell1-0/+8
(This used to be commit 759ca19f3223c28e3e3478b4001251d2cb0fbfd6)
2001-08-23better error reporting for servers that don't do port 445Andrew Tridgell1-1/+4
(This used to be commit a896dc299eba12886d800e6c88309d534232cabc)
2001-08-22added port 445 support to our client codeAndrew Tridgell1-5/+19
(This used to be commit 0c3120ae475fb53662d6ab9f0d96a832c3c90625)
2001-08-22a fix for directory listing with the dave/thursby clientAndrew Tridgell1-1/+1
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)
2001-08-21string terminate in mkdirAndrew Tridgell1-1/+1
(This used to be commit fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05)
2001-08-21Added cli_lsa_open_policy2()Tim Potter1-0/+58
(This used to be commit afaafc3e5a2adef4736196aa5f4e6ca25a0571d2)
2001-08-21Distinguish between NT informational and error codes.Tim Potter1-4/+10
(This used to be commit 02fe0e18dfcb8cc83b3cf0b6c8dd4dc1ddb7e196)
2001-08-20allow for the NULL in make_nmb_name()Andrew Tridgell1-1/+1
(This used to be commit b6c78d4c6fde2065678dd62bbd9dd4af9c5e805b)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell3-9/+11
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-19Realloc fix.Jeremy Allison1-3/+13
Jeremy. (This used to be commit 9cabc3fd63d7780eb5d80eb7619fd7606d9da3b8)
2001-08-17Use tparam not tdata when reallocing params to make clearer.Jeremy Allison1-12/+15
Jeremy. (This used to be commit 31804cb7a89f280cec4c047cad643c7f593f9b03)
2001-08-17more useful debug messages and check if the size are non null.Jean-François Micouleau1-10/+17
that fix the notification backend channel for spoolss. J.F. (This used to be commit 5e9a36bd9c1aa1a28f042ec9016a097215e4539e)
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 Sorce2-11/+38
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-12This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett1-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 (This used to be commit ea1c547ac880def29f150de2172c95213509350e)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce1-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 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10Debug cleanups.Tim Potter1-3/+3
(This used to be commit e98f9481235dce9a0a76450b84769b86eca57ca2)
2001-08-10Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter1-1/+1
(This used to be commit e9ceb17d777f4bcb7a9ff6b509c178f063be4722)
2001-08-10Fixes for new client error api.Tim Potter1-2/+2
(This used to be commit 9c57e45d443a3cf6215318d1355cac18ff57a8b5)
2001-08-10A rewrite of the error handling in the libsmb client code. I've separatedTim Potter13-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. (This used to be commit 6dbdb0d813f3c7ab20b38baa1223b0b479aadec9)
2001-08-10Changed the order of arguments in make_oem_passwd_hash(). All the otherTim Potter2-2/+3
encryption functions have outputs as the last arguments. (This used to be commit fb60798a771a7a2358d78e5cef97487addf930e7)
2001-08-08Factored out common rpc pipe initialisation and shutdown code.Tim Potter7-300/+86
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
2001-08-06Fixed another possible memleak in cli_initialise()Tim Potter1-0/+6
(This used to be commit 4c9f010a1eef81addfea0315bef81570bc604f8a)
2001-08-06Cleaned up error handling in cli_initialise() to fix a memleak found byTim Potter1-10/+14
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit b5373f4b59cfe1cffe915e5d4eb29ed83fe99ba6)
2001-08-06Changed lone malloc() call to talloc(). Spotted byTim Potter1-1/+1
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit 99ce277fc857069f86824a3c0cd8012f4cede1b6)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-30Throw out crappy (non-ascii unaware) mbtows stuff and use proper unicodeJeremy Allison1-57/+6
push calls. If this breaks authentication then good, it needed fixing anyway :-). Jeremy. (This used to be commit e3580b4033c551e215cb246d4e36c4870cb4a582)
2001-07-23cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't anTim Potter1-1/+4
entry. (This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)
2001-07-23Added a warning debug if cli_samr_lookup_rids is called with more than 1000Tim Potter1-1/+7
rids as this seems to crash LSASS.EXE more often than not. (This used to be commit 375636b7630d117da5a57b51e11929c3a38646df)
2001-07-20In cli_lsa_lookup_sids() don't append a separator character between domainTim Potter1-1/+2
and name if there is no name. (This used to be commit e0ebbc9ae3277a5a389eef021f32509a017cbd4d)