summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:vfs:shadow_copy2: Fix shadow-copy module for drag&drop from a snapshotVolker Lendecke2011-01-211-0/+4
| | | | | | | We have to return NT_STATUS_NOT_SAME_DEVICE to trigger the Windows client to start a copy itself. Unbeknownst to us via the ACLs snapshots are read-only, so a rename would trigger a EACCES. Unfortunately the MacOS/X finder does not do the smart NOT_SAME_DEVICE fallback that Windows does.
* s3:registry correct a debug levelChristian Ambach2011-01-211-1/+1
| | | | this is not a level 0 message, move it to 10
* s3:winbind: Protect against invalid winbindd_cache entries in lookupridsVolker Lendecke2011-01-211-1/+2
|
* s3-net: add roundtrip tests for registry import/exportGregor Beck2011-01-211-0/+88
|
* packaging(RHEL-CTDB): explicitly build the tsm vfs module.Volker Lendecke2011-01-211-1/+1
|
* s3: Fix the code to immediately disconnect from a non-working ctdbdVolker Lendecke2011-01-211-0/+1
|
* s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)Rusty Russell2011-01-211-1/+11
| | | | | | | | | | | | | | | | On my autocluster setup, it's not set. Maybe it should be? Otherwise smbclient and some Windows client programs will get errors like: # smbclient //localhost/data -Uadministrator%XXX Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10] smb: \> put /etc/resolv.conf resolv.conf NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf smb: \> Caused by attempting to update the time on close. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Michael Adam <obnox@samba.org>
* pidl:Samba4/NDR/Client: remove compat mode for dcerpc_pipe based bindingsStefan Metzmacher2011-01-211-57/+0
| | | | | | | | | | The only consumer "openchange" uses the dcerpc_binding_handle based functions now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 21 08:16:25 CET 2011 on sn-devel-104
* s3:librpc: remove prototype of dcerpc_binding_handle_set_ref_alloc()Stefan Metzmacher2011-01-211-3/+0
| | | | | | This function doesn't exist anymore. metze
* Remove all uses of "./" in pathnames - make canonical. This will become ↵Jeremy Allison2011-01-211-50/+78
| | | | | | | important when we need to guarantee canonical names for hashing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jan 21 02:59:56 CET 2011 on sn-devel-104
* Ensure we don't use "./" in findfirst pathnames. Use a directory open of "." ↵Jeremy Allison2011-01-201-4/+8
| | | | instead.
* Make processing of incoming stream rename paths common between reply_mv and ↵Jeremy Allison2011-01-203-23/+48
| | | | ntrename. Ensure we don't depend on "./" in the streams module.
* s4/wintest New ESXi configuration fileZahari Zahariev2011-01-211-0/+46
| | | | | | | | | | This is a way to use wintest as it is unchanged and work with ESXi virtualization solution instead of VirtualBox or KVM. As the virtualization server is a remote Linux like machine I use 'sshpass' wrapper SSH to execute stop/reset/revert commands. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jan 21 00:29:15 CET 2011 on sn-devel-104
* s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett2011-01-2014-288/+257
| | | | | | | | | | | | This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
* s4-gensec Add prototype for gensec_ntlmssp_init()Andrew Bartlett2011-01-201-0/+2
| | | | Andrew Bartlett
* libcli/auth move ntlmssp_wrap() and ntlmssp_unwrap() into common code.Andrew Bartlett2011-01-203-123/+159
| | | | | | | The idea here is to allow the source3/libads/sasl.c code to call this instead of the lower level ntlmssp_* functions. Andrew Bartlett
* s4:selftest: mark samba4.nbt.winsreplication.owned as knownfailStefan Metzmacher2011-01-201-0/+1
| | | | | | | | | This sometimes fails on a busy server. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 09:29:12 CET 2011 on sn-devel-104
* s4:selftest/skip: remove samba4.tokengroups.pythonStefan Metzmacher2011-01-201-1/+0
| | | | metze
* s3:smbd: use anonymous_shared_free() for shared memory signing stateStefan Metzmacher2011-01-201-0/+7
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 07:48:29 CET 2011 on sn-devel-104
* lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2011-01-203-1/+87
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
* lib/util: add anonymous_shared_free()Stefan Metzmacher2011-01-202-2/+40
| | | | metze
* lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/Stefan Metzmacher2011-01-203-3/+3
| | | | metze
* lib/util: fix rounding to page size in allocate_anonymous_shared()Stefan Metzmacher2011-01-201-1/+5
| | | | metze
* s4-selftest Remove knownfail for tokengroups testAndrew Bartlett2011-01-191-1/+0
| | | | | | | | | The problem with this test (use of None rather than "" has been fixed) Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 23:56:31 CET 2011 on sn-devel-104
* s4-dsdb Don't use None as the input to the GENSEC loop in tokengroups testAndrew Bartlett2011-01-191-1/+1
| | | | | | The input to gensec.update() should always be a string. Andrew Bartlett
* s3-param: Fixed code block in max_open_files().Andreas Schneider2011-01-191-1/+1
| | | | | | | | When the HAVE_GETRLIMIT and RLIMIT_NOFILE macros are defined the block isn't closed. Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Wed Jan 19 23:10:50 CET 2011 on sn-devel-104
* s3-smbd: Fixed a possible null pointer dereference.Andreas Schneider2011-01-191-1/+3
|
* wafsamba: quote CPP and CC values when calling pidlStefan Metzmacher2011-01-191-4/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 19 20:23:50 CET 2011 on sn-devel-104
* s4:selftest/skip: add samba4.tokengroups.pythonStefan Metzmacher2011-01-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fails randomly like this with an error (not a failure): [651/695 in 27m37s] samba4.tokengroups.python(dc) running client gensec_update UNEXPECTED(error): samba4.tokengroups.python(dc).__main__.TokenTest.test_pac_groups REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 1E2 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/tridge/flakey/b2413/source4/source4/dsdb/tests/python/token_group.py", line 142, in test_pac_groups (client_finished, client_to_server) = gensec_client.update(server_to_client) TypeError: expected a string 0 FAILED (0 failures and 1 errors in 0 testsuites) A summary with detailed information can be found in: ./st/summary test: running (/usr/bin/perl /memdisk/tridge/flakey/b2413/source4/source4/../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="/usr/bin/python ./selftest/tests.py|" --exclude=./selftest/slow --socket-wrapper && touch ./st/st_done) | /usr/bin/python -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail --fail-immediately | tee ./st/subunit | /usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate ERROR: test failed with exit code 1 metze
* s4-dsdb Add PAC validation test to tokengroups test.Andrew Bartlett2011-01-192-21/+79
| | | | | | | | | | | | | This confirms that the groups obtained from a Kerberos PAC match those that a manual search of a target LDAP server would reveal. This should allow mixing of a KDC specified by krb5.conf to test Samba or Windows alternatly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
* s4-pyauth Fix AuthContext wrapperAndrew Bartlett2011-01-191-2/+13
|
* s4-auth Allow NULL methods to be specified to auth_context_create_methods()Andrew Bartlett2011-01-191-14/+3
| | | | | | | This allows us to init an auth context that isn't going to do any NTLM authentication, but is used by other subsystems. Andrew Bartlett
* s4-dsdb Add a test of the tokenGroups behaviour on the user's DN.Andrew Bartlett2011-01-191-3/+21
| | | | Andrew Bartlett
* s4-gensec Remove special case 'for SASL' that is not required any more.Andrew Bartlett2011-01-191-13/+0
| | | | | | | | I've examined the code paths involved, and it appears an alternative fix has been made in the ldap_server/ldap_bind.c code, and there is no code path that uses this behaviour. Andrew Bartlett
* tdb: Added doxygen documentation.Andreas Schneider2011-01-193-25/+2454
| | | | | Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Wed Jan 19 11:26:34 CET 2011 on sn-devel-104
* s3: Add wbinfo --dc-infoVolker Lendecke2011-01-198-2/+284
| | | | | | | | | | | | | | | wbinfo --dc-info prints the current DC name and IP address. This helps diagnosing problems that might happen when a later wbinfo --ping-dc fails. This patch started out by using the SAF and NBT cache entires, but those are relatively short-lived. So I decided to invent a new gencache entry with a very long timeout. We need to go via the gencache because when for some reason a winbind child process is stuck, we can't query it for the current DC it's connected to. This must eventually go away again when we have a fully async winbind. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
* Add DELETE-LN test to show bug #7863 - Unlink may unlink wrong file when ↵Jeremy Allison2011-01-191-0/+111
| | | | | | | hardlinks are involved Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 19 03:06:32 CET 2011 on sn-devel-104
* waf: change private libraries to use the same soname as public librariesAndrew Tridgell2011-01-191-7/+5
| | | | | | | | | | | See http://lists.samba.org/archive/samba-technical/2011-January/075816.html for a description of the reason behind this change Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jan 19 02:21:06 CET 2011 on sn-devel-104
* pygensec: remove special case handling for None for buffersAndrew Tridgell2011-01-192-36/+29
| | | | | | always returning a buffer makes life easier for callers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix "net usersidlist" not to skip every other userOlly Betts2011-01-191-1/+0
| | | | | | | | | Remove double increment from for loop over users in get_user_tokens(), left over from when this used to be a while loop. Bug was introduced in 1e39a619. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104
* s3-winbind: no need to include ../librpc/gen_ndr/cli_lsa.h inGünther Deschner2011-01-191-1/+0
| | | | | | | | | winbindd/winbindd_msrpc.c. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 19 00:37:46 CET 2011 on sn-devel-104
* s3-rpc_client: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-netlogon: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-netlogon: no need to include ../librpc/gen_ndr/cli_samr.h anymore.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-net: use correct spoolss header in net rpc.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* s3-net: use correct spoolss header in net_ads.c.Günther Deschner2011-01-181-1/+1
| | | | Guenther
* Fix error where Windows client spoolss returns WERR_INVALID_DATA ↵Jeremy Allison2011-01-181-0/+4
| | | | | | | | | W_ERROR(0x0000000D) on opening a printer. We can't return zero for devmode->size. Guenther please check ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 18 23:45:33 CET 2011 on sn-devel-104
* s4:tls_tstream: also use a dynamic buffer for the pull sideStefan Metzmacher2011-01-181-3/+12
| | | | | | | | | Maybe that fixes the remaining issues with some gnutls versions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 18 17:26:08 CET 2011 on sn-devel-104
* s4:tls_tstream: fix partial reads, so that the gnutls layer doesn't read the ↵Stefan Metzmacher2011-01-181-1/+6
| | | | | | same data twice metze
* s4-tests: Added a test for correct inheritance of IO flagged ACEs.Nadezhda Ivanova2011-01-181-0/+18
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Jan 18 15:53:46 CET 2011 on sn-devel-104