summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* upgradedns: Upgrade DNS provision from BIND9_FLATFILE to AD based DNSAmitay Isaacs2012-02-213-2/+411
| | | | | | | | | This script can be used to convert provision from BIND9_FLATFILE to BIND9_DLZ or SAMBA_INTERNAL dns backends. In addition, the script migrates the DNS data in zone file (if available). Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 14:50:10 CET 2012 on sn-devel-104
* s4-provision: dns: Add txt DNS recordAmitay Isaacs2012-02-211-0/+9
|
* s4-provision: dns: Do not re-calculate ntdsguid, use from namesAmitay Isaacs2012-02-211-15/+1
|
* s4-provision: dns: Refactor population of dns data codeAmitay Isaacs2012-02-211-56/+98
| | | | | | | | | | | Code is split in 4 functions - create_dns_legacy - fill_dns_data_legacy - create_dns_partitions - fill_dns_data_partitions This is useful to upgrade dns provision from file based DNS backend to AD based DNS backend.
* dlz_bind9: Fix the log message levelAmitay Isaacs2012-02-211-5/+5
|
* samba-tool: dns: Update the copyrightAmitay Isaacs2012-02-211-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 09:55:07 CET 2012 on sn-devel-104
* samba-tool: dns: Fix the output display of DNS recordsAmitay Isaacs2012-02-211-2/+3
|
* samba-tool: dns: Add extra references for string objects as workaroundAmitay Isaacs2012-02-211-8/+17
| | | | | | | This is a workaround for bug in pidl generated python bindings, where C object hold a pointer to python string without increasing reference count in python. So when the python string goes out of scope, the C pointer loses the value.
* 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.
* 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
|
* s4-smbd: Show time event was expected to run, as well as the current wall ↵Andrew Bartlett2012-02-201-2/+2
| | | | clock time
* 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
* 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
* 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
|
* auth: Reorder arguments to generate_session_infoAndrew Bartlett2012-02-183-12/+13
| | | | | | | | | 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
* 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
* auth: Make more of the ntlmssp code private or staticAndrew Bartlett2012-02-171-0/+1
| | | | | | | | | | Now that there is only one gensec_ntlmssp server, some of these functions can be static For the rest, put the implemtnation of the gensec_ntlmssp code into ntlmssp_private.h Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* auth: Move the rest of the source4 gensec_ntlmssp code to the top levelAndrew Bartlett2012-02-175-1021/+0
| | | | | | | | | | The ntlmssp_server code will be in common shortly, and aside from a symbol name or two, moving the client code causes no harm and makes less mess. We will also get the client code in common very soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* auth/kerberos: Move gse_get_session_key() to common code and use in ↵Andrew Bartlett2012-02-171-33/+22
| | | | | | | | | gensec_gssapi Thie ensures that both code bases use the same logic to determine the use of NEW_SPNEGO. Andrew Bartlett
* s4:provision: only print the adminpass if it was generated (not user-provided)Michael Adam2012-02-161-1/+5
|
* s4:provision: generate the adminpass provision() instead of provision_fill()Michael Adam2012-02-161-2/+3
| | | | | so that the adminpass can be logged at the end (otherwise we get "None")
* s4:provision: don't log the ldap admin password - it is internal onlyMichael Adam2012-02-161-3/+0
|
* s4-scripting: samba-tool: Fix domain info usage messageBjörn Baumbach2012-02-161-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-selftest: fix output of opened connections in torture_holdconBjörn Baumbach2012-02-161-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* selftest: Remove 'if have_ads_support:' from tests.pyAndrew Bartlett2012-02-161-18/+9
| | | | | | The selftest system now skips launching these if the environment is not available. Andrew Bartlett
* selftest: Run nsstest against more environmentsAndrew Bartlett2012-02-161-4/+5
|
* s4:torture: add another SMB2 rename testChristian Ambach2012-02-131-0/+130
| | | | | | | this mimics Word 2010 saving a file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Feb 13 18:33:43 CET 2012 on sn-devel-104
* s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPIAndrew Bartlett2012-02-131-1/+0
| | | | | | | The requirement for gss functions already make this happen, but this is clearer. No code depends on HAVE_GSSAPI any more. Andrew Bartlett
* s4-dsdb: Check if metadata.tdb exists, before trying to open itAmitay Isaacs2012-02-131-0/+6
| | | | | | | | | | This fixes the error output from tdb2 when metadata module tries to create metadata.tdb first time. This error is reported since metadata module tries to check if tdb exists by trying to open tdb file. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Feb 13 03:02:09 CET 2012 on sn-devel-104
* auth: Pass in the SMB username (for %U) into generate_session_infoAndrew Bartlett2012-02-135-6/+15
| | | | | | | | | This matches what Samba3 does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 13 01:25:59 CET 2012 on sn-devel-104
* s4:join python code - "msDS-KeyVersionNumber" does not exist on Win2kMatthias Dieter Wallnöfer2012-02-131-2/+6
| | | | | | | | No problem since "secretsdb_self_join()" then chooses 1 as a default value. Fix case sensitivity for "msDS-KeyVersionNumber". Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* waf: Add initial unit test for samba_utils.Jelmer Vernooij2012-02-121-0/+1
|
* s3-waf: add dependency on talloc or it won't build if talloc.h is not in the ↵Matthieu Patou2012-02-101-1/+1
| | | | | | | | | | default include path The problem occurs only if talloc, tdb and ldb are used as system libraries and talloc is not installed in a default. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Feb 10 23:27:29 CET 2012 on sn-devel-104
* s4:torture: add some SMB2 renaming testsChristian Ambach2012-02-103-1/+843
|
* s4-nbt_server: remove unused winsdb_get_seqnumber()Andrew Bartlett2012-02-101-26/+0
| | | | | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 10 08:21:41 CET 2012 on sn-devel-104
* s3-libsmb: Remove unused kerberos_set_creds_enctype()Andrew Bartlett2012-02-101-1/+0
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3-libsmb: Remove unused kerberos_compatible_enctypesAndrew Bartlett2012-02-101-1/+0
| | | | | | | | Also remove the unused configure tests for krb5_c_enctype_compare. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-lib/samba3: Remove unused smbpasswd_decode_acb_info()Andrew Bartlett2012-02-102-66/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-lib/tls: remove unused tls_support()Andrew Bartlett2012-02-102-15/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s4-cmdline: Remove unused popt_common_dont_ask()Andrew Bartlett2012-02-102-10/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* heimdal: Re-run lexyacc.sh to remove #line statementsAndrew Bartlett2012-02-107-327/+0
|
* heimdal_build: omit #line statmentsAndrew Bartlett2012-02-101-7/+9
| | | | | | | | | | | | | | | | This restores and finishes my original commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc, reverted in 68c61a829b8487104483b23052b54c532fecb6ce heimdal_build omit #line statments to allow valgrind to work again This time however, the reason to omit line statements is that it causes more trouble with the lcov code coverage system than the (nil) value that these statements bring. Otherwise, we have to have a special case to remove the .gcno and .gcda files for these generated files. Andrew Bartlett