1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Andrew Tridgell 6f1f9f6d8d fixed a bug in message handling for code the change notify code
The change notify code registered a separate message handler for each
tree connect. This registration uses the global messaging context.

The messaging code would consider a 2nd registration for the same
messaging type as being an 'update' of the handler, rather than a new
handler. It also would only call the first handler in the linked list
for a given message type when dispatching messages.

This patch changes the messaging code to allow for multiple
registrations of the same message type, and allow for multiple calls
to different messaging handler for one incoming message.

This fixes the problem with the test_notify_tcon() test that I
recently committed to the S4 smbtorture
2009-03-10 16:45:45 +11:00
..
ldb s3 ldb: Fix vasprintf segfault that has been the source of build machine failures this week 2009-01-23 16:18:21 -08:00
netapi Fix an uninitialized variable 2009-02-19 21:00:29 +01:00
smbconf fix "dubious escape" warning of Studio compiler 2009-03-09 10:47:30 +01:00
access.c Use sockaddr_storage only where we rely on the size, use sockaddr 2008-10-23 19:53:15 +02:00
account_pol.c fixed lots of places that paniced on a failed transaction_commit, 2008-08-13 11:54:10 +02:00
adt_tree.c adt_tree: change pathtree_add to return WERR instead of bool. 2008-04-13 15:33:47 +02:00
afs_settoken.c
afs.c Remove some references to get_current_username() and current_user_info 2008-05-25 11:43:57 +02:00
audit.c
bitmap.c
charcnv.c Revert accidental reintroduction of void ** bug. 2009-03-08 06:57:52 +01:00
clobber.c
conn_tdb.c
ctdbd_conn.c s3:ctdbd_conn: canonicalize ips before sending them to ctdbd 2009-01-29 17:40:13 +01:00
dbwrap_ctdb.c s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outside 2009-03-04 22:49:25 +01:00
dbwrap_file.c Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. 2008-10-18 16:16:57 +02:00
dbwrap_rbt.c s3: Fix a memleak in dbwrap_rbt. 2009-03-04 11:23:05 +01:00
dbwrap_tdb.c Add db_tdb_parse 2009-02-26 11:05:22 +01:00
dbwrap_util.c s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32() 2008-12-29 09:05:15 +01:00
dbwrap.c Add dbwrap->parse_record 2009-02-26 11:05:22 +01:00
debug.c Move some bytes from data to text, make use of the ARRAY_SIZE macro 2008-12-19 13:38:54 +01:00
display_sec.c Eliminate two duplicate SEC_ACE_TYPE constants already provided by 2009-03-01 04:59:07 +01:00
dmallocmsg.c
dprintf.c Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
dummyroot.c
dummysmbd.c s3 oplocks: Make the level2 oplock contention API more granular 2009-02-09 23:47:45 -08:00
errmap_unix.c s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping 2009-03-06 16:37:19 +01:00
events.c Fix "ignore return" warning. 2009-03-03 08:50:35 -08:00
fault.c s3: Report the correct path when dumping core on FreeBSD 2009-02-25 13:57:11 -08:00
file_id.c s3: Add extid to the dev/inode pair 2009-02-19 20:58:26 -08:00
gencache.c simplify gencache_iterate a bit, fix nonempty blank lines 2009-01-19 00:05:56 +01:00
iconv.c Use samba3's own iconv implementation for now, until all changes are 2009-03-02 05:04:07 +01:00
idmap_cache.c Move idmap_cache.c from winbindd/ to lib/ 2008-08-26 12:56:47 -07:00
interface.c Have nmbd check all available interfaces for WINS before failing 2009-02-04 20:26:50 -08:00
interfaces.c s3:lib: interfaces.c isn't used in the configure tests anymore 2009-03-09 12:49:13 +01:00
ldap_debug_handler.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
ldap_escape.c
memcache.c Attempt to fix the build 2008-11-15 00:50:33 +01:00
messages_ctdbd.c first cut at adding full transactions for ctdb to samba3 2008-08-13 11:54:08 +02:00
messages_local.c s3:messages: finally make message_dispatch() static 2009-01-22 12:37:33 +01:00
messages.c fixed a bug in message handling for code the change notify code 2009-03-10 16:45:45 +11:00
module.c Remove sys_dl*() - stubs are already provided by libreplace. 2008-11-01 03:49:49 +01:00
ms_fnmatch.c Cleanup size_t return values in callers of convert_string_allocate 2008-05-20 22:40:13 +02:00
packet.c Optimize for the common case that packet.c received exactly one full packet 2009-01-02 22:11:50 +01:00
pam_errors.c
pidfile.c [s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it. 2008-10-27 13:02:37 +01:00
popt_common.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
privileges_basic.c
privileges.c Convert account_pol.tdb to dbwrap 2008-04-01 14:04:23 +02:00
readline.c Coverity fix #CID: 607 - resource leak on error path. 2008-10-29 15:55:45 -07:00
recvfile.c Several fixes to our use of splice 2009-01-07 12:04:44 +01:00
secdesc.c s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers. 2009-02-24 12:41:20 +01:00
select.c S3: Stop creating SMBD cores when failing to create a pipe. 2009-02-18 18:08:33 -08:00
sendfile.c Fix bug noticed by Volker - if sendfile returns zero then 2009-01-13 13:02:44 -08:00
server_mutex.c Use a separate tdb for mutexes 2008-03-10 21:08:45 +01:00
sharesec.c Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
smbldap_util.c
smbldap.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
smbrun.c S3: Fixes for coverity issues. 2009-02-10 14:43:14 -08:00
sock_exec.c Coverity fixes 2008-03-17 20:52:25 +01:00
substitute.c "userdom_struct" does not need "full_name" anymore -- unused 2009-01-20 23:10:16 +01:00
sysacls.c
sysquotas_4A.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_linux.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas_xfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
sysquotas.c Use common util_file code. 2008-10-12 17:34:43 +02:00
system_smbd.c
system.c Refactored sys_fork() and sys_pid() into shared util library 2009-02-23 21:17:12 -08:00
tallocmsg.c
tdb_validate.c More warning fixes for Solaris. 2009-02-23 16:22:43 -08:00
tdb_validate.h Fix the build on "opi" 2009-01-29 21:38:05 +01:00
time.c tidy up timestamp checks 2009-02-12 13:00:44 +01:00
username.c
util_file.c Use common util_file code. 2008-10-12 17:34:43 +02:00
util_nscd.c
util_nttoken.c Move secace.c to top-level. 2009-03-01 18:00:26 +01:00
util_pw.c Make memcache_add_talloc NULL out the source pointer 2008-11-14 20:27:46 +01:00
util_reg_api.c s3: Fix incompatible type warnings 2009-03-01 16:40:17 -08:00
util_reg.c registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.c 2008-04-12 02:41:20 +02:00
util_seaccess.c Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or delete file 2009-02-02 17:10:27 -08:00
util_sec.c
util_sid.c Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
util_sock.c Make struct tevent_req opaque 2009-03-02 11:02:09 -05:00
util_str.c Move next_token_talloc() to top-level. 2009-03-01 16:16:16 +01:00
util_tdb.c s3: separate tdb validation code out into its own source file 2009-01-28 09:43:57 +01:00
util_transfer_file.c
util_unistr.c Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX. 2008-08-12 13:35:15 -07:00
util_uuid.c Use GUID_random. 2008-10-14 02:41:20 +02:00
util.c s3: Remove madvise support 2009-03-04 11:07:27 -08:00
version.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
wb_reqtrans.c Move "struct req_read_state" where it belongs 2009-03-08 11:21:00 +01:00
wbclient.c Don't copy the winbindd_request in wb_trans 2009-03-08 12:52:58 +01:00
winbind_util.c Fix warning about missmatch of uint32_t and size_t. 2009-02-17 13:18:10 -08:00
wins_srv.c Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00