samba.git
9 years agoMove wbc_async.[ch] to its only user: smbtorture3
Volker Lendecke [Wed, 8 Dec 2010 19:11:46 +0000 (20:11 +0100)]
Move wbc_async.[ch] to its only user: smbtorture3

9 years agolibwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h
Volker Lendecke [Wed, 8 Dec 2010 19:06:03 +0000 (20:06 +0100)]
libwbclient: Put the wb_reqtrans definitions into wb_reqtrans.h

9 years agos3: wcache_invalidate_samlogon only needs the SID
Volker Lendecke [Sat, 11 Dec 2010 13:27:54 +0000 (14:27 +0100)]
s3: wcache_invalidate_samlogon only needs the SID

9 years agos3: netsamlogon_clear_cached_user only needs the SID
Volker Lendecke [Sat, 11 Dec 2010 13:19:50 +0000 (14:19 +0100)]
s3: netsamlogon_clear_cached_user only needs the SID

9 years agos3: Remove two pointless slprintf calls
Volker Lendecke [Sat, 11 Dec 2010 13:16:51 +0000 (14:16 +0100)]
s3: Remove two pointless slprintf calls

9 years agos3: FreeBSD has getpeereid(), use it
Volker Lendecke [Fri, 10 Dec 2010 22:02:19 +0000 (23:02 +0100)]
s3: FreeBSD has getpeereid(), use it

9 years agos3: Reply correctly to FSCTL_IS_VOLUME_DIRTY
Volker Lendecke [Fri, 10 Dec 2010 15:48:19 +0000 (08:48 -0700)]
s3: Reply correctly to FSCTL_IS_VOLUME_DIRTY

9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Fri, 10 Dec 2010 18:59:06 +0000 (19:59 +0100)]
s3: Fix some nonempty blank lines

9 years agos3: Did I say this module is from hell?
Volker Lendecke [Tue, 7 Dec 2010 13:40:13 +0000 (14:40 +0100)]
s3: Did I say this module is from hell?

9 years agos3: re-add some debugs to check_reduced_name
Volker Lendecke [Tue, 30 Nov 2010 17:21:46 +0000 (18:21 +0100)]
s3: re-add some debugs to check_reduced_name

9 years agos3: Fix some typos
Volker Lendecke [Mon, 6 Dec 2010 13:05:49 +0000 (14:05 +0100)]
s3: Fix some typos

9 years agos3: Document wbinfo -P/--ping-dc
Volker Lendecke [Sat, 4 Dec 2010 17:47:56 +0000 (18:47 +0100)]
s3: Document wbinfo -P/--ping-dc

9 years agos3: Add -P as an alias for --ping-dc
Volker Lendecke [Sat, 4 Dec 2010 17:43:27 +0000 (18:43 +0100)]
s3: Add -P as an alias for --ping-dc

This is a much less intrusive version of the DC connectivity check
than wbinfo -t is. Make it simple to use.

9 years agos3: Fix serverid_exists
Volker Lendecke [Fri, 3 Dec 2010 08:34:02 +0000 (01:34 -0700)]
s3: Fix serverid_exists

In the cluster case it can happen that a node just died and we did not yet have
the time to clean up serverid.tdb. If the corresponding serverid.tdb record
that represented a process was migrated away from the dead record, it
represents existence of a process where it is already dead.

9 years agoheimdal: Fix build if using system roken.
Jelmer Vernooij [Sun, 19 Dec 2010 17:34:22 +0000 (18:34 +0100)]
heimdal: Fix build if using system roken.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 19 22:29:41 CET 2010 on sn-devel-104

9 years agoldb: Bump version after renaming some public symbols which didn't have a
Jelmer Vernooij [Sun, 19 Dec 2010 17:29:12 +0000 (18:29 +0100)]
ldb: Bump version after renaming some public symbols which didn't have a
ldb_ prefix.

