Jelmer Vernooij [Fri, 17 Dec 2010 21:23:52 +0000 (22:23 +0100)]
wafsamba: Use abi_match in version script files.
Jelmer Vernooij [Fri, 17 Dec 2010 20:53:42 +0000 (21:53 +0100)]
heimdal_build: Simplify HEIMDAL_LIBRARY - version_script files are now taken from upstream rather than generated.
Jelmer Vernooij [Fri, 17 Dec 2010 20:51:21 +0000 (21:51 +0100)]
heimdal_build: Add version-script for heimdal_base, hx509 and hcrypto. Convert hbase and hcrypto to libraries.
Kamen Mazdrashki [Fri, 17 Dec 2010 20:26:03 +0000 (22:26 +0200)]
s4-drepl: Reference current Schema cache into working_schema context
working_schema is a shallow copy of current schema and thus
depends on part of it. So we want it to be around as long as
working_schema is used.
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri Dec 17 23:34:29 CET 2010 on sn-devel-104
Kamen Mazdrashki [Fri, 17 Dec 2010 20:12:30 +0000 (22:12 +0200)]
s4-drepl: Fix log message to be shown on its own line
Jeremy Allison [Fri, 17 Dec 2010 00:50:31 +0000 (16:50 -0800)]
Move checks inside file_set_sparse() to allow it to be called from anywhere.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec 17 21:56:38 CET 2010 on sn-devel-104
Jeremy Allison [Fri, 17 Dec 2010 00:42:33 +0000 (16:42 -0800)]
file_set_sparse needs to be a handle based call.
Björn Jacke [Thu, 18 Nov 2010 16:24:00 +0000 (17:24 +0100)]
s3:smbd: implement FSCTL_SET_SPARSE more correctly
this is a port of a patch from metze for 3.3:
We don't do the "strict allocation" when the sparse bit isn't
set, but that shouldn't matter.
We now allow windows applications to set and unset the sparse
bit.
Note that in order to implement this 100% like described
in [MS-FSA], we'd have to change our data model and support
the sparse flag per stream.
Jeremy Allison [Fri, 17 Dec 2010 18:22:58 +0000 (10:22 -0800)]
Update our attribute flags.
Björn Jacke [Tue, 14 Dec 2010 09:03:07 +0000 (10:03 +0100)]
s3:smbd: add file_set_sparse() function
this is based on a patch for 3.3 from metze
Björn Jacke [Thu, 18 Nov 2010 16:22:31 +0000 (17:22 +0100)]
s3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, too
Björn Jacke [Thu, 18 Nov 2010 16:03:01 +0000 (17:03 +0100)]
s3: remove set_sparse_flag
we need to determine sparseness from the sparse flag we store not from the
allocation size on the POSIX filesystem. This is how Windows works - in the
first place sparseness is a file flag, not the allocation state of the file
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Björn Jacke [Thu, 18 Nov 2010 15:04:03 +0000 (16:04 +0100)]
s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags
Jelmer Vernooij [Fri, 17 Dec 2010 19:11:15 +0000 (20:11 +0100)]
heimdal_build: Add version-script for krb5.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 17 21:09:25 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 17 Dec 2010 19:08:11 +0000 (20:08 +0100)]
heimdal_build: Add version-script for gssapi.
Jelmer Vernooij [Fri, 17 Dec 2010 19:06:15 +0000 (20:06 +0100)]
heimdal_build: Add version-script for asn1.
Jelmer Vernooij [Fri, 17 Dec 2010 19:01:21 +0000 (20:01 +0100)]
heimdal_build: Add version-script for hdb.
Jelmer Vernooij [Fri, 17 Dec 2010 19:00:58 +0000 (20:00 +0100)]
heimdal_build: Add version-script for kdc.
Jelmer Vernooij [Fri, 17 Dec 2010 18:55:54 +0000 (19:55 +0100)]
heimdal_build: Add version-script for wind.
Jelmer Vernooij [Fri, 17 Dec 2010 18:54:09 +0000 (19:54 +0100)]
heimdal_build: Add version-script for ntlm.
Jelmer Vernooij [Fri, 17 Dec 2010 18:52:42 +0000 (19:52 +0100)]
heimdal: Add version script file for hcrypto (unused so far, as hcrypto still needs to be made a proper library).
Jelmer Vernooij [Fri, 17 Dec 2010 18:51:37 +0000 (19:51 +0100)]
heimdal_build: Add version-script for roken.
Jelmer Vernooij [Fri, 17 Dec 2010 18:50:52 +0000 (19:50 +0100)]
heimdal_build: Add version-script for com_err.
Jelmer Vernooij [Fri, 17 Dec 2010 18:38:12 +0000 (19:38 +0100)]
wafsamba: Specify full vscript path so non-autogenerated files are possible, too.
Jelmer Vernooij [Fri, 17 Dec 2010 18:21:58 +0000 (19:21 +0100)]
heimdal_build: Simplify version_script handling.
Jelmer Vernooij [Fri, 17 Dec 2010 18:21:47 +0000 (19:21 +0100)]
wafsamba: Don't build vscript for modules.
Jelmer Vernooij [Fri, 17 Dec 2010 18:16:33 +0000 (19:16 +0100)]
wafsamba: Move version script handling out of SAMBA_LIBRARY.
Jelmer Vernooij [Fri, 17 Dec 2010 17:47:05 +0000 (18:47 +0100)]
Simplify link installation.
Jelmer Vernooij [Fri, 17 Dec 2010 17:42:34 +0000 (18:42 +0100)]
heimdal_build: Simplify library handling.
Günther Deschner [Thu, 16 Dec 2010 15:06:02 +0000 (16:06 +0100)]
s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
Günther Deschner [Wed, 15 Dec 2010 16:44:56 +0000 (17:44 +0100)]
s4-smbtorture: check if returned driver paths match requested architecture.
Guenther
Stefan Metzmacher [Thu, 16 Dec 2010 11:07:24 +0000 (12:07 +0100)]
s3:net ads dns register: use "cluster addresses" option if configured (bug #7871)
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 17 16:49:14 CET 2010 on sn-devel-104
Michael Adam [Thu, 16 Dec 2010 00:49:14 +0000 (01:49 +0100)]
s3:net ads dns register: add support for specifying addresse on the commandline (bug #7871)
In the clustering case, this is also made the only possiblity to do dns updates,
since the list addresses on the local interfaces is not suitable in that case.
This fixes the "net ads dns register" part of bug #7871.
It might be extended by a parsing of the "cluster addresses" setting.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Michael Adam [Wed, 15 Dec 2010 23:52:41 +0000 (00:52 +0100)]
s3:net: add net_update_dns_ext() that accepts a list of addresses as parameter (bug# 7871)
This generalized form of net_update_dns() will be used to
add support for specifying a list of addresses on the commandline
of "net ads dns register".
This prepares the "net ads dns register" part of the fix for bug #7871.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Michael Adam [Wed, 1 Dec 2010 23:42:21 +0000 (00:42 +0100)]
s3:net: disable dynamic dns updates at the end of "net ads join" in a cluster (bug #7871)
In a clustered environment, registering the set of ip addresses that are
assigned to the interfaces of the node that performs the join does usually
not have the desired effect, since the local interfaces do not carry
complete set of the cluster's public IP addresses. And it can also contain
internal addresses that should not be visible to the outside at all.
In order to do dns updates in a clustererd setup, use net ads dns register.
This fixes the net ads join part of bug #7871.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Michael Adam [Wed, 15 Dec 2010 23:24:00 +0000 (00:24 +0100)]
util_net: fix a comment typo in interpret_string_addr_internal()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Günther Deschner [Fri, 17 Dec 2010 11:47:13 +0000 (12:47 +0100)]
libcli/security: remove unused variable.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 17 13:56:27 CET 2010 on sn-devel-104
Günther Deschner [Thu, 16 Dec 2010 14:59:19 +0000 (15:59 +0100)]
s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.
Guenther
Günther Deschner [Thu, 16 Dec 2010 15:01:51 +0000 (16:01 +0100)]
s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
Günther Deschner [Thu, 16 Dec 2010 10:58:36 +0000 (11:58 +0100)]
s4-smbtorture: skipping level 8 driveradds against w2k3.
Guenther
Günther Deschner [Wed, 15 Dec 2010 16:44:23 +0000 (17:44 +0100)]
s4-smbtorture: add torture_assert_strn_equal macro.
Guenther
Günther Deschner [Thu, 16 Dec 2010 11:40:47 +0000 (12:40 +0100)]
s3-net: fix net sid type build warning.
Guenther
Björn Jacke [Fri, 17 Dec 2010 00:00:49 +0000 (01:00 +0100)]
s3/net: tz argument should be NULL of course
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Fri Dec 17 01:48:40 CET 2010 on sn-devel-104
Jeremy Allison [Thu, 16 Dec 2010 21:52:59 +0000 (13:52 -0800)]
Do more vfs_stat_fsp calls instead of FSTAT - ensures fsp->fsp_name->st is kept up to date.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec 16 23:41:06 CET 2010 on sn-devel-104
Günther Deschner [Wed, 15 Dec 2010 14:39:47 +0000 (15:39 +0100)]
s4-waf: nsstest only needs replace.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Dec 16 11:40:52 CET 2010 on sn-devel-104
Günther Deschner [Mon, 4 Oct 2010 13:03:08 +0000 (15:03 +0200)]
spoolss: fill in PerMachineConnections add and delete IDL.
Guenther
Andrew Bartlett [Thu, 16 Dec 2010 04:51:55 +0000 (15:51 +1100)]
s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later
We need to make LDB consistent here (indexed vs unindexed behaviour
differs here!), but for the moment this is the easiest way out of a
segfault.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Dec 16 06:42:56 CET 2010 on sn-devel-104
Andrew Bartlett [Wed, 15 Dec 2010 04:48:00 +0000 (15:48 +1100)]
s4-dsdb Use sid_blob_parse()
Andrew Bartlett [Wed, 15 Dec 2010 04:47:01 +0000 (15:47 +1100)]
libcli/security Add sid_blob_parse() to directly parse a binary SID blob
Zahari Zahariev [Mon, 13 Dec 2010 16:14:51 +0000 (18:14 +0200)]
Typos in wintest
Jeremy Allison [Thu, 16 Dec 2010 00:49:04 +0000 (16:49 -0800)]
Fix old bug in openX code, exposed when "strict allocate" is set to true.
We need to return the file size here, not the allocation size, but
we were not updating the stat struct after the vfs_set_filesize()
call. Ensure we always use fresh data in openX replies.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec 16 02:37:58 CET 2010 on sn-devel-104
Jeremy Allison [Wed, 15 Dec 2010 21:32:09 +0000 (13:32 -0800)]
Change strict allocate to default to true. (cherry picked from commit
820ea22a07b062b1717d35de8fa7051fc1067c3f)
Nadezhda Ivanova [Wed, 15 Dec 2010 19:29:53 +0000 (21:29 +0200)]
s4-tests: Added a speedtest for LDAP search operations with different accounts.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
Nadezhda Ivanova [Wed, 15 Dec 2010 19:28:59 +0000 (21:28 +0200)]
s4-tests: Added tests for LDAP add/delete/modify using anonymous login.
Nadezhda Ivanova [Wed, 15 Dec 2010 19:28:12 +0000 (21:28 +0200)]
s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.
Jeremy Allison [Wed, 15 Dec 2010 18:57:23 +0000 (10:57 -0800)]
Fix bug 7866 - "net" in v3-6-test broken.
Someone wasn't careful about testing when not running as root :-).
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 15 20:45:25 CET 2010 on sn-devel-104
Jelmer Vernooij [Wed, 15 Dec 2010 16:29:59 +0000 (17:29 +0100)]
ldb: Bump API after symbol changes.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 15 18:18:52 CET 2010 on sn-devel-104
Jelmer Vernooij [Wed, 15 Dec 2010 15:47:46 +0000 (16:47 +0100)]
ldb: Build modules as .so files.
Jelmer Vernooij [Wed, 15 Dec 2010 15:40:59 +0000 (16:40 +0100)]
join: Properly cancel transaction on exceptions.
Jelmer Vernooij [Wed, 15 Dec 2010 13:57:43 +0000 (14:57 +0100)]
Move get_loadparm() and get_credentials() to samba.tests.TestCase.
Stefan Metzmacher [Mon, 6 Sep 2010 15:31:15 +0000 (17:31 +0200)]
s3:rpc_client: implement rpc_transport_np_init() on top of rpc_transport_tstream_init()
This also makes use of tstream_cli_np_open() to get the tstream.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
Stefan Metzmacher [Mon, 6 Sep 2010 15:31:27 +0000 (17:31 +0200)]
s3:rpc_client: implement rpc_transport_sock_init() on top of rpc_transport_tstream_init()
metze
Stefan Metzmacher [Tue, 14 Dec 2010 17:20:25 +0000 (18:20 +0100)]
s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreams
metze
Stefan Metzmacher [Tue, 14 Dec 2010 17:19:14 +0000 (18:19 +0100)]
s3:rpc_client/rpc_transport_tstream: timeout should be unsigned int
metze
Stefan Metzmacher [Tue, 22 Jun 2010 22:01:45 +0000 (18:01 -0400)]
s3:rpc_client: let rpc_transport_tstream_init() create read and write queue
metze
Stefan Metzmacher [Tue, 14 Dec 2010 17:18:13 +0000 (18:18 +0100)]
s3:libsmb: add tstream_cli_np_get_cli_state()
metze
Stefan Metzmacher [Tue, 14 Dec 2010 17:17:45 +0000 (18:17 +0100)]
s3:libsmb: add tstream_cli_np_set_timeout()
metze
Stefan Metzmacher [Sat, 4 Sep 2010 09:01:55 +0000 (11:01 +0200)]
s3:libsmb: add tstream_cli_np_use_trans() and the needed logic
tstream_cli_np_use_trans() defers the next tstream_writev
to the next tstream_readv and send both as an SMBtrans request.
metze
Stefan Metzmacher [Sat, 4 Sep 2010 09:00:31 +0000 (11:00 +0200)]
s3:libsmb: add tstream_is_cli_np()
metze
Stefan Metzmacher [Thu, 12 Aug 2010 10:00:15 +0000 (12:00 +0200)]
s3:libsmb: add cli_np_tstream.c
This abstracts a named pipe over smb as a tstream,
which will make it easier to implement the dcerpc
layer in a more generic way.
metze
Kamen Mazdrashki [Wed, 15 Dec 2010 13:16:54 +0000 (15:16 +0200)]
s4-dsdb/tests/python: Explicitly pass comamnd line LoadParm() instance to system_session()
Otherwise system_session() creates a LoadParm() instance
which resets certain global parameters to their defaults
from smb.conf ("log level" for instance)
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 15 15:10:47 CET 2010 on sn-devel-104
Andrew Tridgell [Wed, 15 Dec 2010 10:46:05 +0000 (21:46 +1100)]
s4-dns: implemented parsing and storing of DNS records from bind
DNS updates from nsupdate against our ldb SAM now work
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Dec 15 12:36:46 CET 2010 on sn-devel-104
Andrew Tridgell [Wed, 15 Dec 2010 04:02:09 +0000 (15:02 +1100)]
s4-dns: added basic DLZ writeable support to dlz_bind9
this implements the expanded DLZ update driver API, allowing for bind9
to send dynamic updates to the Samba DLZ driver.
This change also adds support for exporting all DNS zones in the SAM
database, which also means we now correctly separate the _msdcs zone
from the main zone.
Andrew Tridgell [Wed, 15 Dec 2010 03:59:47 +0000 (14:59 +1100)]
waf: fixed re-running of build rules
the addition of ldflags deps caused us to re-run the build rules every
time.
Günther Deschner [Wed, 15 Dec 2010 09:21:16 +0000 (10:21 +0100)]
s3-waf: use shared libwbclient wscript_build.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104
Günther Deschner [Wed, 15 Dec 2010 09:11:34 +0000 (10:11 +0100)]
s3-waf: fix winbind-client subsystem.
Guenther
Günther Deschner [Wed, 15 Dec 2010 09:04:34 +0000 (10:04 +0100)]
s3-waf: add libkrb5 winbind locator plugin.
Guenther
Günther Deschner [Tue, 14 Dec 2010 23:33:21 +0000 (00:33 +0100)]
s3-waf: rework rpc_server handling a bit.
Guenther
Matthieu Patou [Wed, 15 Dec 2010 09:06:53 +0000 (12:06 +0300)]
build: openbsd plateform is openbsd4
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Dec 15 10:55:08 CET 2010 on sn-devel-104
Matthieu Patou [Wed, 15 Dec 2010 08:33:02 +0000 (11:33 +0300)]
build: hpux didn't support -Bdynamic
Jeremy Allison [Wed, 15 Dec 2010 01:35:29 +0000 (17:35 -0800)]
Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 15 03:26:43 CET 2010 on sn-devel-104
Jeremy Allison [Tue, 14 Dec 2010 21:36:08 +0000 (13:36 -0800)]
Implement "use sendfile = yes" for SMB2. (cherry picked from commit
95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
Jeremy Allison [Tue, 14 Dec 2010 23:30:06 +0000 (15:30 -0800)]
Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for non-blocking sockets.
Jeremy Allison [Wed, 15 Dec 2010 00:32:10 +0000 (16:32 -0800)]
Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.
Change smb2_read code to allocate return DATA_BLOB just before the read.
Preparing for SMB2 sendfile change which will not need to allocate
return buffer.
Jeremy
Kamen Mazdrashki [Tue, 14 Dec 2010 22:24:23 +0000 (00:24 +0200)]
s4-test/repl_schema: remove unused and commented out code
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
Kamen Mazdrashki [Mon, 13 Dec 2010 18:15:26 +0000 (20:15 +0200)]
s4-test/repl_schema: Make sure every object is with unique name
This way, test writer don't have to be careful to choose
unique objects suffix
Kamen Mazdrashki [Fri, 10 Dec 2010 23:59:05 +0000 (01:59 +0200)]
s4-dsdb_schema: Handle remote ATTIDs based on msDs-IntId value
If we get such an msDs-IntId value, then we should just use it,
there is no mapping available for such values
Kamen Mazdrashki [Fri, 10 Dec 2010 02:22:58 +0000 (04:22 +0200)]
s4-schema_syntax: Log error message when _dsdb_syntax_OID_oid_drsuapi_to_ldb() fails
I haven't found a way to test this function during replication so far,
but when I do, it will be useful to notice this error in the log file
Kamen Mazdrashki [Fri, 10 Dec 2010 02:17:09 +0000 (04:17 +0200)]
s4-drepl: We won't need a working schema for empty replicas sent.
Without this check, receiving empty replica leads to a situation
where we left with a working_schema attached to the ldb.
The problem here is that working_schema is not fully functional
schema cache and keeping it attached to the ldb may lead
to modules failing to accomplish their jobs
Kamen Mazdrashki [Fri, 10 Dec 2010 02:08:58 +0000 (04:08 +0200)]
s4-dsdb_schema: We need base_dn in Schema's shallow copy too
Kamen Mazdrashki [Fri, 10 Dec 2010 02:03:00 +0000 (04:03 +0200)]
s4-schema_syntax: We should use make_ATTID function when converting remote-ATTID to local one
We may have no prefix for the remote ATTID (remote OID strictly speaking)
So this is the place for us to update our local prefixMap
adding a prefix for the numeric OID we've recived
Kamen Mazdrashki [Fri, 10 Dec 2010 01:55:24 +0000 (03:55 +0200)]
s4-drepl: User working schema for commiting objects when replicating Schema NC
Kamen Mazdrashki [Fri, 10 Dec 2010 00:55:30 +0000 (02:55 +0200)]
s4-repl: Allow dsdb_replicated_objects_commit() to use different schema while committing objects
working_schema is to be used while committing a Schema replica.
When we replicate Schema, then we most probably won't be
able to convert all replicated objects using the current
Schema cache (as we don't know anything about those new objects).
Thus, during Schema replication, we make a temporary
working_schema that contains both our current Schema +
all objects we get on the wire.
When we commit those new objects, we should use our working_schema
(by setting it to the ldb), and after all changes are commited,
we can refresh the schema cache so we have a brand new,
full-featured Schema cache
Kamen Mazdrashki [Thu, 9 Dec 2010 02:45:17 +0000 (04:45 +0200)]
s4-schema_syntax: Use remote prefixMap to map remote ATTID to local one
in dsdb_attribute_drsuapi_to_ldb() function.
drsuapi_DsReplicaAttribute *in parameter come from remote DC
so we can't rely on in->attid to map it directly to an
dsdb_attribute in our local schema cache
Kamen Mazdrashki [Thu, 9 Dec 2010 02:57:08 +0000 (04:57 +0200)]
s4-test/repl_schema: use 'top' as default base class for our test classSchema objects
Otherwise we will end up passing whole inheritance chain
every time we create some new fancy classSchema object
(as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
Kamen Mazdrashki [Thu, 9 Dec 2010 02:42:13 +0000 (04:42 +0200)]
s4-test/repl_schema: New test to test a classSchema with custom attribute
Create new Attribute and a Class,
that has value for newly created attribute.
This should check code path that searches for
AttributeID_id in Schema cacheThis test.
It also tests how we replicate a leaf classSchema that
inherits from a new classSchema with attribute added
- tests both dsdb_attribute_drsuapi_to_ldb() and
_dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
Kamen Mazdrashki [Thu, 9 Dec 2010 02:31:14 +0000 (04:31 +0200)]
s4-dsdb_schema: Seize using global_schema when referencing new schema for an LDB
Without this change, when a schema is set to ldb, the
effect is that dsdb_get_schema() returns global_schema
preferably.
Thus we end up with two schemas in effect:
- global one, which is the old one and it is still used everywhere
- new one, which is just cached in ldb, but can't be used, as
there is no way to access it
Günther Deschner [Tue, 14 Dec 2010 21:54:01 +0000 (22:54 +0100)]
s3-waf: libwbclient does not depend on talloc anymore.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 15 00:50:08 CET 2010 on sn-devel-104
Günther Deschner [Tue, 14 Dec 2010 21:18:43 +0000 (22:18 +0100)]
s3-waf: add missing libnss_wins.so.2 library.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 14 23:29:25 CET 2010 on sn-devel-104
Günther Deschner [Tue, 14 Dec 2010 21:09:44 +0000 (22:09 +0100)]
s3-waf: recurse into ../libcli/ldap.
Guenther