summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* upgradedns: Rename to less generic name samba_upgradedns.Jelmer Vernooij2012-02-243-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Feb 24 15:07:27 CET 2012 on sn-devel-104
* auth: Rename some elements of auth4_contextAndrew Bartlett2012-02-241-3/+3
| | | | | | These operate on NTLM authentication, so make that clear. Andrew Bartlett
* s4-heimdal: Remove the execute flag of cfx.c.Andreas Schneider2012-02-231-0/+0
| | | | | The scripts which are extracting debuginfo are looking for files with the executable bit and find cfx.c which isn't a executable.
* dcerpc_server: Add 'modulesdir' variable to pkg-config file.Jelmer Vernooij2012-02-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 23 16:26:25 CET 2012 on sn-devel-104
* s4-provision: Fix typo in 9b9fdeefb47f2657c9bb4c2f48318550da510209Andrew Bartlett2012-02-231-3/+3
| | | | | | This was not found to to a bug in the selftest system. Andrew Bartlett
* s4:smbcli:smb2: add a random GUID to the transport connection in ↵Michael Adam2012-02-231-1/+5
| | | | | | | | | | | | | | | | | | | | smb2_transport_init() This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202. According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the SMB2 negotiate request must be filled with a (non-zero) GUID if there are other dialects than 0x0202 in the dialects field. http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx Apart from corresponding to the docs, this change makes some of our durable-open tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8 preview (which might be still buggy). Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104
* s4:torture:smb2: add a durable-open.open-oplock testMichael Adam2012-02-211-0/+85
| | | | | | | | | | | this is a variant of the open-lease test that does the initial durable open with a batch oplock instead of a RH lease. This is e.g. useful do analyse a (mis?) behaviour with current windows 8 preview versions, compared to w2k8r2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
* s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam2012-02-211-8/+8
|
* s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam2012-02-211-5/+7
|
* s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam2012-02-211-2/+2
| | | | in durable-open.open test
* s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam2012-02-211-1/+1
|
* 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>