summaryrefslogtreecommitdiffstats
path: root/source3/printing/notify.c
Commit message (Collapse)AuthorAgeFilesLines
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-8/+8
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r3067: patch based on volker's initial work in trunk that fixes the queu ↵Gerald Carter2007-10-101-47/+38
| | | | | | update problem when using the background daemon (This used to be commit de7af09e727e744aa27af85ef7c0f73ed5c1550a)
* r2133: Several fixes:Gerald Carter2007-10-101-5/+8
| | | | | | | | | | | | | | | | | | | | * BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1 patch from Olaf Flebbe <o.flebbe@science-computing.de>. Will need to watch this one in the build farm. * Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED was getting reset by attempts to sanitize the defined attributes (PRINTER_ATTRIBUTE_SAMBA) * Resolve name conflict on DEC OSF-5.1 (inspired by patch from Adharsh Praveen <rprav@india.hp.com>) * Work around parsing error in the print change notify code (not that the alignment bug is still there but reording the entries in the array works around it). * remove duplicate declaration of getprintprocdir from rpcclient. (This used to be commit 7474c6a446037f3ca2546cb6984d800bfc524029)
* r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replicationJeremy Allison2007-10-101-1/+1
| | | | | | | sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy. (This used to be commit fbc06831d3a7e8645409158ee1ae1f9f192913a7)
* r925: add changes frpm trunk (r841 and r842) -- enable background queue ↵Gerald Carter2007-10-101-0/+9
| | | | | | update process and allow printers to have different sharenames from printernames (This used to be commit 066b9c4276a968788a03709a00d4f672ac032df7)
* a small include file rearrangement that doesn't affect normalAndrew Tridgell2003-11-121-0/+1
| | | | | | compilation, but that allows Samba3 to take advantage of pre-compiled headers in gcc if available. (This used to be commit b3e024ce1da7c7e24fcacd8a2964dd2e4562ba39)
* updating version in copyrightGerald Carter2003-10-141-1/+1
| | | | (This used to be commit 947425e7953929107d4821b1945e8475e02ff3fa)
* More printf portability fixes. Got caught out by some gcc'isms lastTim Potter2003-07-251-4/+4
| | | | | time. )-: (This used to be commit 59dae1da66a5eb7e128263bd578f167d8746e9f0)
* More printf fixes - size_t is long on some architectures.Tim Potter2003-07-241-2/+2
| | | | (This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
* Some const correctness. Stop tdb being used as a remote backend. If anJeremy Allison2003-06-271-1/+1
| | | | | | | | idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3)
* Limit the number of outstanding print notify messages for a process toJeremy Allison2003-04-231-1/+8
| | | | | | 1000. Jeremy. (This used to be commit 2e5e4c10d2377493913554e7dab79d97a4d16d87)
* Ensure we're not filtering our essential delete messages.Jeremy Allison2003-04-101-11/+21
| | | | | | Added jobid debug when unpacking message. Jeremy. (This used to be commit 8a6f3313e69c6d47e20838f42ebc9f8a2ce9ddc4)
* Subtle changes to message handling after ENUMJOBS.Jeremy Allison2003-04-021-1/+4
| | | | | Jeremy. (This used to be commit e5e83544dc0acf812bfa5ea17960b5a6be954ca1)
* * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter2003-02-151-2/+33
| | | | | | | | * never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504 (This used to be commit ffda9e2480414c7ed6156958f516e0d1f3c61350)
* off by one bug in string length; CR 1159Gerald Carter2003-02-141-1/+1
| | | | (This used to be commit aaefa889ad9a065f976275a748be1011d66aa37e)
* Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.Andrew Bartlett2003-02-121-4/+4
| | | | | Andrew Bartlet (This used to be commit 0809670d0f85405c1e58d7317cc7a6ca67c8ad16)
* Collapse duplicate messages before sending.Jeremy Allison2003-02-051-80/+132
| | | | | Jeremy. (This used to be commit 105d37474d0be9eea2ea38dc90ceba5a27a7e630)
* Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-4/+4
| | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-1/+1
| | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* [print notify fixes from APP_HEAD]Gerald Carter2002-11-261-0/+87
| | | | | | | | | * fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
* Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-071-30/+59
| | | | | Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-16/+104
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Sync 3.0 branch with HEADJelmer Vernooij2002-08-171-24/+41
| | | | (This used to be commit eac75549c398f208484ae735d5a5931fed6d0e99)
* *Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison2002-07-111-9/+9
| | | | | | | | a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy. (This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-281-0/+230
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)