summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-28tsocket: make sure we delete the fd event before calling close()Stefan Metzmacher1-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
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison18-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.
2010-09-28s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2-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
2010-09-27s4-kcc: don't print "Testing kcctpl_create_intersite_connections"Andrew Tridgell1-1/+1
log level 0 is excessive for this!
2010-09-27s4-drs: make getncchanges debug less verboseAndrew Tridgell1-1/+1
quieten make test a little
2010-09-27s4-dns: avoid search domains expansion in DNS resolverAndrew Tridgell1-0/+8
add a '.' if the name contains a '.' already, but not at the end
2010-09-27heimdal: avoid DNS search domain expansion Andrew Tridgell1-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.
2010-09-28samr: add three new ACB flags to IDL.Günther Deschner1-1/+4
Guenther
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handlingGünther Deschner1-0/+5
2010-09-28s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.Günther Deschner1-34/+79
Guenther
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcessors error handlingGünther Deschner1-0/+4
2010-09-28s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.Günther Deschner1-33/+15
Guenther
2010-09-28s3-waf: add NDR_PERFCOUNT subsystem.Günther Deschner2-3/+7
Guenther
2010-09-27s4-ildap: fixed a talloc_steal with references errorAndrew Tridgell1-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
2010-09-27s4-ldb: Added ldb_request_replace_controlNadezhda Ivanova3-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
2010-09-27s4/irpc: Add security token to the binding handle when doing irp call forwardingAnatoliy Atanasov1-0/+7
2010-09-27s4/irpc: Add function to add security token to the binding handleAnatoliy Atanasov2-0/+12
2010-09-27s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher2-0/+8
metze
2010-09-27s3: Make file_fnum staticVolker Lendecke2-2/+1
2010-09-27s3: Remove some unused codeVolker Lendecke2-53/+0
2010-09-27s3: Fix some commentsVolker Lendecke1-2/+2
2010-09-27Remove talloc_autofree_context() from pm_processVolker Lendecke1-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().
2010-09-27Lift talloc_autofree_context() from OpenConfFile()Volker Lendecke1-3/+3
2010-09-27libsmbconf: parse an empty share as empty share, not as NULL.Michael Adam1-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.
2010-09-27s3:registry: proposed aix build fix for reg_parse_internalGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2010-09-27s4:torture/ldap: close connections with an UnbindRequestStefan Metzmacher1-0/+29
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 07:14:23 UTC 2010 on sn-devel-104
2010-09-27LDAP-BASIC: test AbandonRequestStefan Metzmacher1-0/+41
metze
2010-09-27s4:libcli/ldap: fix sending oneway requestsStefan Metzmacher1-18/+26
metze
2010-09-27libcli/ldap: correctly marshall LDAP Unbind PDUsStefan Metzmacher1-0/+2
metze
2010-09-27s3-waf: fix dependencies to NDR_XATTR.Günther Deschner2-9/+4
Guenther
2010-09-27s3-waf: link PReg parser only in registry client side extension.Günther Deschner2-4/+1
Guenther
2010-09-27s3-waf: NDR_SRVSVC is defined now from the main librpc wscript_build.Günther Deschner1-4/+0
Guenther
2010-09-27waf: add more NDR subsystems for shared IDL files.Günther Deschner2-2/+42
Guenther
2010-09-27s4-waf: remove NDR-SRVSVC alias.Günther Deschner2-1/+10
Thanks tridge, this was driving me nuts... Guenther
2010-09-27s4-smbtorture: remove unneeded dcerpc_mgmt alias.Günther Deschner3-3/+2
Guenther
2010-09-27s4-drs: fixed comment in getncchanges codeAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 04:54:43 UTC 2010 on sn-devel-104
2010-09-26s4-gensec: fixed a valgrind error in gensecAndrew Tridgell1-12/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-27lib/util: change tevent_req_nterror() to a macroStefan Metzmacher2-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
2010-09-27s4-dns: use the generated krb5.conf in samba_dnsupdateAndrew Tridgell1-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
2010-09-27s4-provision: fixed the generation of the krb5.conf for vampireAndrew Tridgell1-6/+6
we need a correct krb5.conf for nsupdate from bind9
2010-09-27s3-waf: move SERVICES into a subsystem.Günther Deschner1-5/+13
Guenther
2010-09-27s3-waf: add PRINTING subsystems.Günther Deschner1-12/+21
Guenther
2010-09-27s3-waf: add two more REGF based subsystems.Günther Deschner1-9/+14
Guenther
2010-09-27tdb: fix non-WAF build, commit 1.2.6 ABI file.Rusty Russell2-1/+62
Sorry Jeremy. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-09-27tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.Rusty Russell6-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>
2010-09-27tdb: automatically identify Jenkins hash tdbsRusty Russell1-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>
2010-09-27tdb: add Bob Jenkins lookup3 hash as helper hash.Rusty Russell7-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>
2010-09-27s3-waf: rework static and shared list handling a little.Günther Deschner1-17/+20
Guenther
2010-09-27waf: add delimiter argument to TO_LIST.Günther Deschner1-2/+2
Guenther
2010-09-27s3-waf: add missing IDMAP modules.Günther Deschner2-1/+18
Guenther