summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldap_server: rewrite to socket layer to use tstreamStefan Metzmacher2010-10-084-305/+690
| | | | | | | | | | This should make our sasl and tls handling much more robust against partial sent pdus. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 8 11:55:26 UTC 2010 on sn-devel-104
* s4:lib/tls: buffer writes in tstream_tls_push_function()Stefan Metzmacher2010-10-081-10/+76
| | | | | | | | | | | | This works arround bugs in gnutls_handshake(), which diesn't handle EAGAIN correctly, when they use the push function. Thanks to Marcel.Ritter@rrze.uni-erlangen.de and Matthieu Patou <mat@samba.org> for the debugging work on bug #7218. metze
* s4:lib/tls: make more clear what the immediate event is forStefan Metzmacher2010-10-081-6/+6
| | | | metze
* s4:lib/tls: fix enabled logic in tstream_tls_params_server()Stefan Metzmacher2010-10-082-2/+12
| | | | metze
* s3-waf: slowly getting modules to match how they look like in old build.Günther Deschner2010-10-085-170/+170
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 8 09:31:01 UTC 2010 on sn-devel-104
* s3: Fix input check in is_encrypted_packetVolker Lendecke2010-10-081-1/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Oct 8 07:40:52 UTC 2010 on sn-devel-104
* Fix bug 7716 - acl_xattr and acl_tdb modules don't store unmodified copies ↵Jeremy Allison2010-10-081-1/+13
| | | | | | | | | | | | | | | | | | | | | of security descriptors. As pointed out by an OEM, the code within smbd/posix_acl.c, even though passed a const pointer to a security descriptor, still modifies the ACE entries within it (which are not const pointers). This means ACLs stored in the extended attribute by the acl_xattr module have already been modified by the POSIX acl layer, and are not the original intent of storing the "unmodified" ACL from the client. Use dup_sec_desc to make a copy of the incoming ACL on talloc_tos() - that is what is then modified inside smbd/posix_acl.c, leaving the original ACL to be correctly stored in the xattr. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 8 00:37:53 UTC 2010 on sn-devel-104
* s3: Fix the async echo responder for netbios keepalivesVolker Lendecke2010-10-071-10/+23
| | | | | | | | | | This fixes a crash in the echo responder when the client started to send the NetBIOS-Level 0x85-style keepalive packets. We did not correctly check the packet length, so the code writing the signing seqnum overwrote memory after the malloc'ed area for the 4 byte keepalive packet. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 7 19:47:35 UTC 2010 on sn-devel-104
* File winattr testAbhidnya P Chirmule2010-10-073-0/+249
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
* File BirthTime testAbhidnya P Chirmule2010-10-072-0/+115
|
* s3-spoolss: make it possible to have and announce a [prnproc$] share on the ↵Günther Deschner2010-10-071-2/+12
| | | | | | | | | printserver. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 16:09:14 UTC 2010 on sn-devel-104
* s3-rpcclient: add openprinter_ex command.Günther Deschner2010-10-071-1/+47
| | | | Guenther
* s4-smbtorture: re-arrange openprinterex tests.Günther Deschner2010-10-071-21/+46
| | | | Guenther
* s3-docs: fix typo in "add port command" smb.conf manpage.Günther Deschner2010-10-071-1/+1
| | | | Guenther
* samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner2010-10-0710-25/+25
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
* s4-samr: Fix dcesrv_samr_QueryGroupMember.Günther Deschner2010-10-071-1/+3
| | | | Guenther
* s3-samr: fix _samr_QueryGroupMember().Günther Deschner2010-10-071-2/+5
| | | | | | that array contains attributes, not sid types. Guenther
* Revert "s4:ldap_server: rewrite to socket layer to use tstream"Stefan Metzmacher2010-10-074-694/+305
| | | | | | | | | | | | | | This reverts commit b53fbc75acc525f2e2450370e704a62791271788. There are problems with problems with broken gnutls versions. We can readd this once we have the needed configure checks to detect the bug in gnutls. See https://bugzilla.samba.org/show_bug.cgi?id=7218. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 7 10:31:18 UTC 2010 on sn-devel-104
* s4:dsdb/common/util_samr.c - use an LDB constant for result checkingMatthias Dieter Wallnöfer2010-10-071-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 7 07:40:31 UTC 2010 on sn-devel-104
* s4:dsdb/common/util.c - provide message set functions for integer typesMatthias Dieter Wallnöfer2010-10-071-0/+31
| | | | They will be used by the samldb LDB module
* script: improvements to bisect-test.pyAndrew Tridgell2010-10-071-12/+17
| | | | | | | | | - allow control of all the commands (eg. specify configure command) - do a bisect reset at the end Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 7 04:11:21 UTC 2010 on sn-devel-104
* waf: fixed exit status of test suitesAndrew Tridgell2010-10-073-6/+12
| | | | use RUN_COMMAND() to handle signal errors and exit status
* s3: Adding TCP_KEEPALIVE_THRESHOLD and TCP_KEEPALIVE_ABORT_THRESHOLD to ↵Ira Cooper2010-10-071-0/+6
| | | | | | | | | the list of accepted socket settings. These are both exclusive to Solaris/OpenSolaris. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 7 00:26:39 UTC 2010 on sn-devel-104
* tevent: Only call handlers that ask for eventsVolker Lendecke2010-10-061-1/+1
| | | | | | | | | | The s3 libsmbclient puts two different handlers on a single fd for readability and writability. With select this works fine, however without this patch we unconditionally call the write handler even if the socket is only readable. We should have called the read handler instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104
* Fix crash in SMB2 rename found by gentest. We must always have an lcompJeremy Allison2010-10-061-1/+1
| | | | | | in the destination struct for a rename, so set the flag appropriately. Jeremy.
* maintainers: delete the old MAINTAINERS fileAndrew Tridgell2010-10-061-40/+0
| | | | | | | this contains some quite obsolete information Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 22:58:52 UTC 2010 on sn-devel-104
* maintainers: added initial MAINTAINERS.txtAndrew Tridgell2010-10-061-0/+152
| | | | | | | | initially with no subsystems maintained. Some initial maintainers will be added soon after discussion. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 22:07:01 UTC 2010 on sn-devel-104
* s3: Make the write end of the echo responder pipe non-blockingVolker Lendecke2010-10-061-0/+1
| | | | | | | | Without this, we can get a writable pipe end, but the writev call on the pipe will block. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 6 13:57:30 UTC 2010 on sn-devel-104
* s3-build: use the simpler "make bin/smbtorture" for s4 tortureAndrew Tridgell2010-10-061-2/+2
| | | | | | | and the same for bin/ndrdump Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 12:58:21 UTC 2010 on sn-devel-104
* waf: allow for commands like "make bin/smbtorture"Andrew Tridgell2010-10-062-0/+9
| | | | I finally worked out the GNU make syntax for this
* s3-spoolss: added another intermittent failure to knownfailAndrew Tridgell2010-10-061-0/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 11:55:00 UTC 2010 on sn-devel-104
* autobuild: only add autobuild.log if it existsAndrew Tridgell2010-10-061-1/+2
| | | | this makes running autobuild on other than sn-devel easier
* waf: fixed some python3.x portability issuesAndrew Tridgell2010-10-067-10/+18
| | | | | these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
* waf: update to waf version 1.5.19Andrew Tridgell2010-10-062-1/+1
| | | | | this includes a number of perforance improvements and bug fixes. Thanks to Thomas for all the recent improvements!
* s4:samldb LDB module - remove "type" parameter of "samldb_fill_object"Matthias Dieter Wallnöfer2010-10-061-6/+9
| | | | | | | It's a bit redundant given that we have the "type" variable on "ac". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 6 10:20:45 UTC 2010 on sn-devel-104
* idtree: fix right shift of signed ints, crash on large ids on AIXRusty Russell2010-10-061-1/+1
| | | | | | | | | | | | | | | | | Right-shifting signed integers in undefined; indeed it seems that on AIX with their compiler, doing a 30-bit shift on (INT_MAX-200) gives 0, not 1 as we might expect. The obvious fix is to make id and oid unsigned: l (level count) is also logically unsigned. (Note: Samba doesn't generally get to ids > 1 billion, but ctdb does) Reported-by: Chris Cowan <cc@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@samba.org> Autobuild-Date: Wed Oct 6 08:31:09 UTC 2010 on sn-devel-104
* s4-heimdal: disable using the system compile_et for nowAndrew Tridgell2010-10-061-2/+5
| | | | | | | | | | just checking that compile_et exists isn't enough. It has to actually work. Quite a few build farm systems have /usr/bin/compile_et, but it gets link errors when you try to use it (missing symbols et_list_lock and et_list_unlock) Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 07:48:16 UTC 2010 on sn-devel-104
* waf: fixed the problem with com_err on Ubuntu 9.04Andrew Tridgell2010-10-062-22/+32
| | | | | | | | this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and headers options even for libraries found with pkgconfig. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 05:06:42 UTC 2010 on sn-devel-104
* s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) testKamen Mazdrashki2010-10-061-1/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 6 02:54:56 UTC 2010 on sn-devel-104
* Fix crash in SMB2 rename found by gentest. We must always have an lcompJeremy Allison2010-10-061-1/+1
| | | | | | | | | in the destination struct for a rename, so set the flag appropriately. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 6 00:29:51 UTC 2010 on sn-devel-104
* heimdal-build: Require com_err library to provide com_right_r function.Jelmer Vernooij2010-10-051-1/+1
|
* land: Fix stage description during failure.Jelmer Vernooij2010-10-051-2/+2
|
* land: Print out failed test in case of subunit failures.Jelmer Vernooij2010-10-051-3/+30
|
* heimdal-com_err: fix the build for systems with older 'com_err' libraryKamen Mazdrashki2010-10-051-1/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Oct 5 21:36:41 UTC 2010 on sn-devel-104
* selftest: make it more obvious we only expect the printjob tests to fail.Günther Deschner2010-10-051-1/+2
| | | | Guenther
* Revert "libndr: fix "excess elements in struct initializer" warning."Günther Deschner2010-10-051-1/+0
| | | | This reverts commit a416ff26d6ada4ee96bf3963866f67d5788162d1.
* s3-waf: add slightly different mkbuildoptions awk script for waf.Günther Deschner2010-10-052-1/+274
| | | | | | | | | This allows to run make test (w/o smbtorture4 for now) using waf. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 5 18:24:55 UTC 2010 on sn-devel-104
* s3-waf: use more of the NDR_ subsystems.Günther Deschner2010-10-051-8/+7
| | | | Guenther
* Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.Jeremy Allison2010-10-051-1/+1
| | | | | | | From pjb1008@cam.ac.uk - Service numbers start from 0. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104
* s4:subtree_delete LDB module - remove the DN from an error messageMatthias Dieter Wallnöfer2010-10-051-3/+6
| | | | | | | | | | | It may looks funny but the DN output prevents older ADUC versions (tested with release 2000) to perform subtree deletes properly. Version 2008 has this fixed. Additionally some smaller changes ("%u" for printing unsigned integers, module name prefix, nicer line-wrap). Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Oct 5 16:48:19 UTC 2010 on sn-devel-104