summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb/common/util.c - samdb_is_pdc() - fail if the "fSMORoleOwner" ↵Matthias Dieter Wallnöfer2012-04-291-1/+5
| | | | attribute has not been set
* Add some debug for FOOBAR return case as they are hard to diagnoseMatthieu Patou2012-04-292-2/+8
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 29 09:08:15 CEST 2012 on sn-devel-104
* dsdb: more RELAX to DBCHECK control shift so that only dbcheck can do ↵Matthieu Patou2012-04-291-2/+2
| | | | uncontrolled changes
* dsdb: change control from relax to dbcheckMatthieu Patou2012-04-291-1/+1
| | | | | Comment indicate that this is needed by dbcheck only and it permits other projects to push broken schema and remain undetected
* dns server: move very verbose debug to higher level 2 -> 8Matthieu Patou2012-04-291-4/+4
|
* s3: Remove a SMB_ASSERTVolker Lendecke2012-04-281-1/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 28 23:38:45 CEST 2012 on sn-devel-104
* s3: Fix bug 8904 -- wbinfo --lookup-sids "" crashes winbindVolker Lendecke2012-04-281-5/+5
| | | | | | Much of the code further down and up the call chain expects the structures wb_lookupsids returns to be allocated. Do that despite we have nothing to look up.
* Add an audit file VFS routine so we can handle auditing with SACLs.Richard Sharpe2012-04-284-0/+35
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104
* s4:torture: add a check for talloc success in rpc.samba3.randomauth2Michael Adam2012-04-281-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 28 02:10:39 CEST 2012 on sn-devel-104
* s4:torture: add a check for talloc success in the rpc.samba3 suiteMichael Adam2012-04-281-0/+1
|
* s4:torture: add a rpc.samba3.smb2-reauth2 testMichael Adam2012-04-281-0/+136
| | | | like smb-reauth2, only for smb2
* s4:torture: add a rpc.samba3.smb2-reauth1 testMichael Adam2012-04-271-1/+161
|
* s4:librpc: create a binding on the pipe if necessary in ↵Stefan Metzmacher2012-04-271-0/+15
| | | | | | dcerpc_pipe_open_smb2_send() Pair-Programmed-With: Michael Adam <obnox@samba.org>
* selftest: Add test to ensure that bug #8872 does not come backAndrew Bartlett2012-04-271-0/+3
| | | | | | | | | The raw.composite test checks that we handle mutliple concurrent connections. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 27 16:25:37 CEST 2012 on sn-devel-104
* selftest: Place the test environment at the end of the failure linesAndrew Bartlett2012-04-274-53/+63
| | | | | | | This allows a knownfail entry to be added for only one environment, rather than all environments. Andrew Bartlett
* selftest: Remove silly space before unit test nameAndrew Bartlett2012-04-272-58/+62
| | | | | | When we have no description, there is no need for a leading space here Andrew Bartlett
* s3:winbindd: also try SMB2 when connecting to "IPC$"Stefan Metzmacher2012-04-271-7/+20
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 27 13:10:15 CEST 2012 on sn-devel-104
* s3:libsmb/cli_np_tstream: add support for SMB2Stefan Metzmacher2012-04-271-41/+190
| | | | metze
* s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing()Stefan Metzmacher2012-04-272-34/+0
| | | | metze
* s3:libsmb: add smb2cli_ioctl*Stefan Metzmacher2012-04-274-0/+360
| | | | metze
* libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher2012-04-272-3/+3
| | | | metze
* s4:ntvfs/ipc: don't echo back the smb2 ioctl input_bufferStefan Metzmacher2012-04-271-1/+1
| | | | metze
* s3: oplock_timeout is a talloc child of fspVolker Lendecke2012-04-261-3/+0
| | | | | | | | | Jeremy, I know you like it explicit, but I stumbled across this explicit TALLOC_FREE and asked myself about a potentially wrong talloc hierarchy. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 26 23:00:03 CEST 2012 on sn-devel-104
* s3: Remove code TALLOC_FREE already doesVolker Lendecke2012-04-261-5/+1
|
* torture: change dfs tests now that we return a level 4 when level 4 is requestedMatthieu Patou2012-04-261-3/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Apr 26 21:25:37 CEST 2012 on sn-devel-104
* dfs_server: fix the response to please XP and Windows 2008R2 doing so avoid ↵Matthieu Patou2012-04-261-4/+12
| | | | continious DFS requests from W2K8R2
* replace: Fix use of mktempSimo Sorce2012-04-261-2/+2
| | | | | | | | mktemp always returns the template, so checking for NULL doesn't cactch any error. Errors are reported by turning the template into an empty string. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 26 16:14:24 CEST 2012 on sn-devel-104
* addns: clean up headersSimo Sorce2012-04-261-33/+0
| | | | All this stuff is already included properly in the replace headers on top.
* s3: Remove an unused variableVolker Lendecke2012-04-261-1/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 26 12:17:14 CEST 2012 on sn-devel-104
* s4-torture: never return false in the raw.composite torture testAndrew Bartlett2012-04-261-39/+7
| | | | | | | | | | | We must use torture_assert() macros to ensure that the failure is recorded in the subunit stream correctly, rather than being returned as an unknown 'error'. (We cannot handle error results as knownfail). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 26 04:00:16 CEST 2012 on sn-devel-104
* selftest: push --target selection into plansmbtorturetestsuiteAndrew Bartlett2012-04-261-3/+4
|
* s4:torture: add a rpc.samba3.smb-reauth2 testMichael Adam2012-04-261-0/+145
| | | | | | | | | | | | | | | * Open session. * Reauth to anon. * Open lsa pipe. * Do lsa get username. * Rauth to original user. * Do lsa get username again. expected result: the getusername works and shows 'NT AUTHORITY\ANONYMOUS LOGON' in both calls. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Apr 26 02:27:12 CEST 2012 on sn-devel-104
* s4:torture: add a rpc.samba3.smb-reauth1 testMichael Adam2012-04-251-0/+165
| | | | | | | | | | | | | | | It does reauth while using an rpc pipe: * open session * open lsa pipe * do lsa getusername * reauth to anonymous * do lsa getusername again * reauth back to original user * do reauth again result: lsa getusername is always possible and always gives the first (authenticated user)
* s4:torture: add a raw.session suite with a raw.session.reauth testGregor Beck2012-04-253-1/+92
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Fix bug reported by Dina_Fine@Dell.com.Jeremy Allison2012-04-251-16/+19
| | | | | | | | Don't ask the DC for an IP list when locating kdc's. Ask for the name and use getaddrinfo to get all possible addresses instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 25 22:01:18 CEST 2012 on sn-devel-104
* libcli: Use data_blob_nullVolker Lendecke2012-04-251-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 25 18:54:51 CEST 2012 on sn-devel-104
* selftest: remove printserver.enum_printers_servername from flappingMichael Adam2012-04-251-1/+0
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 25 17:18:28 CEST 2012 on sn-devel-104
* selftest: remove samba3.rpc.spoolss.*printserver.openprinter_badnamelist ↵Michael Adam2012-04-251-1/+0
| | | | | | from flapping Signed-off-by: Andreas Schneider <asn@samba.org>
* selftest: mark the driver_info_winreg tests knownfail.Michael Adam2012-04-251-0/+2
| | | | | | They only get executed when driver files are around. Signed-off-by: Andreas Schneider <asn@samba.org>
* selftest: mark failing print_tests more specificallyMichael Adam2012-04-251-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* selftest: remove .*printer.*print_test_extended from flappingMichael Adam2012-04-251-1/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* selftest: remove the "rpc.spoolss.printer" test from flappingMichael Adam2012-04-251-1/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: replace call to reg_openkey() in reg_createkey() by accesscheck.Michael Adam2012-04-251-8/+10
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: remove a superfluous fill_subkey_cache() in reg_createkey()Michael Adam2012-04-251-5/+0
| | | | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: use fill_subkey_cache to check exsistence in ↵Michael Adam2012-04-251-11/+2
| | | | | | | | regkey_open_onelevel(). Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: let fill_subkey_cache return WERR_BADFILE when the subkey list ↵Michael Adam2012-04-251-1/+1
| | | | | | | | | | could not be loaded WERR_NO_MORE_ITEMS seems inappropriate. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: convert reg_openkey() to use talloc instead of SMB_STRDUP etcMichael Adam2012-04-251-15/+12
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry untangle an assignment from the check in regkey_open_onelevel()Michael Adam2012-04-251-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: untangle assignment from check in regkey_open_onelevel()Michael Adam2012-04-251-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: fix seqnum race in regdb_fetch_keys_internalMichael Adam2012-04-251-3/+22
| | | | | | | | | | | This prevents race between fetching seqnum and key content. Because there is currently no way to atomically fetch the record along with the seqnum, I use a loop. This is far from optimal and should should ideally be done differently. But for now it fixes the race. Signed-off-by: Andreas Schneider <asn@samba.org>