summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert ↵Jeremy Allison2010-09-271-0/+130
| | | | | | causes smbd to panic on invalid NetBIOS session request. Jeremy.
* Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid ↵Jeremy Allison2010-09-271-3/+3
| | | | | | | | | NetBIOS session request. Don't just fail to reply on a bad NBT name, just don't do the internal action. Jeremy.
* tsocket: make sure we delete the fd event before calling close()Stefan Metzmacher2010-09-281-0/+1
| | | | | | | | | | | | | | We got random double free errors, when getting events from epoll_wait() and try to dereference the private talloc pointer attached to it. Before doing the close() in the tstream_disconnect_send() function we need to delete the fd event. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 28 01:02:55 UTC 2010 on sn-devel-104
* Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison2010-09-2718-28/+33
| | | | | | | | | | TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
* s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2010-09-282-2/+2
| | | | | | | these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
* s4-kcc: don't print "Testing kcctpl_create_intersite_connections"Andrew Tridgell2010-09-271-1/+1
| | | | log level 0 is excessive for this!
* s4-drs: make getncchanges debug less verboseAndrew Tridgell2010-09-271-1/+1
| | | | quieten make test a little
* s4-dns: avoid search domains expansion in DNS resolverAndrew Tridgell2010-09-271-0/+8
| | | | add a '.' if the name contains a '.' already, but not at the end
* heimdal: avoid DNS search domain expansion Andrew Tridgell2010-09-271-1/+16
| | | | | | | | | When you have a domain search list in resolv.conf, and one of the DNS servers for a searched domain is uncontactable then we would timeout resolving DNS names. Avoid this by adding a '.' to the hostname if the hostname already has a '.' in it, which we assume to mean it is fully qualified.
* samr: add three new ACB flags to IDL.Günther Deschner2010-09-281-1/+4
| | | | Guenther
* s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handlingGünther Deschner2010-09-281-0/+5
|
* s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.Günther Deschner2010-09-281-34/+79
| | | | Guenther
* s3-spoolss: Fix _spoolss_EnumPrintProcessors error handlingGünther Deschner2010-09-281-0/+4
|
* s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.Günther Deschner2010-09-281-33/+15
| | | | Guenther
* s3-waf: add NDR_PERFCOUNT subsystem.Günther Deschner2010-09-282-3/+7
| | | | Guenther
* s4-ildap: fixed a talloc_steal with references errorAndrew Tridgell2010-09-271-1/+1
| | | | | | | | | We need talloc_reparent() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 20:38:00 UTC 2010 on sn-devel-104
* s4-ldb: Added ldb_request_replace_controlNadezhda Ivanova2010-09-273-1/+35
| | | | | | | | It is the same as ldb_request_add_control, except it will replace an existing control. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 19:00:38 UTC 2010 on sn-devel-104
* s4/irpc: Add security token to the binding handle when doing irp call forwardingAnatoliy Atanasov2010-09-271-0/+7
|
* s4/irpc: Add function to add security token to the binding handleAnatoliy Atanasov2010-09-272-0/+12
|
* s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher2010-09-272-0/+8
| | | | metze
* s3: Make file_fnum staticVolker Lendecke2010-09-272-2/+1
|
* s3: Remove some unused codeVolker Lendecke2010-09-272-53/+0
|
* s3: Fix some commentsVolker Lendecke2010-09-271-2/+2
|
* Remove talloc_autofree_context() from pm_processVolker Lendecke2010-09-271-1/+1
| | | | | This would be a classic for talloc_tos(), InFile is freed a few lines down. But unfortunately S4 does not support talloc_tos().
* Lift talloc_autofree_context() from OpenConfFile()Volker Lendecke2010-09-271-3/+3
|
* libsmbconf: parse an empty share as empty share, not as NULL.Michael Adam2010-09-271-5/+1
| | | | | | | | | This fixes a segfault in net conf import: Importing a text file with an empty share resulted in a segfault. Now this creates an empty share in registry config, just as it should. Thanks to Gregor Beck <gbeck@sernet.de> for reporting.
* s3:registry: proposed aix build fix for reg_parse_internalGregor Beck2010-09-271-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:torture/ldap: close connections with an UnbindRequestStefan Metzmacher2010-09-271-0/+29
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 07:14:23 UTC 2010 on sn-devel-104
* LDAP-BASIC: test AbandonRequestStefan Metzmacher2010-09-271-0/+41
| | | | metze
* s4:libcli/ldap: fix sending oneway requestsStefan Metzmacher2010-09-271-18/+26
| | | | metze
* libcli/ldap: correctly marshall LDAP Unbind PDUsStefan Metzmacher2010-09-271-0/+2
| | | | metze
* s3-waf: fix dependencies to NDR_XATTR.Günther Deschner2010-09-272-9/+4
| | | | Guenther
* s3-waf: link PReg parser only in registry client side extension.Günther Deschner2010-09-272-4/+1
| | | | Guenther
* s3-waf: NDR_SRVSVC is defined now from the main librpc wscript_build.Günther Deschner2010-09-271-4/+0
| | | | Guenther
* waf: add more NDR subsystems for shared IDL files.Günther Deschner2010-09-272-2/+42
| | | | Guenther
* s4-waf: remove NDR-SRVSVC alias.Günther Deschner2010-09-272-1/+10
| | | | | | Thanks tridge, this was driving me nuts... Guenther
* s4-smbtorture: remove unneeded dcerpc_mgmt alias.Günther Deschner2010-09-273-3/+2
| | | | Guenther
* s4-drs: fixed comment in getncchanges codeAndrew Tridgell2010-09-271-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 04:54:43 UTC 2010 on sn-devel-104
* s4-gensec: fixed a valgrind error in gensecAndrew Tridgell2010-09-261-12/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util: change tevent_req_nterror() to a macroStefan Metzmacher2010-09-272-3/+10
| | | | | | | | | | This way we can record where a tevent_req was finished by tevent_req_nterror(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104
* s4-dns: use the generated krb5.conf in samba_dnsupdateAndrew Tridgell2010-09-271-0/+5
| | | | | | | this gives one less thing that an admin can get wrong Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 02:35:29 UTC 2010 on sn-devel-104
* s4-provision: fixed the generation of the krb5.conf for vampireAndrew Tridgell2010-09-271-6/+6
| | | | we need a correct krb5.conf for nsupdate from bind9
* s3-waf: move SERVICES into a subsystem.Günther Deschner2010-09-271-5/+13
| | | | Guenther
* s3-waf: add PRINTING subsystems.Günther Deschner2010-09-271-12/+21
| | | | Guenther
* s3-waf: add two more REGF based subsystems.Günther Deschner2010-09-271-9/+14
| | | | Guenther
* tdb: fix non-WAF build, commit 1.2.6 ABI file.Rusty Russell2010-09-272-1/+62
| | | | | | Sorry Jeremy. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.Rusty Russell2010-09-276-6/+23
| | | | | | | | | | | | | | | | This flag to tdb_open/tdb_open_ex effects creation of a new database: 1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is specified, 2) Places a non-zero field in header->rwlocks, so older versions of TDB will refuse to open it. This means that the caller (ie Samba) can set this flag to safely change the hash function. Versions of TDB from this one on will either use the correct hash or refuse to open (if a different hash is specified). Older TDB versions will see the nonzero rwlocks field and refuse to open it under any conditions. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: automatically identify Jenkins hash tdbsRusty Russell2010-09-271-14/+27
| | | | | | | | | | If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash doesn't match, try tdb_jenkins_hash. This was Metze's idea: it makes life simpler, especially with the upcoming TDB_INCOMPATIBLE_HASH flag. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: add Bob Jenkins lookup3 hash as helper hash.Rusty Russell2010-09-277-18/+447
| | | | | | | | | | This is a better hash than the default: shipping it with tdb makes it easy for callers to use it as the hash by passing it to tdb_open_ex(). This version taken from CCAN and modified, which took it from http://www.burtleburtle.net/bob/c/lookup3.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-waf: rework static and shared list handling a little.Günther Deschner2010-09-271-17/+20
| | | | Guenther