Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-18 | loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. | Rusty Russell | 1 | -8/+8 | |
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-06-20 | tdb_compat: Higher level API fixes. | Rusty Russell | 1 | -1/+1 | |
My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-06-09 | s3-talloc Change TALLOC_MEMDUP() to talloc_memdup() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 1 | -4/+4 | |
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-05 | More simple const fixes. | Jeremy Allison | 1 | -1/+1 | |
2011-03-30 | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-22 | s3-printing: isolate print notification prototypes better. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-10-01 | s3-spoolss: dont overwrite location change notify. | Günther Deschner | 1 | -0/+13 | |
Guenther | |||||
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_byname | Volker Lendecke | 1 | -2/+5 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_location | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_port | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_printername | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_sharename | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_comment | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_driver | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_submitted | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_name | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_username | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_total_pages | Volker Lendecke | 1 | -3/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_total_bytes | Volker Lendecke | 1 | -3/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_status | Volker Lendecke | 1 | -4/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_job_status_byname | Volker Lendecke | 1 | -4/+8 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_status | Volker Lendecke | 1 | -4/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from notify_printer_status_byname | Volker Lendecke | 1 | -5/+7 | |
2010-08-08 | s3: Lift the server_messaging_context from send_notify_field_buffer | Volker Lendecke | 1 | -4/+16 | |
2010-08-08 | s3: Lift the server_messaging_context from send_notify_field_values | Volker Lendecke | 1 | -7/+16 | |
2010-08-08 | s3: Lift the server_messaging_context from send_spoolss_notify2_msg | Volker Lendecke | 1 | -8/+11 | |
2010-08-08 | s3: Lift the server_messaging_context from print_notify_event_send_messages | Volker Lendecke | 1 | -2/+5 | |
2010-07-31 | s3-build: avoid to globally include printing and spoolss headers. | Günther Deschner | 1 | -0/+2 | |
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther | |||||
2010-06-13 | s3: Remove the pointless SERVICE macro | Volker Lendecke | 1 | -7/+7 | |
2010-06-10 | s3:misc make use of server_[event/messaging]_context directly | Andreas Schneider | 1 | -3/+3 | |
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers. | |||||
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-04-23 | s3-spoolss: Use const values for notify functions. | Andreas Schneider | 1 | -6/+6 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-03-18 | s3-spoolss: use printer and job notify enums provided by idl. | Günther Deschner | 1 | -15/+15 | |
Guenther | |||||
2009-02-24 | s3-spoolss: fix notify_printer_status_byname. | Günther Deschner | 1 | -1/+3 | |
This took me almost a week to find, so here a little longer explanation: When a windows client registers printer *status* change notifies using spoolss_RemoteFindFirstChangeNotify, it registers them to a print server handle, not a printer handle. We were then correctly monitoring the printer status changes but were sending out the spoolss_RouterReplyPrinterEx via the back-channel connection with job_id set to 0 (which we only may do for monitored printer change status notifies on printer handlers, not print server handles). Windows was then showing a new empty dummy printer icon in the explorer as it cannot route the notify event to the approriate local handle. It also discarded the content of the notify event message of course. With this, printer change notify for pausing, resuming and purging printers nicely works again here. Jerry, Tim and all other printing gurus, please check. Guenther | |||||
2009-01-22 | s3:printing: make some functions static and use tevent functions | Stefan Metzmacher | 1 | -8/+12 | |
metze | |||||
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2008-12-30 | Fix a spinning smbd when printing | Volker Lendecke | 1 | -1/+1 | |
Without this, we end up adding more than one timed event. In the event handler print_notify_event_send_messages() only one event will be deleted, all others will fire indefinitely. | |||||
2008-10-03 | Simply our main loop processing. A lot :-). Correctly use events for all the ↵ | Jeremy Allison | 1 | -0/+26 | |
previous "special" cases. A step on the way to adding signals to the events and being able to merge the S3 event system with the S4 one. Jeremy. | |||||
2007-10-18 | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 1 | -6/+6 | |
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f) | |||||
2007-10-10 | r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8 | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit fa536325681971307661b5d4efde3e8e54f3eca5) | |||||
2007-10-10 | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 1 | -2/+1 | |
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07) | |||||
2007-10-10 | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3) | |||||
2007-10-10 | r23112: Trim down the message.c API slightly: The messages_pending_for_pid ↵ | Volker Lendecke | 1 | -8/+1 | |
is now replaced by MSG_FLAG_LOWPRIORITY or'ed into the msg_type. To enable this, changed the msg_type definitions to hexadecimal. This way we could theoretically add the MSG_FLAG_NODUPLICATES again, but I would rather not do this, because that one is racy and can't be guaranteed at all. (This used to be commit 3f5eb8a9600839a9f9c44c553f0bda6df22b30b0) | |||||
2007-10-10 | r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'm | Volker Lendecke | 1 | -1/+2 | |
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6) | |||||
2007-10-10 | r23023: Get rid of the only caller of message_send_pid_with_timeout(). This ↵ | Volker Lendecke | 1 | -5/+13 | |
replaces the timeouts on the individual message send calls with an overall timeout on all the calls. The timeout in message_send_pid_with_timeout() did not make much sense IMO anyway, because the tdb_fetch() for the messages_pending_for_pid was blocking in a readlock anyway, we "just" did the timeout for the write lock. This new code goes through the full wait for the write lock once and then breaks out of sending the notifies instead of running into the timeout per target. Jerry, please check this! Thanks, Volker (This used to be commit 697099f06e1aa432187f802b9c2632607e3de46e) | |||||
2007-10-10 | r22868: Replace some message_send_pid calls with messaging_send_pid calls. More | Volker Lendecke | 1 | -6/+12 | |
tomorrow. (This used to be commit 74fa57ca5d7fa8eace72bbe948a08a0bca3cc4ca) |