1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4
Ralph Boehme 79ec9cbff9 s4:lib/messaging: use correct path for names.tdb
source3 messaging_init() calls server_id_db_init() (where names.tdb is
created) with lock_path. source4 imessaging_init() otoh wrongly used the
special lock_path subdirectory "msg.lock":

> find /opt/samba/ -name names.tdb
/opt/samba/var/lock/msg.lock/names.tdb
/opt/samba/var/lock/names.tdb

> tdbdump /opt/samba/var/lock/names.tdb
{
key(14) = "notify-daemon\00"
data(27) = "28609/12756565486113779780\00"
}

> tdbdump /opt/samba/var/lock/msg.lock/names.tdb
{
key(15) = "winbind_server\00"
data(8) = "28593/0\00"
}

With this patch both source3 and source4 messaging now use the same
names.tdb which is what we want:

> find /opt/samba/ -name names.tdb
/opt/samba/var/lock/names.tdb

> tdbdump /opt/samba/var/lock/names.tdb
{
key(15) = "winbind_server\00"
data(8) = "26434/0\00"
}
{
key(14) = "notify-daemon\00"
data(26) = "26452/3454520012124001687\00"
}

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11562

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2015-10-20 11:51:16 +02:00
..
auth ntlm auth: spelling fixes 2015-10-16 13:35:10 +02:00
build/pasn1
cldap_server s3/s4: smbd, rpc, ldap, cldap, kdc services. 2014-06-07 01:01:43 +02:00
client s4/client: add FS_SECTOR_SIZE_INFORMATION query support 2015-03-18 18:57:20 +01:00
cluster Remove callers of lp_use_ntdb 2015-03-17 11:30:51 +01:00
dns_server dns_server: Fix a small memleak 2015-08-07 12:57:02 +02:00
dsdb dsdb: Fix a confusing parameter 2015-09-08 10:45:15 +02:00
echo_server s4:echo_server fix compiler warnings 2013-12-12 14:21:28 -08:00
heimdal Fix memory leak in dns resolution during spnego authentication using kerberos. 2015-09-03 19:11:22 +02:00
heimdal_build build:wafsamba: Enable feature-compatible declaration for Waf 1.8 2015-10-13 06:34:16 +02:00
include lib/util: Include DEBUG macro in internal header files before samba_util.h 2015-03-11 18:47:22 +01:00
kdc waf: Add talloc as a dependency 2015-08-05 04:08:30 +02:00
ldap_server lib/tls: Add new 'tls priority' option 2015-07-20 03:08:26 +02:00
lib s4:lib/messaging: use correct path for names.tdb 2015-10-20 11:51:16 +02:00
libcli lib/tls: Add new 'tls priority' option 2015-07-20 03:08:26 +02:00
libnet s4:libnet: make use of dcerpc_secondary_auth_connection_send/recv() 2015-07-07 14:05:28 +02:00
librpc lib/tls: Add new 'tls priority' option 2015-07-20 03:08:26 +02:00
nbt_server Fix a typo 2015-06-19 01:05:17 +02:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntptr spoolss: make spoolss deal with ndr64 SetForm by using proper container object. 2013-01-17 17:11:37 +01:00
ntvfs dbwrap: Remove loadparm_context from db_open_tdb 2015-09-22 04:51:16 +02:00
param Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
rpc_server samr4: Use <SID=%s> in GetGroupsForUser 2015-09-01 23:49:14 +02:00
script find_unused_macros: Remove obsolete script that finds unused macros. 2014-08-31 21:21:13 +02:00
scripting s4-scripting: fix minor indent issue for hresult generation. 2015-09-30 23:51:12 +02:00
selftest selftest: add a check for disabled change notify 2015-08-31 15:50:49 +02:00
setup dbcheck: Add explict tests for unknown and unsorted attributeID values 2015-08-24 23:46:22 +02:00
smb_server Introduce setting "desired" for 'smb encrypt' and 'client/server signing' 2015-07-07 14:05:27 +02:00
smbd Rely on /dev/urandom 2015-10-13 04:25:38 +02:00
torture s4:torture: Add test case for Replay of Persistent Handle on a Single Channel. 2015-10-16 02:00:28 +02:00
utils ntlm_auth: Remove two uses of hex_encode() 2015-05-13 01:44:20 +02:00
web_server web_server: Fix server not to segfault on startup 2015-08-31 04:11:55 +02:00
winbind s4-winbindd: Remove the winbind rewrite from the samba4 effort 2015-06-24 22:34:57 +02:00
wrepl_server Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00