summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-14s3: make smbldaphelper subsystem an internal libraryAlexander Bokovoy3-11/+10
Break pdb_ldap -> smbldaphelper -> pdb -> pdb_ldap loop by making smbldaphelp intentionally underlinked internal library. It means that libsmbldaphelp is not usable unless its user is also linked to libpdb (that is the case for both its users, idmap_ldap and pdb_ldap, already) but gives us a break of the circular dependency in case pdb_ldap statically linked into pdb (default). This should solve case when idmap_ldap and pdb_ldap are dynamically loaded modules Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Sep 14 01:02:21 CEST 2012 on sn-devel-104
2012-09-13Sigh :-(. Removing optimization prematurely is the root of all evil :-(.Jeremy Allison3-0/+15
Sorry for the mistake, but the LastDir singleton cache in vfs_ChDir() actually plays an important role. When we're processing a stream of SMB1/SMB2/SMB3 requests we don't want to add a chdir()/getcwd() system call pair on every request if they're all on the same connection and dealing with the same base path. I did some testing with a program that times 1,000,000 chdir() requests vs. 1,000,000 strcmp requests and it's a penalty of 10x doing the system calls. Just because it's old code, doesn't mean it's bad :-(. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 13 21:31:42 CEST 2012 on sn-devel-104
2012-09-13docs: Fix generating idmap manpages.Andreas Schneider1-0/+8
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Sep 13 19:52:53 CEST 2012 on sn-devel-104
2012-09-13s3: make ldapsam-related functions a smbldaphelper subsystemAlexander Bokovoy3-4/+7
Since these functions are used in pdb_ldap and idmap_ldap, and pdb_ldap might be statically linked to libpdb (default), it is better to keep them as separate subsystem to avoid polluting libpdb namespace. This is first step in refactoring libpdb. Right now I cannot move these functions into proper libsmbldaphelper as it uses more of libpdb-included functions and linking pdb_ldap against libsmbldaphelper library would have created a loop if pdb_ldap is included into libpdb. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Sep 13 17:36:07 CEST 2012 on sn-devel-104
2012-09-13VERSION: Bump version up to 4.1.0pre1Michael Adam1-4/+4
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Sep 13 01:35:33 CEST 2012 on sn-devel-104
2012-09-12VERSION: Release Samba 4.0.0rc1Michael Adam1-3/+3
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-12WHATSNEW: prepare release notes for 4.0.0rc1Michael Adam1-63/+42
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: call source3/autogen.sh and packaged generated filesMichael Adam1-0/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: call build-manpages-nogit for make dist and package generated filesMichael Adam1-0/+3
so that we always have generated manpages under docs/manpages in the release tarball Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: extend meaning of DIST_FILES to also recurse into directoriesMichael Adam1-2/+16
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: make use of file / distfile more obvious in handling of ↵Michael Adam1-5/+2
DIST_FILES in "make dist" Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: for snapshot builds, call DIST_DIRS with extend=TrueMichael Adam1-1/+1
to allow the distversion file to be an addition to the list Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: extend samba_dist.DIST_FILES() to take optional parameter ↵Michael Adam1-1/+3
extend(=False) This allows to do multpile DIST_FILES() calls that will extend the list rather than only setting it initially. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:waf dist: factor out function to add list of files to the tarballMichael Adam1-22/+29
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-12s3:build: rewrite autogen.sh to be called from any directoryMichael Adam1-5/+20
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12release-scripts: run build-manpages-nogit with bashMichael Adam1-1/+1
On debian/ubuntu, the "dash" which is sh, does not provide pushd/popd... Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12release-scripts: run build-manpages-git with bashMichael Adam1-1/+1
On debian/ubuntu, the "dash" which is sh, does not provide pushd/popd... Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12release-scripts: let build-manpages-nogit store generated docs under ./bin/docsMichael Adam1-1/+1
not under ./docs Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12release-scripts: let build-manpages-git store generated docs under bin/docs/Michael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12In vfs modules, don't use 'conn->origpath' when we really mean 'conn->cwd'.Jeremy Allison4-10/+10
This allows VFS modules to work even when we've changed directory under the connect path in order to do root-safe calls. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 12 23:45:23 CEST 2012 on sn-devel-104
2012-09-12Move cached cwd onto conn struct.Jeremy Allison3-1/+17
This enables us to make VFS modules safe for use in root called code when we've changed directory under conn->connectpath.
2012-09-12Remove ancient "optimization" global LastDir.Jeremy Allison3-18/+3
2012-09-12Avoid overriding default ccache for ads operations.Simo Sorce8-14/+102
Avoid overriding default ccache for ads operations. Nowadays various samba components may need to use GSSAPI and a default cred cache to perform their tasks. This code was completely overriding the whole process default ccache name, thus altering the current credentials and sometimes hijacking them (or getting preemptively hijaked). By using gss_krb5_import_cred we can instead use a private ccache (necessary sometimes to use a different set of credentials fromt he default cifs/fqdn@realm one, for example when contacting foreign DCs using trust credentials) that does not affect the rest of the process. For the kerberos versions which don't have gss_krb5_import_cred we fallback to temp override of KRB5CCNAME and gss_acquire_cred. Signed-off-by: Alexander Bokovoy <ab@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Sep 12 21:18:09 CEST 2012 on sn-devel-104
2012-09-12selftest: let provision_plugin_s4_dc use SMB3Stefan Metzmacher1-1/+1
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 12 18:30:48 CEST 2012 on sn-devel-104
2012-09-12wintest: Fix --use-ntvfs handlingAndrew Bartlett1-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12wintest: Rework support for the internal DNS serverAndrew Bartlett3-38/+54
We still have to run BIND, the change is if BIND is run to support our own zone, or if we forward to as well as to windows. This also adapts to the new defaults. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12s4 provision: Ask for the dns forwarder IP address during interactive provisionKai Blin2-10/+50
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12dns_server: Remove parameter 'dns recursive queries' and base this on 'dns ↵Andrew Bartlett4-12/+3
forwarder' This simplifies a very common configuration. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12wintest: try to fix settings for the internal dns serverStefan Metzmacher1-3/+3
metze
2012-09-12lib/param: change the default for 'allow dns updates' to 'secure only'Stefan Metzmacher3-4/+4
metze
2012-09-12lib/param: add some more alias for 'allow dns updates' options.Stefan Metzmacher1-0/+12
metze
2012-09-12WHATSNEW.txt: Update DNS server descriptionKai Blin1-7/+17
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12s4:dns_server: remove wrong and unused dsdb_check_access_on_dn() checkStefan Metzmacher1-16/+0
metze
2012-09-12dns_server: Attempt to SET and UNSET the sessionInfo to match the incoming userAndrew Bartlett1-2/+24
This avoids re-opening the DB as the correct user, but applies all the right ACLs and resulting owner. This needs a bit more testing... Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Kai Blin <kai@samba.org>
2012-09-12s4:samba_upgradedns: delete dns-HOSTNAME account if using the internal dns ↵Stefan Metzmacher1-0/+28
server metze
2012-09-12selftest:Samba4: don't provision with BIND9_DLZStefan Metzmacher1-21/+34
metze
2012-09-12s4:upgradehelpers.py: don't require a dns-$HOSTNAME accountStefan Metzmacher1-3/+0
metze
2012-09-12s4:provision: don't add the dns-HOSTNAME account if we use the internal dns ↵Stefan Metzmacher1-6/+10
server metze
2012-09-12loadparm: dns is now a default server serviceKai Blin1-1/+1
2012-09-12s4 dns: use the internal DNS server per defaultKai Blin4-21/+21
2012-09-12s4 dns: Add libaddns-based simple testsKai Blin4-3/+203
2012-09-12s4 dns: Run python tests in fl2003dc envKai Blin3-22/+23
2012-09-12s4 dns: Improve logging of delegated dns updatesKai Blin1-1/+1
2012-09-12s4:selftest: run thet dlz_bind9. tests in the chgdcpass envStefan Metzmacher1-1/+1
metze
2012-09-12s3: remove unneeded noquota.c fileBjörn Jacke1-38/+0
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Sep 12 16:50:50 CEST 2012 on sn-devel-104
2012-09-12s3-rap: Open printers with the right access mask.Andreas Schneider1-3/+3
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Sep 12 14:05:42 CEST 2012 on sn-devel-104
2012-09-12docs: Build manpages correctly.Andreas Schneider1-1/+1
2012-09-12wafsamba: Add a SAMBAMANPAGES function.Andreas Schneider1-1/+15
2012-09-12docs: Bump version up to 4.0.Andreas Schneider8-10/+8
2012-09-12docs: Fix typo.Karolin Seeger1-1/+1
Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Wed Sep 12 12:21:00 CEST 2012 on sn-devel-104