summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-18s4-drepl: Make refreshed schema a global oneKamen Mazdrashki1-0/+7
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.
2010-12-18pyrpc: Add prototype for init function.Jelmer Vernooij1-0/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104
2010-12-18pyglue: Add prototype for init function.Jelmer Vernooij1-0/+2
2010-12-18pidl: Add prototype for init function in pidl-generated Python bindings.Jelmer Vernooij1-0/+1
2010-12-18Revert "s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later"Andrew Bartlett1-0/+1
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
2010-12-18lib/ldb Remove talloc_free() that causes double-free in callbacks.Andrew Bartlett1-1/+3
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
2010-12-18ldb: Rename controls_except_specified -> ldb_controls_except_specified.Jelmer Vernooij3-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 18 01:33:24 CET 2010 on sn-devel-104
2010-12-18ldb_map: Fix prefix for map functions.Jelmer Vernooij3-15/+15
2010-12-18ldb: Rename last instance of save_controls -> ldb_save_controls.Jelmer Vernooij1-1/+1
2010-12-18ldb: Add prototype for ldb_init_module.Jelmer Vernooij1-0/+5
2010-12-18ldb: Rename two exported functions so they match abi_match.Jelmer Vernooij6-9/+8
2010-12-18pidl: Use system pytalloc if possible.Jelmer Vernooij1-1/+1
2010-12-18Add bzrignore symlink.Jelmer Vernooij1-0/+1
2010-12-18wafsamba: Use abi_match in version script files.Jelmer Vernooij2-7/+19
2010-12-18heimdal_build: Simplify HEIMDAL_LIBRARY - version_script files are now taken ↵Jelmer Vernooij1-15/+2
from upstream rather than generated.
2010-12-18heimdal_build: Add version-script for heimdal_base, hx509 and hcrypto. ↵Jelmer Vernooij2-40/+285
Convert hbase and hcrypto to libraries.
2010-12-17s4-drepl: Reference current Schema cache into working_schema contextKamen Mazdrashki1-1/+1
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
2010-12-17s4-drepl: Fix log message to be shown on its own lineKamen Mazdrashki1-1/+1
2010-12-17Move checks inside file_set_sparse() to allow it to be called from anywhere.Jeremy Allison2-19/+21
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 17 21:56:38 CET 2010 on sn-devel-104
2010-12-17file_set_sparse needs to be a handle based call.Jeremy Allison3-12/+10
2010-12-17s3:smbd: implement FSCTL_SET_SPARSE more correctlyBjörn Jacke1-5/+43
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.
2010-12-17Update our attribute flags.Jeremy Allison1-1/+6
2010-12-17s3:smbd: add file_set_sparse() functionBjörn Jacke2-0/+52
this is based on a patch for 3.3 from metze
2010-12-17s3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, tooBjörn Jacke1-2/+8
2010-12-17s3: remove set_sparse_flagBjörn Jacke1-15/+1
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>
2010-12-17s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flagsBjörn Jacke1-0/+2
2010-12-17heimdal_build: Add version-script for krb5.Jelmer Vernooij2-0/+770
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 17 21:09:25 CET 2010 on sn-devel-104
2010-12-17heimdal_build: Add version-script for gssapi.Jelmer Vernooij2-0/+181
2010-12-17heimdal_build: Add version-script for asn1.Jelmer Vernooij2-0/+7
2010-12-17heimdal_build: Add version-script for hdb.Jelmer Vernooij2-4/+112
2010-12-17heimdal_build: Add version-script for kdc.Jelmer Vernooij2-1/+23
2010-12-17heimdal_build: Add version-script for wind.Jelmer Vernooij2-0/+29
2010-12-17heimdal_build: Add version-script for ntlm.Jelmer Vernooij2-0/+31
2010-12-17heimdal: Add version script file for hcrypto (unused so far, as hcrypto ↵Jelmer Vernooij2-0/+300
still needs to be made a proper library).
2010-12-17heimdal_build: Add version-script for roken.Jelmer Vernooij2-0/+200
2010-12-17heimdal_build: Add version-script for com_err.Jelmer Vernooij3-0/+49
2010-12-17wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij3-2/+6
too.
2010-12-17heimdal_build: Simplify version_script handling.Jelmer Vernooij1-6/+7
2010-12-17wafsamba: Don't build vscript for modules.Jelmer Vernooij1-3/+2
2010-12-17wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij3-2/+16
2010-12-17Simplify link installation.Jelmer Vernooij1-8/+3
2010-12-17heimdal_build: Simplify library handling.Jelmer Vernooij2-18/+13
2010-12-17s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner1-11/+30
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner1-26/+100
Guenther
2010-12-17s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher1-3/+11
#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
2010-12-17s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam1-3/+40
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>
2010-12-17s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam1-12/+27
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>
2010-12-17s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam1-0/+19
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>
2010-12-17util_net: fix a comment typo in interpret_string_addr_internal()Michael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17libcli/security: remove unused variable.Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 13:56:27 CET 2010 on sn-devel-104