summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19s3: netsamlogon_clear_cached_user only needs the SIDVolker Lendecke3-10/+4
2010-12-19s3: Remove two pointless slprintf callsVolker Lendecke1-4/+4
2010-12-19s3: FreeBSD has getpeereid(), use itVolker Lendecke2-0/+16
2010-12-19s3: Reply correctly to FSCTL_IS_VOLUME_DIRTYVolker Lendecke2-0/+10
2010-12-19s3: Fix some nonempty blank linesVolker Lendecke1-22/+22
2010-12-19s3: Did I say this module is from hell?Volker Lendecke1-1/+1
2010-12-19s3: re-add some debugs to check_reduced_nameVolker Lendecke1-0/+2
2010-12-19s3: Fix some typosVolker Lendecke5-7/+7
2010-12-19s3: Document wbinfo -P/--ping-dcVolker Lendecke1-0/+10
2010-12-19s3: Add -P as an alias for --ping-dcVolker Lendecke1-3/+2
This is a much less intrusive version of the DC connectivity check than wbinfo -t is. Make it simple to use.
2010-12-19s3: Fix serverid_existsVolker Lendecke1-0/+4
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.
2010-12-19heimdal: Fix build if using system roken.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 19 22:29:41 CET 2010 on sn-devel-104
2010-12-19ldb: Bump version after renaming some public symbols which didn't have aJelmer Vernooij2-1/+246
ldb_ prefix.
2010-12-19dcesrv_srvsvc: Use constants.Jelmer Vernooij1-3/+3
2010-12-18Rename vfs operation posix_fallocate to just fallocate and add the ↵Jeremy Allison11-47/+72
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
2010-12-18s4-drepl: During Schema replication, we need to save updated prefixMap if ↵Kamen Mazdrashki1-0/+18
everything is OK Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Dec 18 05:53:48 CET 2010 on sn-devel-104
2010-12-18s4-dsdb_schema: Copy info needed for Schema refresh in dsdb_schema_copy_shallowKamen Mazdrashki1-0/+4
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'.
2010-12-18s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki1-6/+43
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