summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* s3-smbtorture: fix build warning (shadowed NTSTATUS variable).Günther Deschner2011-05-181-1/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 18 14:17:13 CEST 2011 on sn-devel-104
* 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).
* s3-modules: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4Björn Baumbach2011-05-181-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 11:58:14 CEST 2011 on sn-devel-104
* s3-docs: change eventlog path from lockdir to statedirBjörn Baumbach2011-05-181-1/+1
| | | | | | See elog_tdbname() in source3/lib/eventlog/eventlog.c. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/nbio.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-7/+16
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-client/clitar.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-9/+14
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-59/+57
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb/passchange.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-8/+9
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/mangle_test.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-13/+20
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: torture.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-510/+804
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* 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
* Fix bug #8144 - touch /mnt/newfile fails to set timestamp with CIFS client.Jeremy Allison2011-05-181-10/+15
| | | | | | | | | | | | | | The extra checks added for Windows correctness in our metadata changing paths to ensure the file handle has been opened with the correct access mask to allow FILE_WRITE_ATTRIBUTES etc. caused problems with the POSIX open code. The old POSIX open code maped O_RDONLY into FILE_READ, O_WRONLY into FILE_WRITE, and O_RDWR into FILE_READ|FILE_WRITE. This patch extends the mapping to add FILE_WRITE_ATTRIBUTES, FILE_READ_ATTRIBUTES and FILE_WRITE_EA, FILE_READ_EA to allow POSIX opens to set these values. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 18 02:22:32 CEST 2011 on sn-devel-104
* Fix redefinition of fstrcpy.Jeremy Allison2011-05-171-1/+7
|
* is_my_ipaddr() should recognise loopback addresses as ours.Jeremy Allison2011-05-171-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 17 20:05:42 CEST 2011 on sn-devel-104
* Don't evaluate the src argument to fstrcpy/fstrcat/nstrcpy/unstrcpy twice. ↵Jeremy Allison2011-05-171-5/+25
| | | | Prevents side-effects when src is a function call.
* Remove duplicate definition of SMB_VFS_NEXT_STRICT_UNLOCK. Found by ↵Jeremy Allison2011-05-171-3/+0
| | | | herb@samba.org
* s3: conn->sconn in smbd_server_connection_read/write_handlerVolker Lendecke2011-05-171-9/+10
| | | | | | | "struct smbd_server_connection" is called sconn elsewhere, avoid confusion Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 17 19:00:20 CEST 2011 on sn-devel-104
* lib/util/charset: fix the toplevel MacOS X build.Günther Deschner2011-05-171-2/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 17 16:16:59 CEST 2011 on sn-devel-104
* s3:rpc_server: create lp_ncalrpc_dir() with 0755 before lp_ncalrpc_dir()/np ↵Stefan Metzmacher2011-05-171-0/+11
| | | | | | | | | with 0700 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 13:01:14 CEST 2011 on sn-devel-104
* Revert "s3-rpc_server: Force ncalrpc dir to be mode 755."Stefan Metzmacher2011-05-171-1/+13
| | | | This reverts commit a032c9c8fe8aff455407485169b9445860f89606.
* Fix typos in LDAP schema filesSumit Bose2011-05-175-6/+6
| | | | | | | | | Reported by: John Danks <john.danks@gmail.com> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 17 11:56:08 CEST 2011 on sn-devel-104
* talloc: splitout _talloc_free_children_internal()Stefan Metzmacher2011-05-171-50/+27
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 10:49:13 CEST 2011 on sn-devel-104
* talloc: fixed a use after free error in talloc_free_children()Stefan Metzmacher2011-05-171-1/+16
| | | | | | This is similar to commit 6f51a1f45bf4de062cce7a562477e8140630a53d. metze
* talloc: use _talloc_free_internal() in talloc_free_children()Stefan Metzmacher2011-05-171-1/+1
| | | | metze
* talloc: test talloc_steal out of a talloc_poolStefan Metzmacher2011-05-171-0/+69
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104
* talloc: add memset() calls to test_pool()Stefan Metzmacher2011-05-171-0/+17
| | | | | | This way we the pool based valgrind code. metze
* talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()Stefan Metzmacher2011-05-171-0/+1
| | | | metze
* talloc: make really sure only optimize realloc if there's only one pool chunkStefan Metzmacher2011-05-171-1/+6
| | | | | | | *talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects is the pool itself! So we better check for == 1 and calculate the chunk count. metze
* talloc: make use of _talloc_free_poolmem() in _talloc_realloc()Stefan Metzmacher2011-05-171-15/+1
| | | | | | This should follow the same logic... metze
* talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internalStefan Metzmacher2011-05-171-32/+66
| | | | | | | | | | | | | | | The optimization of the object_count == 1 case should only happen for when we're not destroying the pool itself. And it should only happen if the pool itself is still valid. If the pool isn't valid (it has TALLOC_FLAG_FREE), object_count == 1 does not mean that the pool is the last object, which can happen if you use talloc_steal/move() on memory from the pool and then free the pool itself. Thanks to Volker for noticing this! 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-172-32/+25
|
* 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
|
* Fix the SMB2 showstopper, found by an extended torture test from Volker.Jeremy Allison2011-05-161-3/+25
| | | | | | | | | | | | | | | | | In the oplock refactoring, the algorithm underwent an unnoticed change. In 3.5.x stat_opens were silently (i.e. no explicit code had comments explaining this) ignored when looking for oplock breaks and share mode violations. After the refactoring, the function find_oplock_types() no longer ignored stat_open entries in the share mode table when looking for batch and exclusive oplocks. This patch adds two changes to find_oplock_types() to ignore the case where the incoming open request is a stat open being tested against existing opens, and also when the incoming open request is a non-stat open being tested against existing stat opens. Neither of these cause an oplock break or share mode violation. Thanks a *lot* to Volker, who persevered in reproducing this problem. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104