summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure sign&seal work. Data len must have RPC_HEADER_LEN removed, butJeremy Allison2000-04-141-1/+5
| | | | | | offset should not (rpc header already consumed). This fix does not affect tng. Jeremy. (This used to be commit 018ec4fdd937994824f53cb956cea1ade9690f97)
* use interpret_addr2() instead of inet_aton()Andrew Tridgell2000-04-141-1/+1
| | | | (This used to be commit f65c6ec6db8e05685c719e23d7b06b3452fbbb4e)
* rpc_parse/parse_rpc.c: Changes from TNG (thanks Luke) for NTLMSSP parsing.Jeremy Allison2000-04-131-10/+9
| | | | | | smbd/reply.c: Fixed typo in debug. Jeremy. (This used to be commit c2aa6d66b3ca2a1a6dde8e9a1f6e761d98be517a)
* Typo - missing '}'.Jeremy Allison2000-04-131-0/+1
| | | | | Jeremy. (This used to be commit 0216d81f061ee599a798fdbf25625fbbbd88ef08)
* Removed "ole locking compat" parameter (no longer used).Jeremy Allison2000-04-123-56/+114
| | | | | | | We now get/set/check POSIX locks, but I still need to code up the close fd braindamage... Jeremy. (This used to be commit 3de058bd43976853b0ed2b6b5529e2a3a08909eb)
* Implmented mapping of lock offset/count from 64 bit MS rangesJeremy Allison2000-04-122-14/+158
| | | | | | | to either 63 or 31 bit POSIX ranges. Code to get these locks not yet added. Jeremy. (This used to be commit 9c3b9146a3baff4b2e403ae8fac6c48df1b7e642)
* Code to map tdb locks onto POSIX. Mainly placeholder code at the moment,Jeremy Allison2000-04-125-13/+170
| | | | | | | but the structure is done enough so that Andrew can look it over and give a yea/nay decision. Jeremy. (This used to be commit db96f83e34a139f47776fcbb5c1624fbf9d9943b)
* logic for domainsidsize is if size is zero, there's no sid, so don'tLuke Leighton2000-04-121-1/+0
| | | | | | | | advance over it and 4-byte align. this _used_ to be "regardless of domainsidsize, advance by domainsidsize+3" which is wrong. (This used to be commit 5086e6425f3630d8f5ca1e25a333eb97fdf86e93)
* Ensure that CHECK_FNUM rejects fd == -1 correctly.Jeremy Allison2000-04-121-1/+4
| | | | | Jeremy. (This used to be commit d2fff2596ad1585fc6a5e033fe8410fe5438a57b)
* Roll back to using static MACHINE.SID after consultation with Andrew. ThisJeremy Allison2000-04-124-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. (This used to be commit fbfe94a799cda7f728bc920d4f0655d4f537e3b6)
* Andrew made it faster :-).Jeremy Allison2000-04-111-2/+2
| | | | | Jeremy. (This used to be commit f2a775d3fb605587d3ce134dec7a895de1fe562a)
* Bloody typo ! It should be & 3 , & 1 *not* &~3, &~1.Jeremy Allison2000-04-111-2/+2
| | | | | Jeremy. (This used to be commit 83734b67615382d08c3f302f90a94a0eb836c79e)
* The changes made here broke NT security descriptor returning to NT clients.Jeremy Allison2000-04-111-0/+2
| | | | | | We need to talk about the MACHINE.SID/<WORKGROUP_NAME>.SID mess..... Jeremy. (This used to be commit 5bdaa043f015771cccdc9413c37232ab4a3e2e8e)
* The latest open() code changes broke the NT directory opens. Detect if aJeremy Allison2000-04-113-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. (This used to be commit df4302f3911447fcebe9342f6cbf3b89bd3bafba)
* include/byteorder.h: ALIGN4/ALIGN2 macros.Jeremy Allison2000-04-119-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. (This used to be commit 491eea8a20bf80d426625479326211dc975857a6)
* prototypesAndrew Tridgell2000-04-111-0/+1
| | | | (This used to be commit 04bee56160d95cdf971dd2e2c05e1b7482e0fbe9)
* add a commentAndrew Tridgell2000-04-111-1/+1
| | | | (This used to be commit 0da440c8fe365fd53c313e9dc62dda7e40916d62)
* add an align4() functionAndrew Tridgell2000-04-111-1/+14
| | | | (This used to be commit 7969f4dccbc5a506ef58b9270a08f8f70d9006f7)
* some updates to the process logon code to reflect lukes latestAndrew Tridgell2000-04-111-20/+38
| | | | | research plus some cleanups (This used to be commit 1682faa1b0e95fc5acdf9b10da80a6515f8772cd)
* new prototypesAndrew Tridgell2000-04-111-4/+8
| | | | (This used to be commit be7ecd0977734174645c1389836a657f62375db8)
* finally got sick of the "extern int Client" code and the stupidAndrew Tridgell2000-04-1119-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. (This used to be commit 5937ab14d222696e40a3fc6f0e6a536f2d7305d3)
* added a cheap and nasty skip_unibuf() fn to allow easier merging fromAndrew Tridgell2000-04-111-0/+10
| | | | | | | TNG out unicode string handling functions need a lot of work (This used to be commit 707401fc1e697362cdaadcfaac4edc964b80b1a0)
* two minor bugfixes for SCO UnixWare. The first is to catch SIGPIPE so that ↵Andrew Tridgell2000-04-112-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 (This used to be commit d35bbe56bc9e3e5896b2ebdf33ff6468a0432e1f)
* added checks to open both \\server\printer and \\server\share.Jean-François Micouleau2000-04-101-3/+44
| | | | | | | it doesn't work, the getprinter level 0 reply is wrong... J.F. (This used to be commit a7b09e3e11dc66779ee50524ebe1f6687ec744c6)
* Fix for soft quotas not being set fromJeremy Allison2000-04-101-0/+24
| | | | | | Norbert Püschel <Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de> Jeremy. (This used to be commit 5480ecf24bc7c97f25a5a6aee7e24eba7e87a458)
* initialise fsp->fd to -1Andrew Tridgell2000-04-101-0/+1
| | | | (This used to be commit 5257ff5d67632922a64266ad2ce5d5a38c701cbc)
* new prototypesAndrew Tridgell2000-04-101-11/+10
| | | | (This used to be commit d9130377b297a7a12e953e11bf5d484d48e772e0)
* the bulk of the changes to get rid of fd_ptr and move print openAndrew Tridgell2000-04-1011-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 (This used to be commit d1827a3648009fd0a0d165055015d9aeda7a1037)
* rather than doing print file open processing in open.c we now handleAndrew Tridgell2000-04-101-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 (This used to be commit e064422af335cd791752a2b54a17a13467ace041)
* the first of a bunch of changes to code with getting rid of the fd_ptrAndrew Tridgell2000-04-101-6/+23
| | | | | | | element in the fsp pretty mechanical stuff, but it affects lots of files. (This used to be commit 368b0bc1b122ece18d11854c1506517816a01a82)
* got rid of the file_fd_struct structure completely.Andrew Tridgell2000-04-101-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 (This used to be commit c3b61b33272e7b164d3b3ac4777036848c262e93)
* removed the read prediction code from the head branch. I think theAndrew Tridgell2000-04-101-1/+1
| | | | | | idea is fundamentally flawed anyway and it has been disabled for a long time. (This used to be commit 08de67ced40d563ee468f40faa81a88f12a1ecc1)
* split out the lpq parsing code into a separate fileAndrew Tridgell2000-04-104-861/+886
| | | | | | | printing/lpq_parse.c getting ready for the new printing backend (This used to be commit 0ec1072e0143952139be64e8001582eadcc9f60e)
* don't echo warning messages twiceAndrew Tridgell2000-04-101-2/+2
| | | | (This used to be commit 64a3fd2bc5d84494a4aba044dc73ece4ef82dcd5)
* utmp compile fix from peter@cadcamlab.orgAndrew Tridgell2000-04-101-2/+2
| | | | (This used to be commit c0562a02c345c3eb7d9a26b85bef454355023ba3)
* Modified interfaces and added checks around *all* *alloc callsJeremy Allison2000-04-065-99/+215
| | | | | | so that errors are returned on memory allocation failure. Jeremy. (This used to be commit 9a118cd4a2b03146b341eeffb62144a2d29b574c)
* filled the architecture table (useless for the moment).Jean-François Micouleau2000-04-062-24/+43
| | | | | | | fixed GetJob. J.F. (This used to be commit 3fea49e1d896987c54187cb326607284810fcb0d)
* JF - you might want to look at this patch.Jeremy Allison2000-04-051-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. (This used to be commit b260ef7cb1fb2b1e4661cc54eab403eb01fbfc35)
* off by one error ...Jean-François Micouleau2000-04-051-2/+5
| | | | | J.F. (This used to be commit cef44398f90f670358f2ad430056371d394c7f91)
* changed all the status code to ERROR_xxx instead of NT_STATUS_xx which areJean-François Micouleau2000-04-054-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. (This used to be commit 396f73c11b29a47650b3243fef0825252a3cef9b)
* Added strerror at debug level 0 on file create/open fail. Helps catchJeremy Allison2000-04-051-3/+3
| | | | | | problems. Jeremy. (This used to be commit a25891f52491a3aed89302704ba24df832aedf0b)
* Change to vfs API. POSIX states fsync should return an int, not a void.Jeremy Allison2000-04-045-8/+8
| | | | | Jeremy. (This used to be commit 6c442d68afae4140e28b770343a900b5ce510b4a)
* Removed strange optimisation (paranoia fix maybe ?) that stopped smbdJeremy Allison2000-04-041-6/+0
| | | | | | | from returning '.' and '..' in a top level listing of a trans2 directory scan. NT does return these entries. Jeremy. (This used to be commit 7325059a0940909ddd98b32d62423700545ef87e)
* Snuck in some whitespace cleanup while I was visiting these files. (-:Tim Potter2000-04-043-6/+0
| | | | (This used to be commit f249dc041f3f3bdb1adaa41271236ffdb2447475)
* Removed unused parameter vuid from rpc_server api_* calls. For the very fewTim Potter2000-04-049-321/+297
| | | | | | | | functions that need to access the vuid, it can be obtained from the current_user global. Did some whitespace cleanup. (This used to be commit 738b307bd7053ede369431da7b1349befaa523d9)
* Fix for compiler warning about invalid structure type.Jeremy Allison2000-04-031-1/+1
| | | | | jeremy. (This used to be commit 58a16e2718e6400fe9f20d61990818f2d146042f)
* Hmmm - unicode codepages need adding to HEAD. Thought that'd been done ?Jeremy Allison2000-04-0315-0/+64024
| | | | | Jeremy. (This used to be commit efbb327ff94aeb4ee18a73b169007dfe8a139b02)
* Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>.Jeremy Allison2000-04-031-1/+1
| | | | | Jeremy. (This used to be commit 33aa541e89ebe2e6a7c1808cea6dc7128bdb0587)
* Additional fix for nmbd and 127.0.0.1 interface.Jeremy Allison2000-04-031-0/+12
| | | | | Jeremy. (This used to be commit 715fa7ea8cf00d72c868bed420c28a29011f53a1)
* fixes for broken IRIX header file merged from 2.0 branchHerb Lewis2000-03-313-578/+595
| | | | (This used to be commit 351b25727e69864f06f363c1fce1ab04f3f2ca77)