summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-09-11torture: Add discard_const_p() to work around dlz_create prototypeAndrew Bartlett1-2/+2
2012-09-11selftest: we fail the smb2.durable-open.delete_on_close2 testMichael Adam1-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
2012-09-11s4:torture:smb2: add a durable-open.delete_on_close2 testMichael Adam1-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.
2012-09-11selftest: pass smb2.durable-open.delete_on_close1Michael Adam1-1/+0
2012-09-11selftest: smb2.durable-open.delete_on_close1 is not flapping any moreMichael Adam1-1/+0
The entry into flapping was not effective anyways since, the test was also listed in knownfail...
2012-09-11s4:torture:smb2: fix the durable-open.delete_on_close1 testMichael Adam1-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.
2012-09-11lib/replace: remove duplicate check for inotifyMichael Adam1-1/+1
2012-09-11docs: Move idmap manpage to there old location.Andreas Schneider8-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
2012-09-11docs: Bump version up to 4.0.Karolin Seeger72-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
2012-09-11selftest/Samba4: make use of samba-tool domain provisionStefan Metzmacher1-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
2012-09-11wintest: make use of samba-tool domain provisionStefan Metzmacher1-1/+3
metze
2012-09-11testprogs/blackbox: make use of samba-tool domain provisionStefan Metzmacher1-1/+1
metze
2012-09-11s4:setup/tests: make use of samba-tool domain provisionStefan Metzmacher6-19/+19
metze
2012-09-11s4:scripting: install samba_kcc to SBINDIRStefan Metzmacher1-2/+2
It's use as "%s/samba_kcc", dyn_SCRIPTSBINDIR" similar to samba_spnupdate and samba_dnsupdate. metze
2012-09-11s4:scripting: use the 'sbin_files' variableStefan Metzmacher1-1/+1
metze
2012-09-11s4:samba-tool: add 'samba-tool domain provision'Stefan Metzmacher1-1/+264
This is mostly a copy of the standalone source4/setup/provision. metze
2012-09-11s4:python/netcmd: give the Commad implementations access to the raw argumentsStefan Metzmacher1-0/+8
metze
2012-09-11s4:samba-tool: remove unused code in testparm.pyStefan Metzmacher1-5/+0
metze
2012-09-11s4:samba-tool: allow sys.exit(ret) to control the exit codeStefan Metzmacher1-1/+1
Some subcommands may use sys.exit(0), which shouldn't be reported as an error to the caller. metze
2012-09-11quota: move function again to its belonging ifdef blockBjörn Jacke1-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
2012-09-11s3:proto.h: remove duplicate disk_quotas prototypesBjörn Jacke1-10/+0
2012-09-11quota: fix configure test for HP-UXBjörn Jacke1-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
2012-09-11samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).Jeremy Allison1-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
2012-09-10s3: Run raw.oplockVolker Lendecke1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10smbtorture: Test that delete requests are not specialVolker Lendecke1-0/+78
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10s3: delete requests are not specialVolker Lendecke1-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>
2012-09-10Set trans to a value that is not LDB_SUCCESS (all LDB_ constants areMichele Baldessari1-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>
2012-09-10Call TALLOC_FREE() before we return otherwise we will never free sam_accountMichele Baldessari1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10Fix talloc memory heirarchy bug. If there's an SMB2 sessionsetup in flight ↵Jeremy Allison1-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
2012-09-10Fix bug #9147 - winbind can't fetch user or group info from AD via LDAPJeremy Allison1-2/+4
Don't use "isprint" in ldb_binary_encode(). This is locale specific. Restrict to ASCII only, hex encode everything else.
2012-09-10wafbuild: add defines for linux quota and sysquota supportBjörn Jacke1-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
2012-09-10s3:smbd Bump the smbd vfs interface version to 30Christian Ambach1-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
2012-09-10s3:vfs/time_audit: Add back pointer for sys_acl_delete_def_file_fnChristof Schmitt1-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>
2012-09-10s3:vfs/time_audit: add path names to log messagesRalph Wuerthner1-80/+170
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-09-10s3:client use more access bits for snapshot displayChristian Ambach1-1/+2
otherwise Windows server will reject the request for shadow copy enumeration with access denied
2012-09-10docs:build: make target "manpages" .PHONY, so manpages do get built...Michael Adam1-1/+1
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Sep 10 17:55:20 CEST 2012 on sn-devel-104
2012-09-10s3-passdb: update abi_match and ignore more statically linked functionsAlexander Bokovoy2-17/+21
Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Mon Sep 10 16:14:50 CEST 2012 on sn-devel-104