summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WHATSNEW: provision and updateprovision have new namesStefan Metzmacher2012-09-121-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
* s4:scripting: rename upgradeprovision -> samba_upgradeprovisionStefan Metzmacher2012-09-124-4/+4
| | | | metze
* s4:setup: remove standalone 'provision'Stefan Metzmacher2012-09-122-279/+0
| | | | metze
* smbd: Add extra VFS hooks to get the posix ACL as a blobAndrew Bartlett2012-09-128-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
* smbd: Remove pre-allocation of ACL array in sys_acl_init()Andrew Bartlett2012-09-126-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
* smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett2012-09-124-59/+43
| | | | | | | This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
* Make metze happy and the code clearer :-).Jeremy Allison2012-09-121-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
* nsswitch: fix crash on null pam change pw responseLuca Lorenzetto2012-09-121-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
* s4:torture:smb2: fix error reporting in the oplock-brl3 testMichael Adam2012-09-111-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
* s4:torture:smb2: fix error reporting in the oplock-brl2 testMichael Adam2012-09-111-2/+1
| | | | (Error was set to an unused variable)
* s4:torture:smb2: fix error reporting in the oplock-brl1 testMichael Adam2012-09-111-2/+1
| | | | (Error was set to an unused variable)
* s4:torture:smb2: remove an unused variable from the oplock-exclusive2 testMichael Adam2012-09-111-3/+0
|
* s4:torture:smb2: remove an unused variable from the oplock-exclusive1 testMichael Adam2012-09-111-3/+0
|
* At Michael's suggestion, factor common code into a function. My bad :-).Jeremy Allison2012-09-111-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
* smbd: Print ACL used to create hash in vfs_xattr_commonAndrew Bartlett2012-09-111-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
* provision: Only give the "no posix ACLs" exception if we could not set the SDAndrew Bartlett2012-09-111-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
* torture: Add discard_const_p() to work around dlz_create prototypeAndrew Bartlett2012-09-111-2/+2
|
* selftest: we fail the smb2.durable-open.delete_on_close2 testMichael Adam2012-09-111-0/+1
| | | | | | | (we currently do not grant durable on reconnect when delete-on-close is set) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 16:22:20 CEST 2012 on sn-devel-104
* s4:torture:smb2: add a durable-open.delete_on_close2 testMichael Adam2012-09-111-0/+110
| | | | | | This test verifies that the delete on close flag is kept during a disconnect and is still active on the reconnected handle. When the reconnected handle is closed, the file is deleted.
* selftest: pass smb2.durable-open.delete_on_close1Michael Adam2012-09-111-1/+0
|
* selftest: smb2.durable-open.delete_on_close1 is not flapping any moreMichael Adam2012-09-111-1/+0
| | | | | The entry into flapping was not effective anyways since, the test was also listed in knownfail...
* s4:torture:smb2: fix the durable-open.delete_on_close1 testMichael Adam2012-09-111-53/+16
| | | | | | | | | | | This test used to flap because there was an invalid check of the file-id. This might or might not be the same after a new open. Hence the flapping. The new version simply opens a file as durable handle with delete_on_close set, writes a byte and closes the file. Then on a new connect, the file is opened again, and it is checked that the file has been created (again) and that it is empty.
* lib/replace: remove duplicate check for inotifyMichael Adam2012-09-111-1/+1
|
* docs: Move idmap manpage to there old location.Andreas Schneider2012-09-118-0/+0
| | | | | | | This wasn't planned and slipped trough, sorry. Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Sep 11 14:28:53 CEST 2012 on sn-devel-104
* docs: Bump version up to 4.0.Karolin Seeger2012-09-1172-82/+82
| | | | | | | Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Tue Sep 11 12:37:17 CEST 2012 on sn-devel-104
* selftest/Samba4: make use of samba-tool domain provisionStefan Metzmacher2012-09-111-1/+3
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
* wintest: make use of samba-tool domain provisionStefan Metzmacher2012-09-111-1/+3
| | | | metze
* testprogs/blackbox: make use of samba-tool domain provisionStefan Metzmacher2012-09-111-1/+1
| | | | metze
* s4:setup/tests: make use of samba-tool domain provisionStefan Metzmacher2012-09-116-19/+19
| | | | metze
* s4:scripting: install samba_kcc to SBINDIRStefan Metzmacher2012-09-111-2/+2
| | | | | | | It's use as "%s/samba_kcc", dyn_SCRIPTSBINDIR" similar to samba_spnupdate and samba_dnsupdate. metze
* s4:scripting: use the 'sbin_files' variableStefan Metzmacher2012-09-111-1/+1
| | | | metze
* s4:samba-tool: add 'samba-tool domain provision'Stefan Metzmacher2012-09-111-1/+264
| | | | | | This is mostly a copy of the standalone source4/setup/provision. metze
* s4:python/netcmd: give the Commad implementations access to the raw argumentsStefan Metzmacher2012-09-111-0/+8
| | | | metze
* s4:samba-tool: remove unused code in testparm.pyStefan Metzmacher2012-09-111-5/+0
| | | | metze
* s4:samba-tool: allow sys.exit(ret) to control the exit codeStefan Metzmacher2012-09-111-1/+1
| | | | | | | Some subcommands may use sys.exit(0), which shouldn't be reported as an error to the caller. metze
* quota: move function again to its belonging ifdef blockBjörn Jacke2012-09-111-11/+9
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Sep 11 04:44:28 CEST 2012 on sn-devel-104
* s3:proto.h: remove duplicate disk_quotas prototypesBjörn Jacke2012-09-111-10/+0
|
* quota: fix configure test for HP-UXBjörn Jacke2012-09-111-0/+6
| | | | | | | while HP-UX does have the 4A quota interface our test failed due to a missing function prototype in HP-UX and our test running in strict mode with compile warnings be errors. So let's make our own prototype in the test when we are on HP*UX
* samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).Jeremy Allison2012-09-111-0/+1
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 11 02:30:55 CEST 2012 on sn-devel-104
* s3: Run raw.oplockVolker Lendecke2012-09-101-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* smbtorture: Test that delete requests are not specialVolker Lendecke2012-09-101-0/+78
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: delete requests are not specialVolker Lendecke2012-09-101-16/+0
| | | | | | | The only difference between batch and exclusive oplocks is the time of the check: Batch is checked before the share mode check, exclusive after. Signed-off-by: Jeremy Allison <jra@samba.org>
* Set trans to a value that is not LDB_SUCCESS (all LDB_ constants areMichele Baldessari2012-09-101-1/+1
| | | | | | | | positive) so that any "goto failed:" call does not end up calling ldb_transaction_cancel() if trans is initialized to 0 (LDB_SUCCESS) by chance. Signed-off-by: Jeremy Allison <jra@samba.org>
* Call TALLOC_FREE() before we return otherwise we will never free sam_accountMichele Baldessari2012-09-101-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Fix talloc memory heirarchy bug. If there's an SMB2 sessionsetup in flight ↵Jeremy Allison2012-09-101-5/+36
| | | | | | | when we're shut down, we end up freeing the struct smbXsrv_session *session pointer twice. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Sep 10 23:34:06 CEST 2012 on sn-devel-104
* Fix bug #9147 - winbind can't fetch user or group info from AD via LDAPJeremy Allison2012-09-101-2/+4
| | | | | Don't use "isprint" in ldb_binary_encode(). This is locale specific. Restrict to ASCII only, hex encode everything else.
* wafbuild: add defines for linux quota and sysquota supportBjörn Jacke2012-09-101-0/+8
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
* s3:smbd Bump the smbd vfs interface version to 30Christian Ambach2012-09-101-1/+2
| | | | | | | that is what Samba 4.0.0 will ship with Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Sep 10 19:40:01 CEST 2012 on sn-devel-104
* s3:vfs/time_audit: Add back pointer for sys_acl_delete_def_file_fnChristof Schmitt2012-09-101-0/+1
| | | | | | | | | Commit e25830dcd87387a237b96f0d70deb204a5bf0a54 removed the function pointer from the time_audit module, although the VFS function still exists. Add the function pointer again in time_audit as this seems to be an accidentally deletion. Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:vfs/time_audit: add path names to log messagesRalph Wuerthner2012-09-101-80/+170
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>