summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-10-07s3-param Remove odd formatting to allow code mergeAndrew Bartlett1-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
2011-10-07s3-param: inline octal_string into caller to allow code mergeAndrew Bartlett1-3/+6
2011-10-07s3-param use Auto define for lm_announce defaultAndrew Bartlett1-1/+1
2011-10-07ldb: use ldb directly rather than via a copyAndrew Bartlett5-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
2011-10-07build: Remove obsolete --enable/disable-merged-buildAndrew Bartlett1-1/+0
All waf builds build everything now. Andrew Bartlett
2011-10-07build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett1-4/+4
The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett5-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
2011-10-06s3:lib: remove unused/empty modules.cStefan Metzmacher2-23/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
2011-10-06s3:configure.developer: add --enable-uid-wrapperStefan Metzmacher1-0/+1
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06s3: Use the uid_wrapperVolker Lendecke7-5/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett4-4/+4
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett7-161/+13
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-10-06s3-module allow libreplace to provide dlopen replacementAndrew Bartlett1-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
2011-10-05Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits ↵Jeremy Allison1-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
2011-10-04s3-waf: remove explicit linking to SMBLDAP subsystem.Günther Deschner1-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
2011-10-04s3-smbldap: remove an obsolete prototype.Günther Deschner1-1/+0
Guenther
2011-10-04s3:lib/util: make sure panic action can attach a debugger on ubuntu (>=10.10)Stefan Metzmacher1-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
2011-10-04s3:param: use ROLE_DOMAIN_CONTROLLER for an AD domain controllerStefan Metzmacher1-1/+1
metze
2011-10-02s3:registry: fix the test for a REG_SZ blob possibly being a zero terminated ↵Michael Adam1-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
2011-10-01s3:registry: reg_format: handle unterminated REG_SZ blobsGregor Beck1-1/+9
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-01Add the new test_nttrans_fsctl.c to wafRichard Sharpe1-0/+1
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Oct 1 19:36:53 CEST 2011 on sn-devel-104
2011-10-01Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe6-336/+413
NTTRANS-FSCTL. Test added to selftests.
2011-10-01Add a torture test to test existing FSCTL responsesRichard Sharpe4-0/+290
2011-10-01Fix bug #8493 - DFS breaks zip file extracting unless "follow symlinks = no" setJeremy Allison1-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
2011-09-30s3:wscript_build - add dependency on "tdb-wrap3" for libnet dssyncMatthias Dieter Wallnöfer1-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
2011-09-30build: Add dep on tdb-wrap3 to get tdb headersAndrew Bartlett1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-09-30s3: Re-add (), fix a gcc hintVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
2011-09-30s3: Remove an unused variableVolker Lendecke1-2/+0
2011-09-30s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-29Bug 7551: Return error of cli_push when 'put - /some/file' is usedBram1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104
2011-09-29s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher1-3/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
2011-09-29s3-smb2_server: fix ioctl InputOffset checkingDavid Disseldorp1-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>
2011-09-29s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byteDavid Disseldorp1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signedStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104
2011-09-28s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam1-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
2011-09-28s3 net: Fix a discard const warningKai Blin1-1/+1
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-5/+0
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
2011-09-28s3-messaging Do not ever send a kill to -1Andrew Bartlett1-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
2011-09-27s3-messaging Ensure that the message is of the correct legnthAndrew Bartlett1-1/+1
By using ndr_pull_struct_blob_all we are more robust against wrongly formatted messages. Andrew Bartlett
2011-09-27s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett1-1/+0
2011-09-27These modules are no longer experimental but production-ready (especiallyJeremy Allison2-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
2011-09-27Free the memory talloc'dRichard Sharpe1-1/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
2011-09-26s3-samr: Remove fstring in samr.Andreas Schneider1-5/+14
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 26 19:56:04 CEST 2011 on sn-devel-104
2011-09-26s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce4-24/+61
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-09-26s3-group-mapping: Remove unused functions.Simo Sorce2-36/+0
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-09-26s3: Slightly simplify print_kdc_line()Volker Lendecke1-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
2011-09-26s3: Slightly simplify print_kdc_line()Volker Lendecke1-20/+19
No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete.