summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for soft quotas not being set fromJeremy Allison2000-04-101-0/+24
| | | | | Norbert Püschel <Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de> Jeremy.
* initialise fsp->fd to -1Andrew Tridgell2000-04-101-0/+1
|
* new prototypesAndrew Tridgell2000-04-101-11/+10
|
* 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
* 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
* 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.
* 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
* 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.
* 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
* don't echo warning messages twiceAndrew Tridgell2000-04-101-2/+2
|
* utmp compile fix from peter@cadcamlab.orgAndrew Tridgell2000-04-101-2/+2
|
* Modified interfaces and added checks around *all* *alloc callsJeremy Allison2000-04-065-99/+215
| | | | | so that errors are returned on memory allocation failure. Jeremy.
* filled the architecture table (useless for the moment).Jean-François Micouleau2000-04-062-24/+43
| | | | | | fixed GetJob. J.F.
* fsync() returns an int rather than void.Tim Potter2000-04-051-3/+3
|
* Added *.soTim Potter2000-04-051-0/+1
|
* Improved clean target.Tim Potter2000-04-051-2/+3
|
* 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.
* off by one error ...Jean-François Micouleau2000-04-051-2/+5
| | | | J.F.
* 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.
* Added strerror at debug level 0 on file create/open fail. Helps catchJeremy Allison2000-04-051-3/+3
| | | | | problems. Jeremy.
* Change to vfs API. POSIX states fsync should return an int, not a void.Jeremy Allison2000-04-045-8/+8
| | | | Jeremy.
* 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.
* Snuck in some whitespace cleanup while I was visiting these files. (-:Tim Potter2000-04-043-6/+0
|
* 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.
* Fix for compiler warning about invalid structure type.Jeremy Allison2000-04-031-1/+1
| | | | jeremy.
* Hmmm - unicode codepages need adding to HEAD. Thought that'd been done ?Jeremy Allison2000-04-0315-0/+64024
| | | | Jeremy.
* Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>.Jeremy Allison2000-04-031-1/+1
| | | | Jeremy.
* Additional fix for nmbd and 127.0.0.1 interface.Jeremy Allison2000-04-031-0/+12
| | | | Jeremy.
* fixes for broken IRIX header file merged from 2.0 branchHerb Lewis2000-03-313-578/+595
|
* IRIX include fixes.Jeremy Allison2000-03-314-195/+216
| | | | Jeremy.
* samba-bugs -> samba.Jeremy Allison2000-03-3017-112/+185
| | | | Jeremy.
* Fix for coredump in testparm.Jeremy Allison2000-03-301-1/+1
| | | | Jeremy.
* Fixed spelling of Andrew's name. (-:Tim Potter2000-03-301-1/+1
|
* I finally got sick of configure being run automaticaly when I run makeAndrew Tridgell2000-03-301-2/+2
| | | | | | | | | | clean or in other situations. That then screws up options I pass to configure and is generally annoying. Instead the Makefile now emits a warning if configure needs rerunning, but doesn't actually run it. don't re-enable the auto running of configure on pain of death :)
* Added check for LL suffix to long long ints needed by AIX 4.3.x compilerJeremy Allison2000-03-295-185/+334
| | | | | to allow successful build. Jeremy.
* Fixed bug found by JF where if the amount of data to return in the prs_structJeremy Allison2000-03-291-1/+1
| | | | | | | | was small enough to pass the SMBtrans max data test we weren't setting the "more data needed" error. I was fogetting the RPC_HEADER_LEN.... I now check the correct length (current pdu staging area length). More printer spool enum stuff works now. This bug does not affect TNG. Jeremy.
* Cause nmbd to ignore loopback interface when constructing its interface ↵Jeremy Allison2000-03-291-0/+14
| | | | | | | | list. This is done by default when interfaces are probed, but if someone explicitly adds 127.0.0.1 to the interfaces line for smbd, then nmbd would start to try and register names on it. This was not good :-(. Jeremy.
* split addprinterex in preparation for level 1 support and to stop itJean-François Micouleau2000-03-291-8/+28
| | | | | | coredump. J.F.
* rewrote getprinterdriver level 3, now correctly handle the dependentJean-François Micouleau2000-03-295-191/+279
| | | | | | | | files. A number of memleak fixed some error return values fixed. J.F.
* More Japanese filename fixes wrt VFS code fromTim Potter2000-03-292-12/+16
| | | | Tomoki AONO <aono@cc.osaka-kyoiku.ac.jp>
* damn, the test was the wrong way around for short_resuestAndrew Tridgell2000-03-281-1/+1
|
* Win2k will only accept volume labels in UNICODE. Fixed.... :-(.Jeremy Allison2000-03-281-1/+2
| | | | Jeremy.
* Moved common code to set parameter offset field correctly oout of 'if'Jeremy Allison2000-03-281-10/+8
| | | | | statement into main function code path. Jeremy.
* Fixed crash bug in new handle_netbios_name code.Jeremy Allison2000-03-271-2/+2
| | | | Jeremy.
* changed the definition of dos_PutUniCodeAndrew Tridgell2000-03-275-20/+19
| | | | | | | | | the previous definition could result is us overflowing a buffer. The null termination was always added yet the size returned did not include the null termination. the new function takes a BOOL null_terminate, and always returns the total number of bytes consumed by the string.
* the final part of the nmbd merge between head and tng - this gets theAndrew Tridgell2000-03-274-373/+382
| | | | GETDC stuff sorted out
* fixed the hanlding of recursion desired when sending packets fromAndrew Tridgell2000-03-271-23/+22
| | | | | | | | | | nmbd. It does NOT follow the rule that packets to the wins server have rec_des set (I know that we have postulated this in the past). Please don't screw with this unless you do careful testing from WinXX clients. Luke and I spent a couple of hours today getting this right (it was wrong in both TNG and HEAD)
* moved nmblib-specific code from util.c to nmblib.c.Luke Leighton2000-03-273-544/+546
|
* rename static reload_services function to reload_nmbd_services becauseLuke Leighton2000-03-271-6/+6
| | | | it clashes with other reload_services definitions.
* when doing a "secure nbns" wack response and check with owner for aAndrew Tridgell2000-03-261-1/+4
| | | | | | | | | multihomed registration we were sending the packet to the wrong host! We sent it to the person trying to register rather than to the person who currently holds the name. That means we were not secure and we could allow two people to register the same name. Jeremy, you may wish to merge this change into 2.0.X