9 years agodcesrv_srvsvc: Use constants.
Jelmer Vernooij [Sun, 19 Dec 2010 17:10:29 +0000 (18:10 +0100)]
dcesrv_srvsvc: Use constants.

9 years agoRename vfs operation posix_fallocate to just fallocate and add the vfs_fallocate_mode...
Jeremy Allison [Sat, 18 Dec 2010 07:08:01 +0000 (23:08 -0800)]
Rename vfs operation posix_fallocate to just fallocate and add the vfs_fallocate_mode parameter.

It turns out we need the fallocate operations to be able to both
allocate and extend filesize, and to allocate and not extend
filesize, and posix_fallocate can only do the former. So by defining
the vfs op as posix_fallocate we lose the opportunity to use any
underlying syscalls (like Linux fallocate) that can do the latter
as well.

We don't currently use the non-extending filesize call, but now
I've changed the vfs op definition we can in the future. For the
moment simply map the fallocate op onto posix_fallocate for the
VFS_FALLOCATE_EXTEND_SIZE case and return ENOSYS for the
VFS_FALLOCATE_KEEP_SIZE case.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec 18 08:59:27 CET 2010 on sn-devel-104

9 years agos4-drepl: During Schema replication, we need to save updated prefixMap if everything...
Kamen Mazdrashki [Sat, 18 Dec 2010 03:30:08 +0000 (05:30 +0200)]
s4-drepl: During Schema replication, we need to save updated prefixMap if everything is OK

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sat Dec 18 05:53:48 CET 2010 on sn-devel-104

9 years agos4-dsdb_schema: Copy info needed for Schema refresh in dsdb_schema_copy_shallow
Kamen Mazdrashki [Sat, 18 Dec 2010 03:29:20 +0000 (05:29 +0200)]
s4-dsdb_schema: Copy info needed for Schema refresh in dsdb_schema_copy_shallow

Just 'refresh_fn' and 'loaded_from_module' are copied.
I left 'reload_seq_number' set to 0 intentionally, so that
this Schema cache will looks like a very old one to ,refresh_fn'.
This way, if this shallow copy is attached to LDB, it will be
refreshed as soon as possible by 'refresh_fn'.

9 years agos4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute value
Kamen Mazdrashki [Sat, 18 Dec 2010 03:21:09 +0000 (05:21 +0200)]
s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute value

9 years agos4-drepl: Make refreshed schema a global one
Kamen Mazdrashki [Thu, 16 Dec 2010 20:31:28 +0000 (22:31 +0200)]
s4-drepl: Make refreshed schema a global one

We need to do this as dsdb_reference_schema() function
clears "use_global_schema" ldb flag.

Basically what is going to happen is that after dsdb_reference_schema()
global_schema pointer will continue to point at old schema cache,
while "dsdb_schema" for LDB will point at the working_schema.

After replication is done, we reset "dsdb_schema" for the ldb
with an updated Schema cache, but this leaves global_schema pointer
with its old value, which is not up to date.
So we need to call dsdb_make_schema_global() again so that global_schema
points to a valid Schema cache.

9 years agopyrpc: Add prototype for init function.
Jelmer Vernooij [Fri, 17 Dec 2010 21:17:33 +0000 (22:17 +0100)]
pyrpc: Add prototype for init function.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104

9 years agopyglue: Add prototype for init function.
Jelmer Vernooij [Fri, 17 Dec 2010 21:17:25 +0000 (22:17 +0100)]
pyglue: Add prototype for init function.

9 years agopidl: Add prototype for init function in pidl-generated Python bindings.
Jelmer Vernooij [Fri, 17 Dec 2010 20:58:16 +0000 (21:58 +0100)]
pidl: Add prototype for init function in pidl-generated Python bindings.

9 years agoRevert "s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later"
Andrew Bartlett [Thu, 16 Dec 2010 21:43:33 +0000 (08:43 +1100)]
Revert "s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later"

