summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11s3-passdb: split out passdb/pdb_nds.h.Günther Deschner4-15/+41
Guenther
2011-10-11s3-passdb: split out passdb/pdb_ldap.h.Günther Deschner6-18/+45
Guenther
2011-10-11s3-smbldap: rearrange prototypes a bit.Günther Deschner1-19/+18
Guenther
2011-10-11auth: move gensec_start.c to the top levelAndrew Bartlett1-1/+1
This does not change who uses gensec for now, but makes it possible to write new gensec modules outside source4/ Andrew Bartlett
2011-10-11auth: move credentials layer to the top levelAndrew Bartlett1-1/+1
This will allow gensec_start.c to move to the top level. This does not change what code uses the cli_credentials code, but allows the gensec code to be more broadly. Andrew Bartlett
2011-10-11libcli/smb Move CSC_POLICY_* definition to smb_constants.hAndrew Bartlett1-6/+0
This removes the duplicate definition between smb.h and lib/param/loadparm.c which in turn allows this file to be compiled with the s3 includes.h Andrew Bartlett
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett3-3/+3
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2-3/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher1-1/+1
metze
2011-10-10s3:smb2_create: fix allocation size return value when opening existing filesChristian Ambach1-2/+2
at least on GPFS, using the stat information gave wrong results example: FileInfo gave 12582912000, Create Response gave 25769803776000 This makes the create part use the same method as fileinfo, matching up the replies of both calls Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 10 21:49:53 CEST 2011 on sn-devel-104
2011-10-10s3-passdb: split out passdb/pdb_smbpasswd.h.Günther Deschner3-4/+31
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 10 20:14:46 CEST 2011 on sn-devel-104
2011-10-10s3-passdb: split out passdb/pdb_wbc_sam.h.Günther Deschner3-4/+34
Guenther
2011-10-10s3-passdb: split out passdb/pdb_tdb.h.Günther Deschner3-4/+33
Guenther
2011-10-10s3-net: when all DNS servers fail to operate, the overal DNS registration resultGünther Deschner1-0/+2
must be a failure. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 10 15:59:20 CEST 2011 on sn-devel-104
2011-10-08s3:utils: avoid '//' commentsStefan Metzmacher2-2/+2
The compiler on openindiana doesn't like them. metze
2011-10-08s3:lib/netapi: avoid '//' commentsStefan Metzmacher2-3/+3
The compiler on openindiana doesn't like them. metze
2011-10-08build: build wbinfo only once in the waf buildAndrew Bartlett1-9/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
2011-10-08build: remove double-setting of build_public_headersAndrew Bartlett1-3/+0
The top level build already sets this, so we do not need to set it twice. Andrew Bartlett
2011-10-08build: s3 public headers appear to be correct nowAndrew Bartlett1-3/+0
The build now passes without this setting, so remove it to ensure we do this check in future. Andrew Bartlett
2011-10-08s3:modules: add vfs_dfs_samba4Stefan Metzmacher3-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
2011-10-08s3:msdfs: removed unused variablesStefan Metzmacher1-209/+0
metze
2011-10-08s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS()Stefan Metzmacher2-86/+32
metze
2011-10-08s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher6-1/+209
metze
2011-10-08s3:param: add lp_host_msdfs to loadparm_s3_contextStefan Metzmacher1-1/+3
metze
2011-10-07Fix bug #8509 - Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.Jeremy Allison1-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
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