summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:registry: fix the test for a REG_SZ blob possibly being a zero terminated ↵Michael Adam2011-10-021-1/+10
| | | | | | | | | | | ucs2 string 1. catch data blobs with odd number of bytes (not an ucs2 string at all) 2. test the right ucs2 character to be 0 (prevent out-of bounds access/potential segfault) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Oct 2 01:26:05 CEST 2011 on sn-devel-104
* s3:registry: reg_format: handle unterminated REG_SZ blobsGregor Beck2011-10-011-1/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add the new test_nttrans_fsctl.c to wafRichard Sharpe2011-10-011-0/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Oct 1 19:36:53 CEST 2011 on sn-devel-104
* Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe2011-10-016-336/+413
| | | | NTTRANS-FSCTL. Test added to selftests.
* Add a torture test to test existing FSCTL responsesRichard Sharpe2011-10-014-0/+290
|
* Fix bug #8493 - DFS breaks zip file extracting unless "follow symlinks = no" setJeremy Allison2011-10-011-11/+2
| | | | | | | | If a client sends a mangled name as part of a DFS path, use the post-mangled name for the pathname walk, not the mangled name. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 1 00:45:59 CEST 2011 on sn-devel-104
* s3:wscript_build - add dependency on "tdb-wrap3" for libnet dssyncMatthias Dieter Wallnöfer2011-09-301-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Sep 30 16:40:12 CEST 2011 on sn-devel-104
* build: Add dep on tdb-wrap3 to get tdb headersAndrew Bartlett2011-09-301-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s3: Re-add (), fix a gcc hintVolker Lendecke2011-09-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
* s3: Remove an unused variableVolker Lendecke2011-09-301-2/+0
|
* s3: Fix an uninitialized variable warningVolker Lendecke2011-09-301-1/+1
|
* s3: Fix a C++ warningVolker Lendecke2011-09-301-1/+2
|
* s3: Fix a C++ warningVolker Lendecke2011-09-301-1/+2
|
* Bug 7551: Return error of cli_push when 'put - /some/file' is usedBram2011-09-291-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104
* s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher2011-09-291-3/+7
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
* s3-smb2_server: fix ioctl InputOffset checkingDavid Disseldorp2011-09-291-1/+10
| | | | | | | Currently the InputOffset is always check to point to the input data buffer, regardless of whether input data is present. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byteDavid Disseldorp2011-09-291-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signedStefan Metzmacher2011-09-291-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104
* s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam2011-09-281-2/+1
| | | | | | | | | record in traverse It did not compare the last charcter (usually '\0') Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Sep 28 16:54:59 CEST 2011 on sn-devel-104
* s3 net: Fix a discard const warningKai Blin2011-09-281-1/+1
|
* s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher2011-09-281-5/+0
| | | | | Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
* s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher2011-09-281-3/+2
| | | | | | | cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
* s3-messaging Do not ever send a kill to -1Andrew Bartlett2011-09-281-0/+3
| | | | | | | | | This from a report by Olaf Flebbe <o.flebbe@science-computing.de> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 28 00:23:44 CEST 2011 on sn-devel-104
* s3-messaging Ensure that the message is of the correct legnthAndrew Bartlett2011-09-271-1/+1
| | | | | | By using ndr_pull_struct_blob_all we are more robust against wrongly formatted messages. Andrew Bartlett
* s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett2011-09-271-1/+0
|
* These modules are no longer experimental but production-ready (especiallyJeremy Allison2011-09-272-4/+0
| | | | | | | the acl_xattr code). Remove the "experimental" tag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Sep 27 21:00:12 CEST 2011 on sn-devel-104
* Free the memory talloc'dRichard Sharpe2011-09-271-1/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
* s3-samr: Remove fstring in samr.Andreas Schneider2011-09-261-5/+14
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 26 19:56:04 CEST 2011 on sn-devel-104
* s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce2011-09-264-24/+61
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-group-mapping: Remove unused functions.Simo Sorce2011-09-262-36/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-10/+8
| | | | | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 18:24:25 CEST 2011 on sn-devel-104
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-20/+19
| | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete.
* s3: Slightly simplify print_kdc_line()Volker Lendecke2011-09-261-49/+52
| | | | | No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete.
* s3: Remove the smbd_server_conn ref from create_junctionVolker Lendecke2011-09-263-3/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104
* s3: Remove the smbd_server_conn ref from setup_dfs_referralVolker Lendecke2011-09-261-1/+1
|
* s3: Remove the smbd_server_conn ref from get_referred_pathVolker Lendecke2011-09-263-11/+17
|
* s3: Remove the smbd_server_conn ref from dfs_redirectVolker Lendecke2011-09-261-1/+3
|
* s3: Remove the smbd_server_conn ref from create_conn_structVolker Lendecke2011-09-264-17/+23
|
* s3: Remove the smbd_server_conn ref from parse_dfs_pathVolker Lendecke2011-09-261-5/+8
|
* addns: Remove unused empty header fileKai Blin2011-09-251-1/+0
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Sep 25 09:15:09 CEST 2011 on sn-devel-104
* net: Don't register link local addresses with DNSKai Blin2011-09-241-0/+5
|
* Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.David Disseldorp2011-09-231-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104
* Revert "Add a missing include file to two VFS modules"Jeremy Allison2011-09-232-2/+0
| | | | | | My mistake - should have been 3.6.x only. This reverts commit 2e4d0641950ce6e38724ca71b46cf925f51ac7be.
* s3:smbd: disconnect the socket if we got an unexpected requestStefan Metzmacher2011-09-232-1/+20
| | | | | | | | | | | If we got a SMB2_OP_NEGPROT after the protocol is already negotiated or if we got a non SMB2_OP_NEGPROT before the protocol was negotiated we should close the connection (as windows does). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 12:30:50 CEST 2011 on sn-devel-104
* s3:smbd: don't call smbd_terminate_connection in smb2_validate_message_id() ↵Stefan Metzmacher2011-09-231-2/+3
| | | | | | | | (bug #8476) Only return false and the caller will terminate the connection. metze
* build: Fix waf build on MacOS XAndrew Bartlett2011-09-231-1/+2
| | | | | | | | | | | The -framework CoreFoundation is required by the charset_macosxfs module The system/time.h header is required to access the replacement clock_gettime() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-232-2/+2
|
* Fix bug #8477 - Map to guest can return uninitialized blob of data.Jeremy Allison2011-09-231-1/+3
| | | | | | | Found by Codenomicon at SNIA SDC. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 03:19:46 CEST 2011 on sn-devel-104
* s3-winbindd: add support for idmap type WBC_ID_TYPE_BOTHAndrew Tridgell2011-09-234-2/+66
| | | | | | | | | | | | this allows the s3 code to understand and cache responses from the s4 winbindd which may include a single SID mapped to both a uid and a gid Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 23 01:47:54 CEST 2011 on sn-devel-104
* lib/util: move some timespec helpers from source3 to the toplevelStefan Metzmacher2011-09-232-156/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 00:15:31 CEST 2011 on sn-devel-104