Age | Commit message (Collapse) | Author | Files | Lines |
|
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size)
fixed some possible mem leaks, or seg faults.
thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)
(This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
|
|
Jeremy.
(This used to be commit 5bd39ce233fd14d01f434f39ce53e3e77b428845)
|
|
Jeremy.
(This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
|
|
According to the incorruptible judges find and grep, the latter won.
Mmm - procrastination. (-:
(This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
|
|
Jeremy.i
(This used to be commit 9444fc554ba31ef516d0d98bbfe7f1af883e3970)
|
|
Jeremy.
(This used to be commit 592ef3d8eaea6421db758f39b694c84e8f66ec20)
|
|
Jeremy.
(This used to be commit e90ad081ada5f3e11abe833b16a6416025ebcea5)
|
|
right.
Jeremy.
(This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
|
|
José M.Rodríguez <josemi@iies.es>
Jeremy.
(This used to be commit 7ebf284ef7597ee347deb5245d6ba222a102f55d)
|
|
Jeremy.
(This used to be commit 5aa3b18f69646669c8548d1f49214a47dcb39a36)
|
|
have the first set of symbols.
(This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
|
|
(This used to be commit fa1dfb681b2c7e2de59d6b439ceea738d6f11aff)
|
|
J.F.
(This used to be commit c08e22713ea4ddbc4951dc8dcc40609eb0039ddb)
|
|
can't redefine them. damn.
(This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
|
|
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
(This used to be commit debb471267960e56005a741817ebd227ecfc512a)
|
|
Jeremy.
(This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
|
|
logs a debug. We need this to track fail cases.
Jeremy
(This used to be commit fe5cac150d7491a7dfdaf2a54998178bbfe5a303)
|
|
Jeremy
(This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
|
|
we need to close with close_file().
Jeremy.
(This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
|
|
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
|
|
(This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
|
|
construct_default_printer_sdb() with checks of the owner rid instead. This
should be much faster, work on non-English systems and systems with renamed
user or group names.
(This used to be commit 8b435b0a2ab1fa060473753fa05f0aba8406b607)
|
|
Jeremy.
(This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)
|
|
Jeremy.
(This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
|
|
Jeremy.
(This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
|
|
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Also - in removing the tmpdir param in smbrun an extra NULL parameter
was missed in each print_run_command() call (which is a varargs fn.).
Now fixed.
Jeremy.
(This used to be commit 32397e5bc6d995ce7ca37c82d6aedc1e5b1b6fbd)
|
|
Jeremy.
(This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
|
|
be read.
Jeremy.
(This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
|
|
Jeremy.
(This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
|
|
Jeremy.
(This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
|
|
Jeremy.
(This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)
|
|
Jeremy.
(This used to be commit 63ce316d870be0cf61ae669c955479ec175fdaef)
|
|
be returned.
Jeremy.
CVS ----------------------------------------------------------------------
(This used to be commit 5b7f4cf271ad449277c0ea7a825ed4d50205d729)
|
|
Jeremy
(This used to be commit 40bccf26dbdb88c639d272d511bfce510a43de2a)
|
|
Jeremy.
(This used to be commit 4a3d2a13d3b0acab69c27b5b6522575b949eb5e6)
|
|
First one adds a new info level into the lanman printing and an ioctl to the trans2 code.
Andrew - this uses ASCII only. It looks ok to me but please check !
Second one adds a parameter "os2 driver map" that allows OS/2 driver names to be mapped.
Jeremy.
(This used to be commit da79b519e0b6b4317d7fb5260d74e0e74a7e0b46)
|
|
Parameterises the printing functions so other backends can be plugged
directly in (this is a good thing :-).
Jeremy.
(This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
|
|
Jeremy.
(This used to be commit 9822f13ae23e244e5e9a4cf3355bea2eead8cf66)
|
|
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
|
|
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
(This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
|
|
I'm having problems with talloc_realloc in the 2.2 branch and I
want a stable reference.
The only problem is this breaks the clean auto-generated code
in *one* call in srv_spoolss.c (the rfnpcnex call).
Jeremy.
(This used to be commit 57a9340cbafa40f3a41e6c676c6f2477855fd799)
|
|
Jeremy.
(This used to be commit 3e190e693375c6032dd64bf8dd3c90f90dc4e3b4)
|
|
cache.
Jeremy.
(This used to be commit a648935ae93f781aedba8f89b0071a24e42f4543)
|
|
security descriptors and pointers. Syncup with 2.2 tree.
Jeremy.
(This used to be commit 14d5997dc841e78a619e865288486d50c245896d)
|
|
include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We
need these to be different as we're storing LPQ_xx enums in the tdb
already.
rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now
returning status codes.
smbd/lanman.c: Change the RAP status codes to have "RAP" in the name.
printing/printing.c: Keep track of the status of a job. Allow a job to be
deleted from one smbd when being submitted by another.
Made logic in mutex clearer.
Jeremy.
(This used to be commit 71029da7dd74eb91dd6953752bdf238f319d985d)
|
|
on a pipe
and then a blocking read to fail. Make the pipe read/write non blocking.
printing/printing.c: Added a mutex around the code that enumerates all the jobs in a
print queue. Allows only one smbd to be doing this at any one time.
This fixes a capacity problem discovered at HP with <10,000 jobs in
a print queue.
Jeremy.
(This used to be commit 0d3ae603a2b86d476458ee2a7d4f7d22636c3f66)
|
|
NT sends "delete on close" to cancel a print job copied from the command line.
Deal with this. Merged JohnR's fixes for print job errors.
Jeremy.
(This used to be commit 2060d74e48d62c99a1689ee02ac435b71918ddf0)
|
|
srv_samr.c: duplicate gid fix.
srv_spoolss_nt.c: Merge of JF's work.
uid.c: Fix for returning names when a PDC.
Jeremy.
(This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
|
|
Patch from David Collier-Brown to print permission error on spool file
creation.
(This used to be commit 8907a51743b7b9b9ad4168033fae4d44012cca37)
|
|
updated the POSIX_ACL code to be in sync.
Jeremy.
(This used to be commit c0517d6f4e3079feca1309fd1ea7b21e83f0de02)
|