Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ensure sign&seal work. Data len must have RPC_HEADER_LEN removed, but | Jeremy Allison | 2000-04-14 | 1 | -1/+5 | |
| | | | | | offset should not (rpc header already consumed). This fix does not affect tng. Jeremy. | |||||
* | use interpret_addr2() instead of inet_aton() | Andrew Tridgell | 2000-04-14 | 1 | -1/+1 | |
| | ||||||
* | rpc_parse/parse_rpc.c: Changes from TNG (thanks Luke) for NTLMSSP parsing. | Jeremy Allison | 2000-04-13 | 1 | -10/+9 | |
| | | | | | smbd/reply.c: Fixed typo in debug. Jeremy. | |||||
* | Typo - missing '}'. | Jeremy Allison | 2000-04-13 | 1 | -0/+1 | |
| | | | | Jeremy. | |||||
* | Removed "ole locking compat" parameter (no longer used). | Jeremy Allison | 2000-04-12 | 3 | -56/+114 | |
| | | | | | | We now get/set/check POSIX locks, but I still need to code up the close fd braindamage... Jeremy. | |||||
* | Implmented mapping of lock offset/count from 64 bit MS ranges | Jeremy Allison | 2000-04-12 | 2 | -14/+158 | |
| | | | | | | to either 63 or 31 bit POSIX ranges. Code to get these locks not yet added. Jeremy. | |||||
* | Code to map tdb locks onto POSIX. Mainly placeholder code at the moment, | Jeremy Allison | 2000-04-12 | 5 | -13/+170 | |
| | | | | | | but the structure is done enough so that Andrew can look it over and give a yea/nay decision. Jeremy. | |||||
* | logic for domainsidsize is if size is zero, there's no sid, so don't | Luke Leighton | 2000-04-12 | 1 | -1/+0 | |
| | | | | | | | advance over it and 4-byte align. this _used_ to be "regardless of domainsidsize, advance by domainsidsize+3" which is wrong. | |||||
* | Ensure that CHECK_FNUM rejects fd == -1 correctly. | Jeremy Allison | 2000-04-12 | 1 | -1/+4 | |
| | | | | Jeremy. | |||||
* | Roll back to using static MACHINE.SID after consultation with Andrew. This | Jeremy Allison | 2000-04-12 | 4 | -363/+203 | |
| | | | | | | code will be removed soon and a SID auto-generated from (probably) primary hostname and never stored in a file will replace it. Jeremy. | |||||
* | Andrew made it faster :-). | Jeremy Allison | 2000-04-11 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Bloody typo ! It should be & 3 , & 1 *not* &~3, &~1. | Jeremy Allison | 2000-04-11 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | The changes made here broke NT security descriptor returning to NT clients. | Jeremy Allison | 2000-04-11 | 1 | -0/+2 | |
| | | | | | We need to talk about the MACHINE.SID/<WORKGROUP_NAME>.SID mess..... Jeremy. | |||||
* | The latest open() code changes broke the NT directory opens. Detect if a | Jeremy Allison | 2000-04-11 | 3 | -10/+28 | |
| | | | | | | read-only open on a directory was done and return an EISDIR from open_file(). Changed interface to fd_close to return error. Jeremy. | |||||
* | include/byteorder.h: ALIGN4/ALIGN2 macros. | Jeremy Allison | 2000-04-11 | 9 | -152/+75 | |
| | | | | | | | | | | | | include/includes.h: Added SMB_BIG_UINT_BITS. lib/util.c: Removed align2/align4 - use macros. libsmb/namequery.c: Use ALIGN2. locking/locking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Needed to move to hiding POSIX locks at a lower layer. nmbd/nmbd_processlogon.c: Use ALIGN2/ALIGN4 macros. smbd/blocking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. smbd/reply.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Jeremy. | |||||
* | prototypes | Andrew Tridgell | 2000-04-11 | 1 | -0/+1 | |
| | ||||||
* | add a comment | Andrew Tridgell | 2000-04-11 | 1 | -1/+1 | |
| | ||||||
* | add an align4() function | Andrew Tridgell | 2000-04-11 | 1 | -1/+14 | |
| | ||||||
* | some updates to the process logon code to reflect lukes latest | Andrew Tridgell | 2000-04-11 | 1 | -20/+38 | |
| | | | | research plus some cleanups | |||||
* | new prototypes | Andrew Tridgell | 2000-04-11 | 1 | -4/+8 | |
| | ||||||
* | finally got sick of the "extern int Client" code and the stupid | Andrew Tridgell | 2000-04-11 | 19 | -217/+195 | |
| | | | | | | | | | | | | | | | | assumption that we have one socket everywhere while doing so I discovered a few bugs! 1) the clientgen session retarget code if used from smbd or nmbd would cause a crash as it called close_sockets() which closed our main socket! fixed by removing close_sockets() completely - it is unnecessary 2) the caching in client_addr() and client_name() was bogus - it could easily get fooled and give the wrong result. fixed. 3) the retarget could could recurse, allowing an easy denial of service attack on nmbd. fixed. | |||||
* | added a cheap and nasty skip_unibuf() fn to allow easier merging from | Andrew Tridgell | 2000-04-11 | 1 | -0/+10 | |
| | | | | | | TNG out unicode string handling functions need a lot of work | |||||
* | two minor bugfixes for SCO UnixWare. The first is to catch SIGPIPE so that ↵ | Andrew Tridgell | 2000-04-11 | 2 | -0/+4 | |
| | | | | putmsg() inside their send() doesn't kill swat and the scond is to open /dev/null to replace stdin after we close that | |||||
* | added checks to open both \\server\printer and \\server\share. | Jean-François Micouleau | 2000-04-10 | 1 | -3/+44 | |
| | | | | | | it doesn't work, the getprinter level 0 reply is wrong... J.F. | |||||
* | Fix for soft quotas not being set from | Jeremy Allison | 2000-04-10 | 1 | -0/+24 | |
| | | | | | Norbert Püschel <Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de> Jeremy. | |||||
* | initialise fsp->fd to -1 | Andrew Tridgell | 2000-04-10 | 1 | -0/+1 | |
| | ||||||
* | new prototypes | Andrew Tridgell | 2000-04-10 | 1 | -11/+10 | |
| | ||||||
* | the bulk of the changes to get rid of fd_ptr and move print open | Andrew Tridgell | 2000-04-10 | 11 | -1023/+231 | |
| | | | | | | | | | handling to printing/printing.c most of this was just replacing things like fsp->fd_ptr->fd with fsp->fd the changes in open.c are quite dramatic. Most of it is removing all the functions that handled the fd multiplexing | |||||
* | rather than doing print file open processing in open.c we now handle | Andrew Tridgell | 2000-04-10 | 1 | -0/+74 | |
| | | | | | | | | | | it in print_open_file() that removes a lot of special cases in open.c and makes the print handling code much easier to understand. there is still lots to do in printing.c, but this at least gets printing separated from the mainline code | |||||
* | the first of a bunch of changes to code with getting rid of the fd_ptr | Andrew Tridgell | 2000-04-10 | 1 | -6/+23 | |
| | | | | | | element in the fsp pretty mechanical stuff, but it affects lots of files. | |||||
* | got rid of the file_fd_struct structure completely. | Andrew Tridgell | 2000-04-10 | 1 | -22/+4 | |
| | | | | | | | | | With the new br_lock() code we no longer need the fd multiplexing, which is great because it was really horrible :) Moved the dev, inode and delete_on_close elements into the fsp. A nice side effect is that this has greatly simplified open.c | |||||
* | removed the read prediction code from the head branch. I think the | Andrew Tridgell | 2000-04-10 | 1 | -1/+1 | |
| | | | | | idea is fundamentally flawed anyway and it has been disabled for a long time. | |||||
* | split out the lpq parsing code into a separate file | Andrew Tridgell | 2000-04-10 | 4 | -861/+886 | |
| | | | | | | printing/lpq_parse.c getting ready for the new printing backend | |||||
* | don't echo warning messages twice | Andrew Tridgell | 2000-04-10 | 1 | -2/+2 | |
| | ||||||
* | utmp compile fix from peter@cadcamlab.org | Andrew Tridgell | 2000-04-10 | 1 | -2/+2 | |
| | ||||||
* | Modified interfaces and added checks around *all* *alloc calls | Jeremy Allison | 2000-04-06 | 5 | -99/+215 | |
| | | | | | so that errors are returned on memory allocation failure. Jeremy. | |||||
* | filled the architecture table (useless for the moment). | Jean-François Micouleau | 2000-04-06 | 2 | -24/+43 | |
| | | | | | | fixed GetJob. J.F. | |||||
* | JF - you might want to look at this patch. | Jeremy Allison | 2000-04-05 | 1 | -23/+134 | |
| | | | | | | | | | Went through and fixed up all failure possibilities. If something (malloc, file open etc.) fails, then this code goes through and cleans up all allocated resources on exit. This is the equivalent of a C++ destuctor for the allocated structures. We need code to be written like this to pass purify tests. Jeremy. | |||||
* | off by one error ... | Jean-François Micouleau | 2000-04-05 | 1 | -2/+5 | |
| | | | | J.F. | |||||
* | changed all the status code to ERROR_xxx instead of NT_STATUS_xx which are | Jean-François Micouleau | 2000-04-05 | 4 | -89/+87 | |
| | | | | | | | | | | | | wrong in the spoolss case. fxed a bug in the job notify code (that's the polite answer), the truth is different: there is a bug in the NT spooler service, including SP6a and NT2K. changed the default lpcommand in the LPRNG case. J.F. | |||||
* | Added strerror at debug level 0 on file create/open fail. Helps catch | Jeremy Allison | 2000-04-05 | 1 | -3/+3 | |
| | | | | | problems. Jeremy. | |||||
* | Change to vfs API. POSIX states fsync should return an int, not a void. | Jeremy Allison | 2000-04-04 | 5 | -8/+8 | |
| | | | | Jeremy. | |||||
* | Removed strange optimisation (paranoia fix maybe ?) that stopped smbd | Jeremy Allison | 2000-04-04 | 1 | -6/+0 | |
| | | | | | | from returning '.' and '..' in a top level listing of a trans2 directory scan. NT does return these entries. Jeremy. | |||||
* | Snuck in some whitespace cleanup while I was visiting these files. (-: | Tim Potter | 2000-04-04 | 3 | -6/+0 | |
| | ||||||
* | Removed unused parameter vuid from rpc_server api_* calls. For the very few | Tim Potter | 2000-04-04 | 9 | -321/+297 | |
| | | | | | | | functions that need to access the vuid, it can be obtained from the current_user global. Did some whitespace cleanup. | |||||
* | Fix for compiler warning about invalid structure type. | Jeremy Allison | 2000-04-03 | 1 | -1/+1 | |
| | | | | jeremy. | |||||
* | Hmmm - unicode codepages need adding to HEAD. Thought that'd been done ? | Jeremy Allison | 2000-04-03 | 15 | -0/+64024 | |
| | | | | Jeremy. | |||||
* | Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>. | Jeremy Allison | 2000-04-03 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Additional fix for nmbd and 127.0.0.1 interface. | Jeremy Allison | 2000-04-03 | 1 | -0/+12 | |
| | | | | Jeremy. | |||||
* | fixes for broken IRIX header file merged from 2.0 branch | Herb Lewis | 2000-03-31 | 3 | -578/+595 | |
| |