summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: Add transaction wrapper for creating GPOAmitay Isaacs2011-12-201-51/+44
| | | | | | | | This ensures that if the GPT files are not copied via SMB, AD changes are rolled back. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Dec 20 09:12:41 CET 2011 on sn-devel-104
* s4-dsdb: Relax the conditions where we can't do a subtree deleteMatthieu Patou2011-12-191-1/+19
| | | | | | | | | If the parent object is a SAM object (as defined in 3.1.1.5.2.3 Special Classes and Attributes of MS-ADTS) then we can use the subtree delete control even if the object is a critical one. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Dec 19 14:32:19 CET 2011 on sn-devel-104
* s4:drsuapi/getncchanges: return WERR_NOMEM if talloc_array() failsStefan Metzmacher2011-12-191-0/+3
| | | | metze
* s4-drs: introduce a timeout in the getncchanges processing to always return ↵Matthieu Patou2011-12-191-6/+27
| | | | | | | something in less than x seconds Signed-off-by: Andrew Tridgell <tridge@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-drs: avoid calling unecesserly ldb_msg_find_attr_as_* as this call in ↵Matthieu Patou2011-12-191-26/+45
| | | | | | | | | | | | unefficient Current implementation of ldb_msg_find_attr_as_* iterate on the list of attributes returned by the search and make a string comparison. As we sorting the array of messages / guids we tend to call this function many times. By storing the GUID and the USN in a separate structure we are sure to call this function only once per attribute and object. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-becomedc: replicate first with DRS_CRITICAL_ONLY and DRS_GET_ANC objects ↵Matthieu Patou2011-12-191-0/+13
| | | | | | | | | | | for the base dn partition Windows dcpromo do the same: getncchanges with DRS_GET_ANC and DRS_CRITICAL_ONLY, then it does a getncchanges without those flags for the rest. Signed-off-by: Andrew Tridgell <tridge@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-join: replicate first with DRS_CRITICAL_ONLY and DRS_GET_ANC objects for ↵Matthieu Patou2011-12-191-0/+10
| | | | | | | | | | | the base dn partition Windows dcpromo do the same: getncchanges with DRS_GET_ANC and DRS_CRITICAL_ONLY, then it does a getncchanges without those flags for the rest. Signed-off-by: Andrew Tridgell <tridge@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Fix the clustering buildVolker Lendecke2011-12-173-5/+5
| | | | | | | ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
* s4 dns: Allow updates based on smb.conf settingKai Blin2011-12-172-2/+29
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
* s4 dns: Add some debug outputKai Blin2011-12-171-0/+3
|
* s4 dns: Actually handle the update requestKai Blin2011-12-173-0/+383
|
* s4 dns: Implement RFC-compatible update prescanKai Blin2011-12-171-3/+37
|
* s4 dns: Update prerequisite checking conforming to RFCKai Blin2011-12-174-42/+313
|
* s4 dns: Give better test output on RCODE mismatchKai Blin2011-12-171-1/+20
|
* s4 dns: Move record lookup to dns_utils.cKai Blin2011-12-173-36/+58
|
* s4 dns: Implement dns record comparison functionKai Blin2011-12-172-0/+57
|
* s4 dns: Implement dns name equality checkKai Blin2011-12-172-0/+10
|
* s4 dns: Fix some typos in comments and a whitespaceKai Blin2011-12-171-3/+3
|
* s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR statusStefan Metzmacher2011-12-171-0/+7
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 17 01:09:32 CET 2011 on sn-devel-104
* s4:libcli/rap: the caller should get talloc children from ↵Stefan Metzmacher2011-12-162-1/+6
| | | | | | | | | | | | call->ndr_pull_{param,data} This should fix the flakey 'rap.printing.rap_printq_getinfo' test, see https://git.samba.org/autobuild.flakey/2011-12-16-0022/samba4.stdout metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 13:11:42 CET 2011 on sn-devel-104
* s4:libcli/rap: call->ndr_push_{param,data} can be talloc childs of 'call'Stefan Metzmacher2011-12-161-2/+2
| | | | metze
* s4:libcli/rap: use talloc_zero() and initialize everythingStefan Metzmacher2011-12-161-8/+3
| | | | metze
* s4:libcli/rap: remove unused members from struct rap_callStefan Metzmacher2011-12-161-3/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 10:53:42 CET 2011 on sn-devel-104
* s4:libcli/rap: initialize call->rcv_datalenStefan Metzmacher2011-12-161-0/+1
| | | | metze
* pidfile: use set_close_on_exec()Andrew Tridgell2011-12-151-0/+2
| | | | this prevents a fd leak to child processes
* s4-socket: use set_close_on_exec()Andrew Tridgell2011-12-152-0/+8
| | | | this prevents a fd leak to child processes
* s4-smbtorture: make sure we can successfully run the schannel test against ↵Günther Deschner2011-12-141-16/+30
| | | | | | | | | | | | windows. lsa lookupsids3/lookupnames4 is only available over schannel sealed ncacn_ip_tcp. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 17:28:29 CET 2011 on sn-devel-104
* s4-torture: LookupSids3 is only available over NCACN_IP_TCP.Andreas Schneider2011-12-141-1/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
* s4-torture: Fix schannel test against win2k8.Andreas Schneider2011-12-141-4/+4
|
* s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider2011-12-142-11/+42
| | | | | | | | | | Windows Server 2008 returns NT_STATUS_DOWNGRADE_DETECTED if you call netrServerAuthenticate2 during a domain join without setting the strong keys flag (128bit crypto). Only for NT4 we need to do a downgrade to the returned negotiate flags. See also 0970369ca0cb9ae465cff40e5c75739824daf1d0.
* s4-netlogon: Revert patch f02e4ebfafa6e5911e3fe744b1780527ab12c970Amitay Isaacs2011-12-141-5/+0
| | | | | | | DS_DNS_CONTROLLER bit is set if DC's domain name is dns name. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Dec 14 07:31:05 CET 2011 on sn-devel-104
* samba-tool: Fix DN for GPO entriesAmitay Isaacs2011-12-141-8/+2
|
* samba-tool: gpo: fix a typoAmitay Isaacs2011-12-141-1/+1
|
* samba-tool: Remove duplicate code of dsacl to fsacl conversionAmitay Isaacs2011-12-141-38/+10
| | | | Use samba.ntacls.dsacl2fsacl() instead.
* setup: Fix phpldapadmin configuration for version 1.2.xAmitay Isaacs2011-12-141-18/+10
|
* s4-smbtorture: fix some typos in schannel test.Günther Deschner2011-12-141-3/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 02:52:54 CET 2011 on sn-devel-104
* s4-smbtorture: avoid printf(); in schannel test.Günther Deschner2011-12-141-13/+13
| | | | Guenther
* s4-smbtorture: remove trailing whitespace from schannel test.Günther Deschner2011-12-141-41/+41
| | | | Guenther
* s4-resolv: fix dns_ex so as to fail correctly when a name does not existAndrew Bartlett2011-12-141-0/+9
| | | | | | | | | | | | | Without this, netbios name lookups do not work, as we never fall back to them. This caused segfaults from e38d97e0424f7e5b21c8b7ac0b1f1bac33f19d69 to 251209bd6f6e66ca9bcf28cd652d85d1cd729fdc and then name lookup failure or timeouts until this patch. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 14 01:16:37 CET 2011 on sn-devel-104
* s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett2011-12-131-0/+1
| | | | | | This tries to ensure our netbios lookup code is still run. Andrew Bartlett
* s4-selftest Give local.resolve a real name to look upAndrew Bartlett2011-12-131-1/+2
|
* s4:pydsdb: remove unused variable from py_dsdb_am_pdc()Stefan Metzmacher2011-12-131-1/+0
| | | | metze
* s4-provision: Do not guess partition file names, use @PARTITION recordAmitay Isaacs2011-12-131-59/+76
| | | | | | | | | | | This is to avoid duplicating the logic of generating partition file names. (partition file names are encoded partially as per RFC1738). Also, use tdb_copy() instead of filesystem copy function to copy database files, which guarantees correct database copy. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Dec 13 03:28:03 CET 2011 on sn-devel-104
* s4-param: Added bin_dir(),sbin_dir() methods to get compiled in dirsAmitay Isaacs2011-12-131-3/+17
|
* s4-provision: Extract common utility routines in separate fileAmitay Isaacs2011-12-133-92/+106
|
* s4-provision: CN=MicrosoftDNS,CN=System container is in forest and not domainAmitay Isaacs2011-12-131-10/+10
|
* s4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserverAmitay Isaacs2011-12-131-0/+5
| | | | | Till we have internal DNS server which appears in services, use endpoint services to find out if we are running dns server.
* s4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA ↵Stefan Metzmacher2011-12-121-1/+1
| | | | | | | | | | | object This matches the values we set in provision. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 12 19:16:13 CET 2011 on sn-devel-104
* HEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow loggingAndrew Bartlett2011-12-121-6/+6
| | | | | | | | | | Without this, log messages from any abort are not printed to the samba logs. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Dec 12 14:34:16 CET 2011 on sn-devel-104
* s4-torture Do not use a fixed password for forest trust testsAndrew Bartlett2011-12-121-7/+13
| | | | | | It is much better to always use random passwords. Andrew Bartlett