summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:utils: avoid '//' commentsStefan Metzmacher2011-10-082-2/+2
| | | | | | The compiler on openindiana doesn't like them. metze
* s3:lib/netapi: avoid '//' commentsStefan Metzmacher2011-10-082-3/+3
| | | | | | The compiler on openindiana doesn't like them. metze
* build: build wbinfo only once in the waf buildAndrew Bartlett2011-10-081-9/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
* build: remove double-setting of build_public_headersAndrew Bartlett2011-10-081-3/+0
| | | | | | The top level build already sets this, so we do not need to set it twice. Andrew Bartlett
* build: s3 public headers appear to be correct nowAndrew Bartlett2011-10-081-3/+0
| | | | | | | The build now passes without this setting, so remove it to ensure we do this check in future. Andrew Bartlett
* s3:modules: add vfs_dfs_samba4Stefan Metzmacher2011-10-083-2/+167
| | | | | | | | | | | | | This module overloads the SMB_VFS_GET_DFS_REFERRAL() hooks, in order to support the domain, dc and sysvol referrals for a AD DC. The config would look like this: [IPC$] vfs objects = dfs_samba4 metze
* s3:msdfs: removed unused variablesStefan Metzmacher2011-10-081-209/+0
| | | | metze
* s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS()Stefan Metzmacher2011-10-082-86/+32
| | | | metze
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-086-1/+209
| | | | metze
* s3:param: add lp_host_msdfs to loadparm_s3_contextStefan Metzmacher2011-10-081-1/+3
| | | | metze
* Fix bug #8509 - Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.Jeremy Allison2011-10-071-3/+8
| | | | | | | | Not a security issue as we also check inside _samr_CreateUser2. Thanks to Andreas Schneider <asn@samba.org> for finding and testing this. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 7 21:51:27 CEST 2011 on sn-devel-104
* s3-param Remove odd formatting to allow code mergeAndrew Bartlett2011-10-071-18/+18
| | | | | | | | This code is very old, and has some code styles that we have not used in Samba for a very long time. This fixes up a the extra braces around return values. Andrew Bartlett
* s3-param: inline octal_string into caller to allow code mergeAndrew Bartlett2011-10-071-3/+6
|
* s3-param use Auto define for lm_announce defaultAndrew Bartlett2011-10-071-1/+1
|
* ldb: use ldb directly rather than via a copyAndrew Bartlett2011-10-075-731/+6
| | | | | | | | | | | | | | | | | | This avoids needing to manually sync the two files, which due to the top level build must be API compatible at all times anyway. The most important recent change was: commit e3b76bd6205acfc1a89fbcab5d9588b32cb47b88 Author: Andrew Tridgell <tridge@samba.org> Date: Thu Jul 28 15:51:31 2011 +1000 ldb: fixed a search expression parse bug However, as we always control the search expression in the callers to this code, no backport to other releases is required. Andrew Bartlett
* build: Remove obsolete --enable/disable-merged-buildAndrew Bartlett2011-10-071-1/+0
| | | | | | All waf builds build everything now. Andrew Bartlett
* build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2011-10-071-4/+4
| | | | | | The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-075-407/+20
| | | | | | | | | The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
* s3:lib: remove unused/empty modules.cStefan Metzmacher2011-10-062-23/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
* s3:configure.developer: add --enable-uid-wrapperStefan Metzmacher2011-10-061-0/+1
| | | | | | metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Use the uid_wrapperVolker Lendecke2011-10-067-5/+14
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
* modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett2011-10-064-4/+4
|
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-067-161/+13
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* s3-module allow libreplace to provide dlopen replacementAndrew Bartlett2011-10-061-24/+0
| | | | | | | | | Given that we have replacement dlopen() etc, use this from libreplace. The dlerror() from libreplace gives a good error if the platform really does not have dlopen(). Andrew Bartlett
* Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits ↵Jeremy Allison2011-10-051-6/+6
| | | | | | | | | from a cifsfs create. Don't manipulate the new_dos_attributes bits until we know it's not a POSIX open. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 5 01:19:17 CEST 2011 on sn-devel-104
* s3-waf: remove explicit linking to SMBLDAP subsystem.Günther Deschner2011-10-041-9/+9
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 4 14:39:57 CEST 2011 on sn-devel-104
* s3-smbldap: remove an obsolete prototype.Günther Deschner2011-10-041-1/+0
| | | | Guenther
* s3:lib/util: make sure panic action can attach a debugger on ubuntu (>=10.10)Stefan Metzmacher2011-10-041-0/+11
| | | | | | | | | | | By default user processes can't attach a debugger to a process. So explicitly allow that for all child processes, before calling the panic action script. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 4 12:51:35 CEST 2011 on sn-devel-104
* s3:param: use ROLE_DOMAIN_CONTROLLER for an AD domain controllerStefan Metzmacher2011-10-041-1/+1
| | | | metze
* 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