summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-31added basic testing of tdb_transaction_prepare_commit() in tdbtortureAndrew Tridgell1-0/+6
2009-03-31Add tdb_transaction_prepare_commit()Howard Chu3-52/+133
Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org
2009-03-29Fix a debug msg typoVolker Lendecke1-1/+1
2009-03-28tsocket: more s/sun/un to make the build on solaris happyStefan Metzmacher1-6/+6
metze
2009-03-28s4:torture/smb2: Add torture tests for leases.Zach Loafman3-0/+298
2009-03-28s4:smb2: Add rudimentary SMB2.1 lease support to libcliZach Loafman3-0/+50
Add the structures, constants, and marshalling for SMB2.1 leases.
2009-03-27Fix the problem of 3.0.x passdb databases being versionJeremy Allison1-5/+43
3 but using a different hash calculation than 3.2.x passwd databases (also version 3). Introduces a minor version number. Jeremy.
2009-03-27s3: added per-client statistics to onefs perfcount moduleScott Urban3-31/+38
* we now track, uid, remote ip, and local ip per CIFS operation * removed perfcount_set_client() from perfcount interface as it's unecessary
2009-03-27Ensure parameter types match format stringDerrell Lipman4-18/+38
2009-03-27[Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errnoDerrell Lipman3-1/+15
Fixed. It turns out there were a number of places where cli_resolve_path() was called and the error path upon that function failing did not set errno. There were a couple of places the failure handling code did set errno to ENOENT, so I made them all consistent, although I think better errno choices for this condition exist, e.g. EHOSTUNREACH. Derrell
2009-03-27Fix external np read after conversion to tevent_reqVolker Lendecke1-1/+1
2009-03-27Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison3-1/+31
correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy.
2009-03-27s3: ifdef sendfile code that's only used in other ifdef'ed sendfile codeBjörn Jacke1-0/+2
This fixes a "defined but not used" compile warning.
2009-03-27s4:torture/smb2: fix compiler warnings and bugsStefan Metzmacher1-1/+3
metze
2009-03-27s4:torture/smb2: fix the buildStefan Metzmacher1-5/+5
We move prototypes of _PUBLIC_ functions into /dev/null, as we want public function to have handwritten prototypes. see proto_header_template in build/make/templates.mk... metze
2009-03-27s4:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONSStefan Metzmacher1-2/+3
metze
2009-03-27s3:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONSStefan Metzmacher1-2/+2
metze
2009-03-27tsocket: try to fix the build on solaris systemsStefan Metzmacher1-18/+18
It seems that 'sun' is somewhere defined and we can use it as name for variables or struct/union members. metze
2009-03-27Fix the build of nfsv4_acls.cVolker Lendecke1-1/+1
.. after adding smb_iconv_convenience to ndr_size_security_descriptor()
2009-03-26Add durable open / oplock interaction test. Rather than give it a chance to ↵Zach Loafman1-3/+109
disconnect, Win7 will break a batch oplock immediately on contention.
2009-03-26Reorganize old persistent_handles test into durable_open.c, turn it into a ↵Zach Loafman3-9/+20
suite instead of a solo test (in anticipation of more tests).
2009-03-26Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-4/+7
2009-03-27Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell26-74/+188
2009-03-27added a --wspp optionAndrew Tridgell1-4/+7
Adding --wspp to possibleInferiors.py forces it to use the WSPP documented algorithm, which doesn't match windows behaviour
2009-03-26Try and fix the build farm RAW-STREAMS errors. Ordering ofJeremy Allison1-2/+2
modules shouldn't matter, so as vfs_streams_depot doesn't implement get/setxattrs then call into the full VFS stack at the top. Jeremy
2009-03-26Revert 757d403dfff023fdb122a155f6a05d33daa76410 - moduleJeremy Allison1-1/+1
order shouldn't matter & I have a more correct fix for this. Jeremy.
2009-03-26This should fix the build farm RAW-STREAMS failure. streams_depot.soJeremy Allison1-1/+1
depends on xattrs, and xattr_tdb was pushed *first* in the stack... Jeremy.
2009-03-26Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs ↵Jeremy Allison1-3/+0
to run elections Fix logic bug that causes nmbd to wait 5 minutes before looking for a master browser. This one is *old* :-). Thanks for Simo for bugging me on this. Jeremy.
2009-03-26configure: Use m4 defines for minimum library versions rather than shellJelmer Vernooij3-11/+11
variables, so the values rather than the variable names show up in configure output.
2009-03-26Merge branch 'copyright' of /home/jelmer/samba4Jelmer Vernooij6-4/+89
2009-03-26Merge branch 'displaysec' of /home/jelmer/samba4Jelmer Vernooij4-44/+47
2009-03-26Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij95-2325/+5239
2009-03-26Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij22-574/+236
2009-03-26s4:heimdal_build: provide heimdal_version and heimdal_long_version symbolsStefan Metzmacher2-0/+7
metze
2009-03-26s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and ↵Stefan Metzmacher1-0/+16
HAVE_MKSTEMP metze
2009-03-26s4:kdc: use krb5_data_free()Stefan Metzmacher1-1/+1
metze
2009-03-26s4:auth/credentials: use krb5_data_free()Stefan Metzmacher1-5/+1
metze
2009-03-26s4:auth/credentials: include gssapi/gssapi_krb5.hStefan Metzmacher1-0/+1
metze
2009-03-26Fix a talloc/malloc screwup in file_lines_ploadVolker Lendecke1-1/+1
Another bug due to careless merge to /lib :-((( Volker
2009-03-26error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2-0/+2
Guenther
2009-03-26Fix a scary "fill_share_mode_lock failed" messageVolker Lendecke1-1/+2
To me "fill_share_mode_lock failed" is a "can't happen" alert. There is however a perfectly valid case in get_file_infos() when the file is not open. Change the corresponding debug message to level 10 and explain more.
2009-03-26Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell10-33/+42
2009-03-26fixed possibleinferiors.py so it matches windows behaviourAndrew Tridgell1-39/+127
This test code builds the possibleInferiors for every class in the schema on a target machine, and compares it to the servers possibleInferiors attribute. The MS-ADTS spec describes how to calculate possibleInferiors for a object, but it seems to have some bugs. The spec says that we need to use AUXCLASSES, and it does not mention the use of the SUBCLASS tree. In trying to match windows behaviour, I found that I needed to ignore the AUXCLASSES and build a SUBCLASSES tree.
2009-03-26s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner1-0/+5
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
2009-03-26s3:rpc_parse: remove unused init_unistr().Günther Deschner3-25/+4
Guenther
2009-03-26s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner1-6/+12
information. Guenther
2009-03-26Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crashVolker Lendecke1-0/+7
2009-03-25Ensure we never enter VFS_CREATE without having initializedJeremy Allison3-0/+12
sbuf as invalid (if not already read via stat()). Still trying to find the build farm RAW-STREAM errors and it's happening in a openX call.... Jeremy.
2009-03-26Revert "s3/swat: don't link against zlib"Michael Adam1-1/+1
This reverts commit 8532faffd08bbbcfaac60fd866fa5ab255913d4a. swat needs zlib through ../librpc/ndr/ndr_compression.c, function ndr_pull_compression_mszip_chunk(). This fails to link at least on our build farm bsd boxes. Michael
2009-03-26Revert "s3/smbd: don't link against zlib"Michael Adam1-1/+1
This reverts commit 1f265548e7d17a4ed83705149dd944fcdd31134d. smbd needs zlib through ../librpc/ndr/ndr_compression.c, function ndr_pull_compression_mszip_chunk(). This fails to link at least on our build farm bsd boxes. Michael