summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ldb:"ldb_extended" -make the call more similar to "ldb_search"Matthias Dieter Wallnöfer2011-09-191-2/+6
| | | | | | For example NULL out the LDB result pointer on failures. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pyldb: fixed places where we try to concatenate a Dn with a stringAndrew Tridgell2011-09-194-22/+22
| | | | you need to either use str(dn) or use %s in a format string
* s4-provision: use get_config_basedn() in DNS setupAndrew Tridgell2011-09-191-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: use get_config_basedn() to get configuration NC DNAndrew Tridgell2011-09-192-9/+7
| | | | | | this allows these commands to work for subdomains Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kdc: default kvno for inter-domain trusts to zeroAndrew Tridgell2011-09-191-1/+9
| | | | | | | | | | the exact value doesn't matter, as both Samba and windows check against the latest password, but the old default of -1 caused ASN.1 parsing errors on windows, which prevented it answering TGS requests thanks to Hongwei Sun for finding this from a ttt trace Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use get_config_basedn() in python testsAndrew Tridgell2011-09-194-18/+18
| | | | | | | we can't just append CN=Configuration to the basedn, as that won't give the right configuration DN for a subdomain of a forest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: cope with REPL_OBJ getncchanges call for new objectAndrew Tridgell2011-09-191-5/+10
| | | | | | | | when we do a subdomain join we create a new object using a REPL_OBJ getncchanges call for the partitions DN. This has a side effect of creating that object. We need to skip the UDV update in that case Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision Add initial support for joining as a new subdomainAndrew Bartlett2011-09-192-133/+154
| | | | | | | | To do this we need to reorganise a lot of the provision code, so that we can create the framework for the inbound replicaton of the config and schema partitions and then add in the new subdomain locally. Andrew Bartlett
* Fix a typo. This is not an electromagnet pulse daemon I guess :-)Volker Lendecke2011-09-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 19 01:25:23 CEST 2011 on sn-devel-104
* s3: Add some const to create_local_private_krb5_conf_for_domainVolker Lendecke2011-09-182-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 23:31:28 CEST 2011 on sn-devel-104
* s3: Add some const to print_kdc_lineVolker Lendecke2011-09-181-1/+1
|
* s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2011-09-183-18/+18
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
* s3: Fix a c++ warningVolker Lendecke2011-09-181-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 18:55:48 CEST 2011 on sn-devel-104
* s3: Fix "ISO C90 forbids mixed declarations and code"Volker Lendecke2011-09-181-3/+3
|
* swrap: Fix a c++ warningVolker Lendecke2011-09-181-1/+2
|
* s3: Fix two c++ warningsVolker Lendecke2011-09-181-2/+2
|
* pyldb: Drop unnecessary dependency on pytalloc-util.Jelmer Vernooij2011-09-182-2/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 18 17:23:40 CEST 2011 on sn-devel-104
* s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher2011-09-1811-0/+25
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
* s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher2011-09-1811-17/+153
| | | | | | | | | smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
* s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵Stefan Metzmacher2011-09-181-1/+12
| | | | | | smb2 response metze
* s3:smb2cli: ignore async interim responses and store the async_idStefan Metzmacher2011-09-181-0/+12
| | | | metze
* s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flagStefan Metzmacher2011-09-181-0/+8
| | | | metze
* s3:smb2cli: validate the opcode from the server is as expectedStefan Metzmacher2011-09-181-3/+14
| | | | metze
* s3:smb2cli: initialize status if we got an unexpected responseStefan Metzmacher2011-09-181-0/+1
| | | | metze
* s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵Stefan Metzmacher2011-09-181-0/+8
| | | | | | caller ships it metze
* s3:libsmb: return if tevent_req_set_endtime() failsStefan Metzmacher2011-09-181-2/+4
| | | | | | tevent_req_set_endtime() already calls tevent_req_nomem(). metze
* s3:SMB2-BASIC: test smb2cli_flush()Stefan Metzmacher2011-09-181-0/+6
| | | | metze
* s3:smb2cli: SMB2_FLUSH responses have a body size of 4Stefan Metzmacher2011-09-181-1/+1
| | | | metze
* s3: Trim a debug to 80 charsVolker Lendecke2011-09-181-6/+11
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 01:15:02 CEST 2011 on sn-devel-104
* s3: Fix a cut&paste errorVolker Lendecke2011-09-171-1/+1
|
* s4:selftest: skip flakey samba4.drs.repl_schema.python for nowStefan Metzmacher2011-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UNEXPECTED(error): samba4.drs.repl_schema.python(vampire_dc).repl_schema.DrsReplSchemaTestCase.test_classWithCustomAttribute REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 49F Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method testMethod() File "/memdisk/autobuild/flakey/b12973/samba4/source4/torture/drs/python/repl_schema.py", line 179, in test_classWithCustomAttribute self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1, nc_dn=self.schema_dn) File "/memdisk/autobuild/flakey/b12973/samba4/source4/torture/drs/python/drs_base.py", line 110, in _net_drs_replicate return self.check_output(cmd_line) File "bin/python/samba/tests/__init__.py", line 157, in check_output raise BlackboxProcessError(retcode, line, p.stdout.read(), p.stderr.read()) BlackboxProcessError: Command '/memdisk/autobuild/flakey/b12973/samba4/bin/samba-tool drs replicate -USAMBADOMAIN/Administrator%locDCpass1 --sync-forced LOCALVAMPIREDC.samba.example.com localdc.samba.example.com CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com'; exit status 255; stdout: ''; stderr: 'ERROR(runtime): DsReplicaSync failed - (-1073741807, 'NT_STATUS_END_OF_FILE') ' 0 As this is an error, we have to skip it instead of adding it to the knowfail file metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 17 08:43:31 CEST 2011 on sn-devel-104
* s3: Fix bug 8455 -- Samba PDC is looking up only primary user groupVolker Lendecke2011-09-171-7/+7
| | | | | | | | | group_sids_to_info3 does a sid_peek_check_rid on the domain sid before adding the rids to the array. If the domain sid is 0x0, then the check will always fail. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Sep 17 00:51:27 CEST 2011 on sn-devel-104
* libcli/smb: add SMB2_DIALECT_REVISION_222Stefan Metzmacher2011-09-161-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 16 19:51:47 CEST 2011 on sn-devel-104
* libcli/smb: add PROTOCOL_SMB2_22Stefan Metzmacher2011-09-161-1/+2
| | | | metze
* s3:libsmb: forward declaration for struct smb_trans_enc_stateStefan Metzmacher2011-09-161-0/+2
| | | | metze
* s3-waf: finally make SO_PEERCRED configure check work with stricter CFLAGS.Günther Deschner2011-09-161-3/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Sep 16 14:14:48 CEST 2011 on sn-devel-104
* s3: Trim lines in nfs4_acls.cVolker Lendecke2011-09-161-41/+75
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 16 01:39:36 CEST 2011 on sn-devel-104
* s3: Fix some nonempty blank linesVolker Lendecke2011-09-161-17/+17
|
* s3: Make sharesec optionally use sddlVolker Lendecke2011-09-161-1/+76
|
* s4:upgrade_from_s3 - old s3 versions < 3.4.x don't have a "state directory" ↵Matthias Dieter Wallnöfer2011-09-161-1/+5
| | | | | | | | | param Hence the "lock directory" path has to be used instead. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Sep 16 00:07:30 CEST 2011 on sn-devel-104
* talloc: change version to 2.0.7talloc-2.0.7Stefan Metzmacher2011-09-153-1/+69
| | | | | | | | | | The version change is needed because the ABI file of the pytalloc code was fixed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 22:32:59 CEST 2011 on sn-devel-104
* s3-waf: fix SO_PEERCRED configure check.Günther Deschner2011-09-151-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 20:59:26 CEST 2011 on sn-devel-104
* rpc_server: Improve debug message for sys_getpeereid().Andreas Schneider2011-09-151-1/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Sep 15 19:23:43 CEST 2011 on sn-devel-104
* s3:libsmb: remove unused cli_*encryption* functionsStefan Metzmacher2011-09-152-48/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
* s3:libsmb: s/cli_encryption_on/cli_state_encryption_on()Stefan Metzmacher2011-09-152-4/+4
| | | | metze
* waf: restore libsmbclient handling.Günther Deschner2011-09-154-10/+9
| | | | | | | | | | | | This is a temporary solution to get libsmbclient installed properly as a library (including symlinks and proper symbols). I was not able to make the old internal library name 'libsmb/smbclient' work together with "realname" and/or "link_name". Maybe one of the waf gurus has more ideas here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Sep 15 15:31:59 CEST 2011 on sn-devel-104
* s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2011-09-153-12/+18
| | | | | | | | | cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104
* s3:libsmb: split cli->secblob into ↵Stefan Metzmacher2011-09-153-22/+81
| | | | | | cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
* s3:auth_server: make use of cli_state_server_challenge()Stefan Metzmacher2011-09-151-7/+5
| | | | metze
* s3:libsmb: make use of cli_state_server_gss_blob()Stefan Metzmacher2011-09-151-5/+9
| | | | metze