summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* torture-dfs: fix a typo that was causing the test to be flackyMatthieu Patou2011-05-201-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
* selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett2011-05-185-0/+170
|
* s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett2011-05-184-49/+21
| | | | | | | | libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
* build: Expand dcerpc-samba grouping libraryAndrew Bartlett2011-05-181-1/+1
| | | | | | | This is possible in common now because the generated RPC code does not rely on a particular dcerpc layer. Andrew Bartlett
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-181-2/+3
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
* s4-selftest: gensec test is finished, don't skipAndrew Bartlett2011-05-181-1/+0
|
* selftest: Don't skip Samba3 tests in the top level buildAndrew Bartlett2011-05-181-56/+64
| | | | | | | | | The regular expressions here were not specific enough, they matched the samba3. names from the source3/selftest/tests.py Found by Andreas Schneider Andrew Bartlett
* torture: desactivate the level 4 tests for DFS referralMatthieu Patou2011-05-181-2/+17
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed May 18 13:04:00 CEST 2011 on sn-devel-104
* s4-dfs: Add workaround so that XP really works wellMatthieu Patou2011-05-181-13/+18
| | | | | XP seems to have problems working at a correct speed (or even working at all if we return referral of level 4).
* s4:ntvfs/cifs: return NT_STATUS_INTERNAL_ERROR if no credentials are availableStefan Metzmacher2011-05-181-1/+1
| | | | | | | | | | This is a configuration problem on the server, no invalid parameter from the client. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 08:49:00 CEST 2011 on sn-devel-104
* s4:kdc: split s4u2self and s4u2proxy checksStefan Metzmacher2011-05-184-23/+55
| | | | metze
* s4:kdc: UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION => ↵Stefan Metzmacher2011-05-181-0/+14
| | | | | | flags.trusted_for_delegation metze
* s4:auth/credentials: S4U2Self should force CRED_MUST_USE_KERBEROSStefan Metzmacher2011-05-181-0/+1
| | | | | | | | Otherwise we would not impersonate the desired principal. This still doesn't work for plaintext auth, but should avoid ntlmssp. metze
* s4:auth/credentials: pass 'self_service' to ↵Stefan Metzmacher2011-05-185-10/+36
| | | | | | | | | | | | cli_credentials_set_impersonate_principal() This also adds a cli_credentials_get_self_service() helper function. In order to support S4U2Proxy we need to be able to set the service principal for the S4U2Self step independent of the target principal. metze
* s4:gensec_gssapi: avoid delegation if s4u2self/proxy is usedStefan Metzmacher2011-05-181-0/+4
| | | | metze
* HEIMDAL:kdc: check and regenerate the PAC in the s4u2proxy caseStefan Metzmacher2011-05-181-13/+38
| | | | | | TODO: we need to add a S4U_DELEGATION_INFO to the PAC later. metze
* HEIMDAL:kdc: pass the correct principal name for the resulting service ticketStefan Metzmacher2011-05-181-38/+36
| | | | | | | Depending on S4U2Proxy the principal name for the resulting ticket is not the principal of the client ticket. metze
* HEIMDAL:kdc: let check_PAC() to verify the incoming server and krbtgt cheksumsStefan Metzmacher2011-05-181-4/+7
| | | | | | | | For a normal TGS-REQ they're both signed with krbtgt key. But for S4U2Proxy requests which ask for contrained delegation, the keys differ. metze
* s4-dfs: Use a workaround for ndr relative pointer bug/limitationMatthieu Patou2011-05-171-11/+8
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue May 17 01:33:27 CEST 2011 on sn-devel-104
* s4-torture: Add more tests to DFS referral suiteMatthieu Patou2011-05-171-4/+30
|
* torture: adapt to idl evolutionroot2011-05-172-48/+48
|
* s4-dfs: clean the codeMatthieu Patou2011-05-171-44/+50
|
* s4-dfs: fix bugs in idl and adapt code accordinglyMatthieu Patou2011-05-171-17/+23
|
* s4-python: add an option for just fixing gpo foldersMatthieu Patou2011-05-171-189/+196
|
* s4-python: keep wheel_gid as an integerMatthieu Patou2011-05-171-1/+1
|
* s4-python: raise an error if unable to bind remote ldap while joiningMatthieu Patou2011-05-171-0/+11
|
* waf: Enable Samba3 torture tests in top level build.Andreas Schneider2011-05-161-12/+12
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 13:57:01 CEST 2011 on sn-devel-104
* s4-smbtorture: add test_netremotetod.Günther Deschner2011-05-162-0/+18
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
* s4-libcli/rap: add smbcli_rap_netremotetod().Günther Deschner2011-05-161-0/+47
| | | | Guenther
* do an explicit A record search for SRV entriesLuke Howard2011-05-131-4/+22
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/test/getnc_exop: Tune the the test to work against windowsKamen Mazdrashki2011-05-131-17/+27
| | | | | | | | | | | It turns out that sometimes, w2k8-r2 returns objects even when FSMO extended request has failed. Also verify that target DC returns source_dsa_guid and source_dsa_invocation_id correctly Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri May 13 02:26:04 CEST 2011 on sn-devel-104
* s4/drepl_fsmo: Add an CR so that message is visible in the logsKamen Mazdrashki2011-05-111-1/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed May 11 21:03:59 CEST 2011 on sn-devel-104
* s4/getnc_exop: Initial implementation of a testsuite for GetNCChanges ↵Kamen Mazdrashki2011-05-111-0/+136
| | | | extended opeartion handling
* s4/getncchanges: Pre-mark extended requests as success in case a ↵Kamen Mazdrashki2011-05-111-0/+4
| | | | sub-function "forget" to do this
* s4/getncchanges: Implement placeholder for handling ex-op collection of objectsKamen Mazdrashki2011-05-111-13/+44
| | | | | Right now it is solely based on function that handles objects in normal DsGetNCChanges calls.
* s4/getncchanges: Move the code that collects objects into separate functionKamen Mazdrashki2011-05-111-41/+67
|
* s4/getncchanges: Don't mask Extended operation result - callers need itKamen Mazdrashki2011-05-111-1/+0
|
* s4/getncchanges: Fail extended request rather than failing whole requestKamen Mazdrashki2011-05-111-1/+3
| | | | in case that destination_dsa_guid is not valid
* build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett2011-05-091-6/+1
| | | | | | | | | This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
* selftest: Test both users created in plugin_s4_dc environmentAndrew Bartlett2011-05-091-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
* selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki2011-05-081-10/+14
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104
* s4-selftest Add tests for proxy_samba4_dcAndrew Bartlett2011-05-081-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
* ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett2011-05-081-0/+7
| | | | | | | This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
* s4-dsdb Add transactions to dsdb modify helpersAndrew Bartlett2011-05-081-0/+18
|
* s4-samr Remove incorrect transaction_cancel() in error pathAndrew Bartlett2011-05-081-1/+0
| | | | | | The transactions are now handled entirely within dsdb_add_user() Andrew Bartlett
* s4-param cope with doulbe-parsing of -foo and +foo listsAndrew Bartlett2011-05-081-3/+9
| | | | | | | For some reason these lists are parsed twice, and so any -foo was failing as it was already removed the first time. Andrew Bartlett
* s4-interfaces: keep interfaces in the order they were declaredAndrew Tridgell2011-05-081-1/+5
| | | | | | | | | the spoolss notify test depends on the interfaces order Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun May 8 13:57:58 CEST 2011 on sn-devel-104
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-0828-113/+113
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* lib/socket move interfaces code to the top levelAndrew Bartlett2011-05-083-334/+6
|
* s4-lib/socket Samba4 is not IPv6 compatibleAndrew Bartlett2011-05-081-0/+5
| | | | | | | | | Don't add IPv6 interfaces until we actually support them. I'll soon have IPv6 service at home, and then I'll make it my buisness to sort this out once and for all. Andrew Bartlett