This reverts commit 25163380239abbad28f1656c42e6fab1b92473d9 because
further analyis showed the real problem was introduced in 0941099a
(which changed the caller behaviour, but only for indexed searches).

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Dec 18 02:19:59 CET 2010 on sn-devel-104

9 years agolib/ldb Remove talloc_free() that causes double-free in callbacks.
Andrew Bartlett [Thu, 16 Dec 2010 11:28:45 +0000 (22:28 +1100)]
lib/ldb Remove talloc_free() that causes double-free in callbacks.

This partially reverts 0941099a, which was a little over-eager in
fixing what were presumed to be memory leaks.

It is always the callbacks responsiblity to free the ares, but if they
don't then the end of the request should handle the cleanup.
Attempting to talloc_free() here will result (as it did in the
descriptor module) in a double-free error if the callback does free
it, and no other caller of ldb_module_send_entry() has this behaviour.

Andrew Bartlett

9 years agoldb: Rename controls_except_specified -> ldb_controls_except_specified.
Jelmer Vernooij [Fri, 17 Dec 2010 23:43:24 +0000 (00:43 +0100)]
ldb: Rename controls_except_specified -> ldb_controls_except_specified.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 18 01:33:24 CET 2010 on sn-devel-104

9 years agoldb_map: Fix prefix for map functions.
Jelmer Vernooij [Fri, 17 Dec 2010 23:30:22 +0000 (00:30 +0100)]
ldb_map: Fix prefix for map functions.

9 years agoldb: Rename last instance of save_controls -> ldb_save_controls.
Jelmer Vernooij [Fri, 17 Dec 2010 23:12:17 +0000 (00:12 +0100)]
ldb: Rename last instance of save_controls -> ldb_save_controls.

9 years agoldb: Add prototype for ldb_init_module.
Jelmer Vernooij [Fri, 17 Dec 2010 23:11:36 +0000 (00:11 +0100)]
ldb: Add prototype for ldb_init_module.

9 years agoldb: Rename two exported functions so they match abi_match.
Jelmer Vernooij [Fri, 17 Dec 2010 22:00:46 +0000 (23:00 +0100)]
ldb: Rename two exported functions so they match abi_match.

9 years agopidl: Use system pytalloc if possible.
Jelmer Vernooij [Fri, 17 Dec 2010 22:00:31 +0000 (23:00 +0100)]
pidl: Use system pytalloc if possible.

9 years agoAdd bzrignore symlink.
Jelmer Vernooij [Fri, 17 Dec 2010 21:37:04 +0000 (22:37 +0100)]
Add bzrignore symlink.

9 years agowafsamba: Use abi_match in version script files.
Jelmer Vernooij [Fri, 17 Dec 2010 21:23:52 +0000 (22:23 +0100)]
wafsamba: Use abi_match in version script files.

9 years agoheimdal_build: Simplify HEIMDAL_LIBRARY - version_script files are now taken from...
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.

9 years agoheimdal_build: Add version-script for heimdal_base, hx509 and hcrypto. Convert hbase...
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.

9 years agos4-drepl: Reference current Schema cache into working_schema context
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

9 years agos4-drepl: Fix log message to be shown on its own line
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

9 years agoMove checks inside file_set_sparse() to allow it to be called from anywhere.
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

9 years agofile_set_sparse needs to be a handle based call.
Jeremy Allison [Fri, 17 Dec 2010 00:42:33 +0000 (16:42 -0800)]
file_set_sparse needs to be a handle based call.

9 years agos3:smbd: implement FSCTL_SET_SPARSE more correctly
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.

9 years agoUpdate our attribute flags.
Jeremy Allison [Fri, 17 Dec 2010 18:22:58 +0000 (10:22 -0800)]
Update our attribute flags.

9 years agos3:smbd: add file_set_sparse() function
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

9 years agos3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, too
Björn Jacke [Thu, 18 Nov 2010 16:22:31 +0000 (17:22 +0100)]
s3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, too

