summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-09-12lib/krb5_wrap: when deleting default realm, pass char*, not char**Alexander Bokovoy1-1/+1
Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Sep 12 10:33:37 CEST 2012 on sn-devel-104
2012-09-12s3-pdb: filter out more symbols only used in ldapsam internalsAlexander Bokovoy2-2/+1
2012-09-12WHATSNEW: provision and updateprovision have new namesStefan Metzmacher1-0/+6
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 12 08:48:16 CEST 2012 on sn-devel-104
2012-09-12s4:scripting: rename upgradeprovision -> samba_upgradeprovisionStefan Metzmacher4-4/+4
metze
2012-09-12s4:setup: remove standalone 'provision'Stefan Metzmacher2-279/+0
metze
2012-09-12smbd: Add extra VFS hooks to get the posix ACL as a blobAndrew Bartlett8-0/+235
This will allow us to hash this, rather than the NT ACL it maps to. This will in turn allow us to know if the NT ACL is valid even if we have to change the mapping code. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 12 07:06:01 CEST 2012 on sn-devel-104
2012-09-12smbd: Remove pre-allocation of ACL array in sys_acl_init()Andrew Bartlett6-19/+15
Instead, this is just handled with realloc in sys_acl_create_entry() This allows us to remove the size element from the SMB_ACL_T. Andrew Bartlett
2012-09-12smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett4-59/+43
This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
2012-09-12Make metze happy and the code clearer :-).Jeremy Allison1-0/+6
Ensure we know after the destructor fires we're never going to look at this again. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 12 03:00:21 CEST 2012 on sn-devel-104
2012-09-12nsswitch: fix crash on null pam change pw responseLuca Lorenzetto1-1/+1
The function _pam_winbind_change_pwd crashes due to a null value passed to the function strcasecmp and denies to login via graphical login manager. Check for a null value before doing a strcasecmp. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1003296 Bug: https://bugzilla.samba.org/show_bug.cgi?id=9013 Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Sep 12 00:07:28 CEST 2012 on sn-devel-104
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl3 testMichael Adam1-2/+1
(Error was set to an unused variable) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 22:09:18 CEST 2012 on sn-devel-104
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl2 testMichael Adam1-2/+1
(Error was set to an unused variable)
2012-09-11s4:torture:smb2: fix error reporting in the oplock-brl1 testMichael Adam1-2/+1
(Error was set to an unused variable)
2012-09-11s4:torture:smb2: remove an unused variable from the oplock-exclusive2 testMichael Adam1-3/+0
2012-09-11s4:torture:smb2: remove an unused variable from the oplock-exclusive1 testMichael Adam1-3/+0
2012-09-11At Michael's suggestion, factor common code into a function. My bad :-).Jeremy Allison1-4/+9
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 11 20:08:37 CEST 2012 on sn-devel-104
2012-09-11smbd: Print ACL used to create hash in vfs_xattr_commonAndrew Bartlett1-0/+10
This should help us understand why sometimes an ACL set won't stick. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 11 18:19:53 CEST 2012 on sn-devel-104
2012-09-11provision: Only give the "no posix ACLs" exception if we could not set the SDAndrew Bartlett1-6/+6
This will allow us to run make test on all platforms again, as we emululate the posix ACLs using the fake_acls module. By then testing smbd.have_posix_acls() we gain a more specific error message. Andrew Bartlett