Andrew Tridgell [Mon, 6 Dec 2010 06:18:30 +0000 (17:18 +1100)]
s4-dns: return the correct TTL
I've now patched the bind9 sdlz layer to cope with multiple TTLS on a
name/type pair
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
Andrew Tridgell [Mon, 6 Dec 2010 05:57:12 +0000 (16:57 +1100)]
s4-dns: support Samba command line options to the dlz_bind.so module
this allows setting of Samba command line options in named.conf
Andrew Tridgell [Mon, 6 Dec 2010 05:56:18 +0000 (16:56 +1100)]
s4-dns: added flags support for dlz_bind9
this will allow us to set the THREADSAFE flag if we make this
threadsafe. For now we don't set that flag, and let bind9 do the
locking for us.
Andrew Tridgell [Mon, 6 Dec 2010 03:12:07 +0000 (14:12 +1100)]
s4-dns: a dlz module for bind9
this module can be loaded into bind9 if bind9 has been built with the
--with-dlz-dlopen option. It provides access bind9 access to the
DNS records in SAMDB.
You can then start bind9 with this in named.conf:
dlz "Samba zone" {
database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so";
};
See http://git.samba.org/tridge/bind9.git for a bind9 tree with the
dlz_dlopen driver. See also the discussion on the bind-workers mailing
list
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
Rusty Russell [Mon, 6 Dec 2010 03:05:50 +0000 (13:35 +1030)]
idtree: fix overflow for v. large ids on allocation and removal
Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually
be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove.
(We unfairly blamed a shift of a signed var for this crash in commit
2db1987f5a3a).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
Kamen Mazdrashki [Sun, 5 Dec 2010 22:17:43 +0000 (00:17 +0200)]
s4-repl_meta_data: Print function name when we can't find attribute in Schema cache
Same error message is printed by linked_attributes.c module
and it was really hard to tell where the error occurred
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104
Kamen Mazdrashki [Sun, 5 Dec 2010 15:19:44 +0000 (17:19 +0200)]
s4-linked_attributes: Give more info where an error occured
We have exact same error messages at different locations
and it is little bit hard to tell where the error came from
from the log.
Kamen Mazdrashki [Sun, 5 Dec 2010 15:11:28 +0000 (17:11 +0200)]
s4-repl_meta_data: Remove duplicated check
Kamen Mazdrashki [Sat, 4 Dec 2010 21:03:21 +0000 (23:03 +0200)]
s4-schema_load: Strip a pointless check
If *schema is NULL, then dsdb_schema_from_ldb_results()
call should have failed
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 21:20:06 +0000 (22:20 +0100)]
lib/util:tests/time.c - "test_timestring" - fix it on Solaris
Solaris returns "Thu Jan 01" and not "Thu Jan 1" - therefore proof for
both.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Dec 5 23:09:13 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:31:09 +0000 (20:31 +0100)]
s4:cluster/cluster.h - fix another gcc 3.4 "struct" warning
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:28:44 +0000 (20:28 +0100)]
s4:dsdb/samdb/ldb_modules/util.h - fix a gcc 3.4 compile warning
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:24:18 +0000 (20:24 +0100)]
s4:lib/messaging/*.h - fix compile warnings on gcc 3.4
For example on OpenSolaris
Jelmer Vernooij [Sun, 5 Dec 2010 16:06:58 +0000 (17:06 +0100)]
pytalloc: Add docstring for talloc.Object.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
Jelmer Vernooij [Sun, 5 Dec 2010 16:00:45 +0000 (17:00 +0100)]
s4-python: Add more module docstrings.
Jelmer Vernooij [Sun, 5 Dec 2010 15:56:27 +0000 (16:56 +0100)]
s4-python: Add some more module docstrings.
Jelmer Vernooij [Sun, 5 Dec 2010 14:26:05 +0000 (15:26 +0100)]
wafsamba: Only include versioned files when building tarball from bzr.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 5 16:13:06 CET 2010 on sn-devel-104
Holger Hetterich [Sat, 4 Dec 2010 16:28:12 +0000 (11:28 -0500)]
Updated french translations from Jean Delvare <jdelvare@suse.de>
Autobuild-User: Jim McDonough <jmcd@samba.org>
Autobuild-Date: Sat Dec 4 18:23:54 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:39:01 +0000 (16:39 +0100)]
s4:dsdb/samdb/cracknames.c - fix another memory leak
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 17:26:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:38:45 +0000 (16:38 +0100)]
s4:kdc/kpasswdd.c - fix memory leaks
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:38:02 +0000 (16:38 +0100)]
s4:auth/gensec/gensec_krb5.c - fix/reorder memory free operations
To prevent memory leaks
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:36:27 +0000 (16:36 +0100)]
s4:auth/gensec/gensec_krb5.c - remove a pointless "nt_status" test
There is no operation which sets the "nt_status" before the "if".
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 13:24:43 +0000 (14:24 +0100)]
s4:auth/kerberos/kerberos_pac.c - fix another memory leak regarding the KRB principal
In addition fix a counter type
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 15:14:46 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 11:31:34 +0000 (12:31 +0100)]
s4:dsdb/common/util_samr.c and auth/sam.c - fix error message
Stefan Metzmacher [Mon, 22 Nov 2010 11:38:41 +0000 (12:38 +0100)]
lib/torture: add torture_assert_u64_equal_goto()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
Stefan Metzmacher [Mon, 29 Nov 2010 11:27:11 +0000 (12:27 +0100)]
tls_tstream: use a dynamic buffer for the push case
Some versions of gnutls doesn't handle EAGAIN correctly,
so we better allow sending buffers without a low size limitation,
the limit is now UINT16_MAX (0xFFFF) and we allocate the buffer
with talloc each time.
metze
Matthieu Patou [Thu, 18 Nov 2010 07:35:06 +0000 (10:35 +0300)]
tls_tstream: increase the buffer size
The problem is that with certain version of gnutls are not working
properly if the server is sending in different packet things like (at
least)
* Certificate
* Server Key exchange
* Client certificate
Somehow it really expect this to be done in one packet as some
structures used _gnutls_send_handshake are reinitialized at every
packet exchange and intermediate steps didn't expect it
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:34:05 +0000 (10:34 +0100)]
s4:samr RPC server - dcesrv_samr_GetBootKeyInformation - return NOT_SUPPORTED
Windows Server 2008 does this
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 12:11:47 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:24:30 +0000 (10:24 +0100)]
s4:dsdb/common/util_samr.c - "dsdb_enum_group_mem" - fix it up regarding non SAM members
For example contacts.
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:07:25 +0000 (10:07 +0100)]
s4:torture/rpc/samr.c - fix output message
Holger Hetterich [Sat, 4 Dec 2010 00:43:47 +0000 (16:43 -0800)]
Fix bug #3185 - testparm exits 0 if it can read the config file regardless of errors
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec 4 02:30:00 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 22:06:53 +0000 (23:06 +0100)]
s4/kdc - fix a warning regarding a changed parameter type (kvno)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 23:56:15 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 21:56:19 +0000 (22:56 +0100)]
s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is called "reserved"
MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/
cc234319(v=PROT.13).aspx
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 21:47:21 +0000 (22:47 +0100)]
s4:lsa RPC server - always initialise "info" structures
This should help to fix bug #7769
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:38:03 +0000 (20:38 +0100)]
s4:lsa RPC server - "dcesrv_lsa_CreateSecret" - a bit of rework
- Added 'out of memory' checks
- Added checks regarding return values
- Switch to "ldb_msg_add_string" where possible
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 21:41:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:20:17 +0000 (20:20 +0100)]
s4:libnet/libnet_samsync_ldb,c - move away from "samdb_msg_add_string" when possible
Also here we can move to "ldb_msg_add_string" without any impact!
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:09:31 +0000 (20:09 +0100)]
s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string"
These calls can be substituted by "ldb_msg_add_string" without any problems -
only the allocation contexts of the SPNs and the DNS hostnames have to adapted.
Günther Deschner [Wed, 1 Dec 2010 22:15:34 +0000 (23:15 +0100)]
s3-waf: add krb5 configure check for WRFILE_KEYTAB.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 3 13:54:25 CET 2010 on sn-devel-104
Günther Deschner [Wed, 1 Dec 2010 22:07:41 +0000 (23:07 +0100)]
s3-waf: add krb5 configure checks for enctype 23.
Guenther
Günther Deschner [Wed, 1 Dec 2010 20:26:29 +0000 (21:26 +0100)]
s3-waf: more krb5 configure checks.
Guenther
Stefan Metzmacher [Fri, 3 Dec 2010 09:40:33 +0000 (10:40 +0100)]
talloc: add ABI/talloc-2.0.4.sigs
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:33:57 +0000 (09:33 +0100)]
s4:auth/sam.c - when printing out a string buffer we don't strictly need the width
The precision (maximum numbers of characters) should be enough.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 10:26:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:19:42 +0000 (09:19 +0100)]
s4:auth/sam.c - the check for the SAMDB needs to be on the top of the call
Otherwise it's really useless.
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:18:23 +0000 (09:18 +0100)]
s4:auth/sam.c - fix the free of memory contexts
"tmp_ctx" needs always to be freed ("res" is freed implicitly)
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:17:01 +0000 (09:17 +0100)]
s4:auth/sam.c - specify the SID ignore case better
As per suggestion by metze.
Andrew Tridgell [Fri, 3 Dec 2010 07:02:22 +0000 (18:02 +1100)]
wintest: autodetect if named supports tkey-gssapi-keytab
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Dec 3 08:48:52 CET 2010 on sn-devel-104
Andrew Tridgell [Fri, 3 Dec 2010 04:31:39 +0000 (15:31 +1100)]
wintest: put most of the main program login in wintest.py
this makes it easier to create new tests
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Dec 3 06:17:44 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 3 Dec 2010 02:10:27 +0000 (03:10 +0100)]
wafsamba: Override GIT_DIR without using putenv.
putenv has sideffects on later code. This overrides GIT_DIR for just this call.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 3 04:24:53 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 3 Dec 2010 02:07:03 +0000 (03:07 +0100)]
talloc: Bump version number after pytalloc changes.
Jeremy Allison [Fri, 3 Dec 2010 01:52:11 +0000 (17:52 -0800)]
Replace lseek()/write()/lseek() triple with pwrite call. We already emulate this
inside pwrite under the covers.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec 3 03:39:42 CET 2010 on sn-devel-104
Jeremy Allison [Fri, 3 Dec 2010 01:46:30 +0000 (17:46 -0800)]
posix_fallocate() returns an errno, not -1 on error.
Jeremy Allison [Fri, 3 Dec 2010 01:26:00 +0000 (17:26 -0800)]
Merge the two conflicting allocation codes into one function, vfs_slow_fallocate()
and use that from both the truncate and fill_sparse functions.
Jeremy.
Jeremy Allison [Fri, 3 Dec 2010 00:40:00 +0000 (16:40 -0800)]
Oops. Missed adding vfswrap_posix_fallocate to vfs_default_fns table.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec 3 02:26:23 CET 2010 on sn-devel-104
Jeremy Allison [Fri, 3 Dec 2010 00:25:59 +0000 (16:25 -0800)]
Move posix_fallocate into the VFS where it belongs.
Jeremy.
Jeremy Allison [Thu, 2 Dec 2010 23:38:36 +0000 (15:38 -0800)]
Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate is on
Tries posix_fallocate() and then falls back to old code.
Jeremy.
Kamen Mazdrashki [Thu, 2 Dec 2010 00:57:06 +0000 (02:57 +0200)]
s4-dsdb/syntax: Map remote ATTIDs for Class OID syntax
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104
Kamen Mazdrashki [Wed, 1 Dec 2010 23:01:20 +0000 (01:01 +0200)]
s4-test/repl_schema: Test class inheritance through subClassOf
Kamen Mazdrashki [Wed, 1 Dec 2010 22:32:10 +0000 (00:32 +0200)]
s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cache
Kamen Mazdrashki [Wed, 1 Dec 2010 22:30:46 +0000 (00:30 +0200)]
s4-test/fsmo: Remove unused imports
Kamen Mazdrashki [Wed, 1 Dec 2010 19:13:54 +0000 (21:13 +0200)]
s4-test/delete_object: Remove unused imports
Kamen Mazdrashki [Wed, 1 Dec 2010 19:01:47 +0000 (21:01 +0200)]
s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to us
We've lost this import somehow, now it is back in :)
Kamen Mazdrashki [Wed, 1 Dec 2010 18:22:06 +0000 (20:22 +0200)]
s4-test/repl_schema: Test classSchema and attributeSchema replication in separate tests
Kamen Mazdrashki [Wed, 1 Dec 2010 18:16:00 +0000 (20:16 +0200)]
s4-dsdb/descriptor: comment typo
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 11:23:53 +0000 (12:23 +0100)]
s4:auth/sam.c-"authsam_expand_nested_groups" - don't fail if we've memberships on non-SAM objects
This can be expected (think at a membership of a "groupOfNames" group) and we
shouldn't blame about it.
This fixes a bug reported on the technical mailing list.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 2 17:17:56 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 10:49:56 +0000 (11:49 +0100)]
s4:dsdb/samdb/cracknames.c - fix various KRB5 memory leaks
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 2 12:35:03 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 08:55:56 +0000 (09:55 +0100)]
s4:password_hash LDB module - allow empty ("") passwords
This seems to have been broken some time ago - till someone on the
mailing list noticed it.
I've also added a testsuite (and some additional SamDB python helpers) which
should prove this.
Björn Jacke [Thu, 2 Dec 2010 09:34:34 +0000 (10:34 +0100)]
s4/scripting/ktpass: make shell code portable and eliminate another bash requirement
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Dec 2 11:20:42 CET 2010 on sn-devel-104
Björn Jacke [Thu, 2 Dec 2010 09:29:18 +0000 (10:29 +0100)]
s4/ldb: fix shell syntax error in test script
Björn Jacke [Thu, 2 Dec 2010 09:24:52 +0000 (10:24 +0100)]
s3/selftest: add some FIXMEs
this needs some rework. Sourced shell code cannot take arguments, at least no
portable shell. This generates errors on the buildfarm sind quite a while.
Björn Jacke [Thu, 2 Dec 2010 09:20:59 +0000 (10:20 +0100)]
tests: avoid bash in shebang and fix wrong "==" in test
Björn Jacke [Thu, 2 Dec 2010 09:18:39 +0000 (10:18 +0100)]
fix ѕome == to correct shell test in commented stuff
Björn Jacke [Thu, 2 Dec 2010 09:16:38 +0000 (10:16 +0100)]
smbprinting: fix wrong == in shell tests
Björn Jacke [Thu, 2 Dec 2010 09:14:07 +0000 (10:14 +0100)]
waf/buildtools: remove more bash shebangs and fix a == to =
Björn Jacke [Thu, 2 Dec 2010 08:40:21 +0000 (09:40 +0100)]
waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotes
- some Unix shells actually don't like grep ^foo, use grep "^foo" instead.
- bash is not installed on every system, please avoid #!/bin/bash and
use #!/bin/sh instead
Stefan Metzmacher [Thu, 2 Dec 2010 00:58:10 +0000 (01:58 +0100)]
buildtools: fix --git-local-changes option
If we set the GIT_DIR envvar we also need to set GIT_WORK_TREE,
otherwise we can't expect valid output from 'git diff HEAD'.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 2 09:09:21 CET 2010 on sn-devel-104
Jeremy Allison [Thu, 2 Dec 2010 01:39:30 +0000 (17:39 -0800)]
Turns out there are lots of places in S3 where token passed in
here can be NULL (become_root() sets the current security token to
NULL for example). Ensure we don't crash.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec 2 03:26:03 CET 2010 on sn-devel-104
Jeremy Allison [Thu, 2 Dec 2010 01:29:05 +0000 (17:29 -0800)]
Fix a typo - should be '&&' not '&' when checking for privileges.
Jeremy.
Andrew Tridgell [Thu, 2 Dec 2010 00:13:52 +0000 (11:13 +1100)]
wintest: added README
this points at the wiki page
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Dec 2 02:05:32 CET 2010 on sn-devel-104
Michael Adam [Thu, 28 Oct 2010 11:58:31 +0000 (13:58 +0200)]
s3:smbd: remove some commented out legacy code
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Dec 2 01:18:19 CET 2010 on sn-devel-104
Andrew Tridgell [Wed, 1 Dec 2010 12:54:38 +0000 (23:54 +1100)]
s4-ldap: removed an incorrect talloc_move()
the parent of this session_info is either the stream_connection, or
its a system_session(). In either case reparenting it on the
ldapsrv_connection doesn't achieve anything that I can see.
The move was causing a steal on reference error because the
session_info often has multiple references.
Thanks to Metze for spotting this.
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 1 22:10:42 CET 2010 on sn-devel-104
Günther Deschner [Wed, 1 Dec 2010 14:04:55 +0000 (15:04 +0100)]
s3-waf: more krb5 configure checks.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 1 19:35:50 CET 2010 on sn-devel-104
Günther Deschner [Wed, 1 Dec 2010 12:24:55 +0000 (13:24 +0100)]
s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if possible.
Guenther
Günther Deschner [Wed, 1 Dec 2010 12:02:15 +0000 (13:02 +0100)]
s3-waf: add idmap_ldap to default static module list.
Guenther
Günther Deschner [Wed, 1 Dec 2010 11:48:15 +0000 (12:48 +0100)]
s3-waf: align some krb5/gssapi configure checks with classic build.
Guenther
Günther Deschner [Wed, 1 Dec 2010 11:10:03 +0000 (12:10 +0100)]
s3-waf: avoid module name uppercasing.
This finally allows mixed case module names like the classic build
(./configure --shared_modules=charset_CP850)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Wed, 1 Dec 2010 15:28:57 +0000 (16:28 +0100)]
s4:dsdb/repl/replicated_objects.c - proof if "talloc_reference" doesn't return NULL
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Dec 1 17:14:01 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Wed, 1 Dec 2010 15:22:15 +0000 (16:22 +0100)]
s4:dsdb/common/util.c - "samdb_msg_add_add/delval" - introduce also here the better memory context
"msg->elements" fits better than "msg".
Matthias Dieter Wallnöfer [Wed, 1 Dec 2010 15:19:17 +0000 (16:19 +0100)]
ldb:ldb_msg_add_value - fix here a wrong memory context
A value array allocation should belong to "msg->elements" not "msg" directly
Matthias Dieter Wallnöfer [Wed, 1 Dec 2010 15:15:56 +0000 (16:15 +0100)]
s4:ranged results LDB module - cosmetic - fix some indentation
Matthias Dieter Wallnöfer [Wed, 1 Dec 2010 15:14:01 +0000 (16:14 +0100)]
s4:ranged results LDB module - "rr_search_callback" - change some memory context
"el->values" could under some circumstances be NULL (see "if" above).
Björn Jacke [Wed, 1 Dec 2010 14:26:11 +0000 (15:26 +0100)]
s4/waf: add intl dependency for nss_winnbind
needed to fix a build issue on NetBSD and other platforms
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Wed Dec 1 16:15:19 CET 2010 on sn-devel-104
Kamen Mazdrashki [Tue, 30 Nov 2010 10:17:03 +0000 (12:17 +0200)]
s4-test/schema: Extend the test to replicate a Class with Attribute with "mayContain" relation
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104
Kamen Mazdrashki [Tue, 30 Nov 2010 10:15:53 +0000 (12:15 +0200)]
s4-dsdb/syntax: Map remote ATTIDs for Attribute OID syntax
Kamen Mazdrashki [Tue, 30 Nov 2010 10:13:16 +0000 (12:13 +0200)]
s4-dsdb/syntax: Implement Remote-ATTID to Local-ATTID mapping function
Kamen Mazdrashki [Mon, 29 Nov 2010 23:38:16 +0000 (01:38 +0200)]
s4-dreplsrv: Use working_schema when replicating from Schema NC
Schema is changed and it is quite possible we won't be able
to decode replicated objects using current Schema cache we have.
Thus, when replicating Schema, we will make a temporary Schema
cache, working_schema, so that we can fully decode objects
we recieve.
Kamen Mazdrashki [Mon, 29 Nov 2010 12:00:42 +0000 (14:00 +0200)]
s4-dsdb/schema: Implement multi-pass working schema creation function
It is heavily based on implementation in libnet_vampire_cb_apply_schema()
function, except that it actually creates a new copy of the supplied
initial_schema + resolving all incoming objects and add them to
supplied initial_schema.
We are going to need this 'working_schema' later so we are able
to fully resolve all objects we receive on wire during DRS replication.
Working schema created is to be used only as an index to search in.
It is not supposed to be set to an ldb_context as it doesn't
contain all information for classSchema and attributeSchema objects.
Kamen Mazdrashki [Mon, 29 Nov 2010 11:28:33 +0000 (13:28 +0200)]
s4-dsdb/schema: Add Schema shallow copy function
Kamen Mazdrashki [Mon, 29 Nov 2010 11:28:00 +0000 (13:28 +0200)]
s4-dsdb/prefixMap: Add prefixMap shallow copy function
Kamen Mazdrashki [Fri, 26 Nov 2010 00:38:39 +0000 (02:38 +0200)]
s4-repl: Let dsdb_replicated_objects_convert() to accept schema from caller
This allows us to use schema that is different than the one
set to 'ldb' to decode objects.
Kamen Mazdrashki [Wed, 1 Dec 2010 09:04:19 +0000 (11:04 +0200)]
s4-ranged_result.c: Fix memory context for ranged attributes handling
Pair-Programmed-With: Zahari Zahariev <zahari.zahariev@postpath.com>
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 1 11:45:48 CET 2010 on sn-devel-104