9 years agos3: remove set_sparse_flag
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>
9 years agos3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags
Björn Jacke [Thu, 18 Nov 2010 15:04:03 +0000 (16:04 +0100)]
s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags

9 years agoheimdal_build: Add version-script for krb5.
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

9 years agoheimdal_build: Add version-script for gssapi.
Jelmer Vernooij [Fri, 17 Dec 2010 19:08:11 +0000 (20:08 +0100)]
heimdal_build: Add version-script for gssapi.

9 years agoheimdal_build: Add version-script for asn1.
Jelmer Vernooij [Fri, 17 Dec 2010 19:06:15 +0000 (20:06 +0100)]
heimdal_build: Add version-script for asn1.

9 years agoheimdal_build: Add version-script for hdb.
Jelmer Vernooij [Fri, 17 Dec 2010 19:01:21 +0000 (20:01 +0100)]
heimdal_build: Add version-script for hdb.

9 years agoheimdal_build: Add version-script for kdc.
Jelmer Vernooij [Fri, 17 Dec 2010 19:00:58 +0000 (20:00 +0100)]
heimdal_build: Add version-script for kdc.

9 years agoheimdal_build: Add version-script for wind.
Jelmer Vernooij [Fri, 17 Dec 2010 18:55:54 +0000 (19:55 +0100)]
heimdal_build: Add version-script for wind.

9 years agoheimdal_build: Add version-script for ntlm.
Jelmer Vernooij [Fri, 17 Dec 2010 18:54:09 +0000 (19:54 +0100)]
heimdal_build: Add version-script for ntlm.

9 years agoheimdal: Add version script file for hcrypto (unused so far, as hcrypto still needs...
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).

9 years agoheimdal_build: Add version-script for roken.
Jelmer Vernooij [Fri, 17 Dec 2010 18:51:37 +0000 (19:51 +0100)]
heimdal_build: Add version-script for roken.

9 years agoheimdal_build: Add version-script for com_err.
Jelmer Vernooij [Fri, 17 Dec 2010 18:50:52 +0000 (19:50 +0100)]
heimdal_build: Add version-script for com_err.

9 years agowafsamba: Specify full vscript path so non-autogenerated files are possible, too.
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.

9 years agoheimdal_build: Simplify version_script handling.
Jelmer Vernooij [Fri, 17 Dec 2010 18:21:58 +0000 (19:21 +0100)]
heimdal_build: Simplify version_script handling.

9 years agowafsamba: Don't build vscript for modules.
Jelmer Vernooij [Fri, 17 Dec 2010 18:21:47 +0000 (19:21 +0100)]
wafsamba: Don't build vscript for modules.

9 years agowafsamba: Move version script handling out of SAMBA_LIBRARY.
Jelmer Vernooij [Fri, 17 Dec 2010 18:16:33 +0000 (19:16 +0100)]
wafsamba: Move version script handling out of SAMBA_LIBRARY.

9 years agoSimplify link installation.
Jelmer Vernooij [Fri, 17 Dec 2010 17:47:05 +0000 (18:47 +0100)]
Simplify link installation.

9 years agoheimdal_build: Simplify library handling.
Jelmer Vernooij [Fri, 17 Dec 2010 17:42:34 +0000 (18:42 +0100)]
heimdal_build: Simplify library handling.

9 years agos4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.
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

9 years agos4-smbtorture: check if returned driver paths match requested architecture.
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

