summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: dns: Add support to add/update/delete MX and SRV recordsAmitay Isaacs2012-02-211-44/+47
|
* samba-tool: dns: Convert dns data into a dns record for comparisonAmitay Isaacs2012-02-211-5/+33
| | | | | and compare two dns records directly. Refactor dns name comparision as dns_name_equal().
* samba-tool: dns: Convert dns data in a string to DNS recordAmitay Isaacs2012-02-211-0/+48
|
* samba-tool: dns: Add MXRecord type to add/update mx recordsAmitay Isaacs2012-02-211-0/+14
|
* dlz_bind9: Do not remove LDB record in subrdataset and delrdatasetAmitay Isaacs2012-02-211-13/+8
| | | | | | | | | | | This fixes the problem of large number of deleted records in DNS partitions due to frequent dynamic dns updates from windows clients. The typical pattern for dynamic update get converted into subrdataset() followed by addrdataset(). If there are no dnsRecord attributes left as a result of sub/delrdataset(), leave the LDB entry for dns name as is. The subsequent addrdataset() would add the dnsRecord attribute without re-creating the same entry.
* lib/tdb2: 2.0.0 ABIAmitay Isaacs2012-02-211-0/+40
| | | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Feb 21 07:43:55 CET 2012 on sn-devel-104
* lib/tdb2: Convert tdb2 to a standalone libraryAmitay Isaacs2012-02-214-0/+99
| | | | | | | | Adds a Makefile, configure script, and tdb2.pc.in. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: Fix wscriptAmitay Isaacs2012-02-211-29/+52
| | | | | | | | Particularly fix the upcoming standalone build. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: Mark public function as suchAmitay Isaacs2012-02-219-40/+40
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: Do not include config.h in (to-be) public library, use replace.Amitay Isaacs2012-02-212-2/+22
| | | | | | | | | | | | Like tdb1, it's the caller's responsibility to set up various config options (eg. by #include "config.h") before including the public header. We use HAVE_CCAN for including the (private) CCAN headers, otherwise dummy macros are used. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: tools should use config.h, and replace where available.Rusty Russell2012-02-215-1/+28
| | | | | | | | The tdb2 tools should #include "config.h" before tdb2.h (about to become a requirement) and use libreplace where available. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/ccan: define HAVE_CCAN.Rusty Russell2012-02-211-0/+1
| | | | | | | | This allows public headers to use CCAN if available, and dummy macros if not (eg. tdb2). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3: Fix bug 8567 -- segfault in dom_sid_compareVolker Lendecke2012-02-201-0/+1
| | | | | | | | The underlying problem was that with ldapsam:trusted we require the a group mapping for the primary group of every user, including root. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 22:36:23 CET 2012 on sn-devel-104
* s4:torture:smb2: invalidate the handle after the connection has been killedMichael Adam2012-02-201-0/+1
| | | | | | | Not to run into using the old handle with a new tree connect in the error case. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 20 18:34:48 CET 2012 on sn-devel-104
* s4:torture: improve comment for the smb2.durable-open.reopen1 testMichael Adam2012-02-201-0/+1
|
* s3-vfstest: Remove an unused variableVolker Lendecke2012-02-201-2/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 20 17:01:11 CET 2012 on sn-devel-104
* popt: Check for popt manually as well, not just using pkg-config.Jelmer Vernooij2012-02-201-1/+1
| | | | | | | Older systems don't provide a pkg-config file for popt. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 20 15:13:32 CET 2012 on sn-devel-104
* nsstest: Allocate the correct sized buffer for initgroupsAndrew Bartlett2012-02-201-1/+1
| | | | | | | | | | | Found by chance due to a re-order of the tests to start s3member earlier and chasing down a malloc Abort into a valgrind error. Only happens when a user has more than 4 groups. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 05:23:04 CET 2012 on sn-devel-104
* selftest: test member server tests in security=adsAndrew Bartlett2012-02-201-13/+13
| | | | | | | By testing more things against s3member (which is security=ads against samba4) we can improve our test coverage. Andrew Bartlett
* build: Add libbsd as a dep for LIBREPLACE_HOSTCCAndrew Bartlett2012-02-201-4/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
* s4-smbd: Show time event was expected to run, as well as the current wall ↵Andrew Bartlett2012-02-201-2/+2
| | | | clock time
* s3-selftest: Add test for ntlm_auth --diagnosticsAndrew Bartlett2012-02-202-0/+26
|
* s3-ntlm_auth: allow ntlm_auth --diagnostics to pass againAndrew Bartlett2012-02-203-8/+12
| | | | | | | This still requires that the server permit LM passwords, but our s3dc test environment has this enabled. Andrew Bartlett
* s3-winbindd: pass logon parmeters down to check_sam_security()Andrew Bartlett2012-02-201-2/+6
| | | | | | | This allows ntlm_auth --diagnostics to work against the local DC, just as it works against a member server. Andrew Bartlett
* s4-selftest: Avoid running kinit for each new connectionAndrew Bartlett2012-02-203-3/+6
| | | | | | | | | | | | | | | | Kerberos is efficient when the credentials cache is set up once and then reused. Sadly this test creates a user, does a test and deletes the user, over and over. For this, using NTLM saves a little time, but we also stress the rest of the DB, and should rework the test. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 00:49:56 CET 2012 on sn-devel-104
* s3: Remove a pointless else branchVolker Lendecke2012-02-191-2/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104
* s3: Fix some blank line endingsVolker Lendecke2012-02-191-3/+3
|
* s3-vfstest: Initialize some moreVolker Lendecke2012-02-191-0/+12
|
* waf: make "update-waf" script work on Darwin tooDave Abrahams2012-02-191-1/+1
| | | | | | | | | | This fixes bug #8766 Reviewed by: Jelmer Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Feb 19 21:35:06 CET 2012 on sn-devel-104
* s3: get_share_mode_lock_fresh->get_share_mode_lockVolker Lendecke2012-02-194-12/+12
| | | | | | | get_share_mode_lock_fresh is just a confusing name Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 19 19:16:41 CET 2012 on sn-devel-104
* s3: get_share_mode_lock->get_existing_share_mode_lockVolker Lendecke2012-02-197-16/+17
|
* Revert 42d4152ed4255f22ff0718d450f181468d7fb827.Jelmer Vernooij2012-02-191-2/+2
| | | | | | | asn1_compile and com_err already depended on LIBREPLACE_HOSTCC; depending on replace too causes waf to break (source lib/replace/replace.c is in more than one subsystem of target 'asn1_compile': ['LIBREPLACE_HOSTCC', 'replace']) Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 17:43:06 CET 2012 on sn-devel-104
* waf: Use libraries when building.Jelmer Vernooij2012-02-191-2/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
* Use uselib in CHECK_HEADER.Jelmer Vernooij2012-02-191-0/+3
|
* popt: Use pkg-config file to look for popt.Jelmer Vernooij2012-02-191-1/+1
|
* library_flags: Leave setting of CPPPATH to waf too.Jelmer Vernooij2012-02-191-4/+1
|
* s4-python: Various formatting fixes.Jelmer Vernooij2012-02-189-59/+42
|
* samba.web_server: Fix use of whitespace.Jelmer Vernooij2012-02-181-1/+1
|
* pygensec: Fix whitespace.Jelmer Vernooij2012-02-181-8/+8
|
* waf: Update to new upstream version.Jelmer Vernooij2012-02-181-2/+5
|
* wafsamba: Fix some whitespace issues.Jelmer Vernooij2012-02-181-4/+1
|
* s3-secrets: Remove unused secrets_delete_generic()Andrew Bartlett2012-02-182-17/+0
| | | | | | | | | Found by callcatcher. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 18 09:01:15 CET 2012 on sn-devel-104
* s3-secrets: Remove unused secrets_delete_machine_password()Andrew Bartlett2012-02-182-14/+0
| | | | | | Found by callcatcher. Andrew Bartlett
* s3-build: allow gcov testing by linking timelimit with --coverageAndrew Bartlett2012-02-181-1/+1
|
* Fix a bunch of "unused variable" warnings.Jeremy Allison2012-02-1819-133/+11
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
* auth: Reorder arguments to generate_session_infoAndrew Bartlett2012-02-187-19/+20
| | | | | | | | | This matches check_ntlm_password() and generate_session_info_pac() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Feb 18 02:19:35 CET 2012 on sn-devel-104
* selftest: Fix selftest to check ADS functionalty againAndrew Bartlett2012-02-181-8/+10
| | | | | | | | | This was found by looking over the lcov output on build.samba.org The new have_ads() check also now dies if it cannot run smbd, to avoid this in future. Andrew Bartlett
* s4:lib/tls - include GNUTLS headers consistently using <...>Matthias Dieter Wallnöfer2012-02-183-4/+4
| | | | | | | | | These are system-specific. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Feb 18 00:43:58 CET 2012 on sn-devel-104
* s4:samba-tool fsmo * - fix missing "takes_optiongroups"Matthias Dieter Wallnöfer2012-02-172-0/+14
| | | | | | This has been reported in bug #8755. Reviewed-by: Jelmer
* lib/util: Remove unused sys_sendto()Andrew Bartlett2012-02-172-19/+0
| | | | | | | | | Found by callcatcher. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 17 13:48:05 CET 2012 on sn-devel-104