| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Norbert Püschel <Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de>
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
element in the fsp
pretty mechanical stuff, but it affects lots of files.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
idea is fundamentally flawed anyway and it has been disabled for a
long time.
|
| |
| |
| |
| |
| |
| | |
printing/lpq_parse.c
getting ready for the new printing backend
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
so that errors are returned on memory allocation failure.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
fixed GetJob.
J.F.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
J.F.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
problems.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
from returning '.' and '..' in a top level listing of a trans2 directory
scan. NT does return these entries.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
functions that need to access the vuid, it can be obtained from the
current_user global.
Did some whitespace cleanup.
|
| |
| |
| |
| | |
jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 :)
|
| |
| |
| |
| |
| | |
to allow successful build.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
coredump.
J.F.
|
| |
| |
| |
| |
| |
| |
| |
| | |
files.
A number of memleak fixed
some error return values fixed.
J.F.
|
| |
| |
| |
| | |
Tomoki AONO <aono@cc.osaka-kyoiku.ac.jp>
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
statement into main function code path.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
GETDC stuff sorted out
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
|
| |
| |
| |
| | |
it clashes with other reload_services definitions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|