9 years agos3:net ads dns register: use "cluster addresses" option if configured (bug #7871)
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

9 years agos3:net ads dns register: add support for specifying addresse on the commandline ...
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>
9 years agos3:net: add net_update_dns_ext() that accepts a list of addresses as parameter (bug...
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>
9 years agos3:net: disable dynamic dns updates at the end of "net ads join" in a cluster (bug...
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>
9 years agoutil_net: fix a comment typo in interpret_string_addr_internal()
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>
9 years agolibcli/security: remove unused variable.
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

9 years agos4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.
Günther Deschner [Thu, 16 Dec 2010 14:59:19 +0000 (15:59 +0100)]
s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.

Guenther

9 years agos4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.
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

9 years agos4-smbtorture: skipping level 8 driveradds against w2k3.
Günther Deschner [Thu, 16 Dec 2010 10:58:36 +0000 (11:58 +0100)]
s4-smbtorture: skipping level 8 driveradds against w2k3.

Guenther

9 years agos4-smbtorture: add torture_assert_strn_equal macro.
Günther Deschner [Wed, 15 Dec 2010 16:44:23 +0000 (17:44 +0100)]
s4-smbtorture: add torture_assert_strn_equal macro.

Guenther

9 years agos3-net: fix net sid type build warning.
Günther Deschner [Thu, 16 Dec 2010 11:40:47 +0000 (12:40 +0100)]
s3-net: fix net sid type build warning.

Guenther

9 years agos3/net: tz argument should be NULL of course
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

9 years agoDo more vfs_stat_fsp calls instead of FSTAT - ensures fsp->fsp_name->st is kept up...
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

9 years agos4-waf: nsstest only needs replace.
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

9 years agospoolss: fill in PerMachineConnections add and delete IDL.
Günther Deschner [Mon, 4 Oct 2010 13:03:08 +0000 (15:03 +0200)]
spoolss: fill in PerMachineConnections add and delete IDL.

Guenther

9 years agos4-dsdb Don't talloc_free() ares on failure, as LDB might free it later
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

9 years agos4-dsdb Use sid_blob_parse()
Andrew Bartlett [Wed, 15 Dec 2010 04:48:00 +0000 (15:48 +1100)]
s4-dsdb Use sid_blob_parse()

9 years agolibcli/security Add sid_blob_parse() to directly parse a binary SID blob
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

9 years agoTypos in wintest
Zahari Zahariev [Mon, 13 Dec 2010 16:14:51 +0000 (18:14 +0200)]
Typos in wintest

9 years agoFix old bug in openX code, exposed when "strict allocate" is set to true.
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

9 years agoChange strict allocate to default to true. (cherry picked from commit 820ea22a07b062b...
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)

9 years agos4-tests: Added a speedtest for LDAP search operations with different accounts.
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

9 years agos4-tests: Added tests for LDAP add/delete/modify using anonymous login.
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.

9 years agos4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.
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.

9 years agoFix bug 7866 - "net" in v3-6-test broken.
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

9 years agoldb: Bump API after symbol changes.
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

9 years agoldb: Build modules as .so files.
Jelmer Vernooij [Wed, 15 Dec 2010 15:47:46 +0000 (16:47 +0100)]
ldb: Build modules as .so files.

9 years agojoin: Properly cancel transaction on exceptions.
Jelmer Vernooij [Wed, 15 Dec 2010 15:40:59 +0000 (16:40 +0100)]
join: Properly cancel transaction on exceptions.

9 years agoMove get_loadparm() and get_credentials() to samba.tests.TestCase.
Jelmer Vernooij [Wed, 15 Dec 2010 13:57:43 +0000 (14:57 +0100)]
Move get_loadparm() and get_credentials() to samba.tests.TestCase.

9 years agos3:rpc_client: implement rpc_transport_np_init() on top of rpc_transport_tstream_init()
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

9 years agos3:rpc_client: implement rpc_transport_sock_init() on top of rpc_transport_tstream_init()
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

9 years agos3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreams
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

9 years agos3:rpc_client/rpc_transport_tstream: timeout should be unsigned int
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

9 years agos3:rpc_client: let rpc_transport_tstream_init() create read and write queue
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

9 years agos3:libsmb: add tstream_cli_np_get_cli_state()
Stefan Metzmacher [Tue, 14 Dec 2010 17:18:13 +0000 (18:18 +0100)]
s3:libsmb: add tstream_cli_np_get_cli_state()

metze