summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wfabuild: fix the -errwarn compile flag testBjörn Jacke2012-10-302-1/+4
| | | | as in the autoconf build this must be "-errwarn=%all"
* packaging: Add NetworkManager dispatcher script for winbind.Andreas Schneider2012-10-302-0/+26
| | | | | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Oct 30 13:17:02 CET 2012 on sn-devel-104
* s3: Use file_id_string in file_id_string_tosVolker Lendecke2012-10-301-6/+1
| | | | | | | Reviewed by Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104
* s3: Fix some nonempty line endingsVolker Lendecke2012-10-291-5/+5
| | | | Reviewed by Jeremy Allison <jra@samba.org>
* lib/param: fix line length of DEBUG statments touched in previous commit in ↵Michael Adam2012-10-291-2/+4
| | | | | | | | | | set_variable() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org> Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Mon Oct 29 21:55:35 CET 2012 on sn-devel-104
* lib/param: fix function name (set_variable) in debug statementsMichael Adam2012-10-291-4/+4
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* lib/param: fix function name (lpcfg_file_list_changed) in a debug messageMichael Adam2012-10-291-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* s3:smbd:durable: remove a TODO comment about write time updatesMichael Adam2012-10-291-2/+0
| | | | | | | | | | This has been done. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Mon Oct 29 20:12:18 CET 2012 on sn-devel-104
* BUG 9326: Fix net ads join message for the dns domain.Andreas Schneider2012-10-291-1/+1
| | | | | | | | | | | | | We don't get a realm back from the server which is useable as a realm on Unix. On Unix they are case sensitive and on Windows they aren't. This confuses uses and if we write realm they try to use it as it came back in lowercase. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Oct 29 18:26:19 CET 2012 on sn-devel-104
* Fix bug #9329 - Directory listing with SeBackup can crash smbd.Jeremy Allison2012-10-293-1/+37
| | | | | | | | | | | | | | | | | | When we do a become_root()/unbecome_root() pair to temporarily raise privilege, this NULLs out the NT token. If we're within a become_root()/unbecome_root() pair then return the previous token on the stack as our NT token. This is what we should be using to check against NT ACLs in the file server. This copes with security context changing when removing a file on close under the context of another user (when 2 users have a file open, one sets delete on close and then the other user has to actually do the delete). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Oct 29 16:26:20 CET 2012 on sn-devel-104
* packaging: Move smbprint to a comman location.Andreas Schneider2012-10-296-269/+12
| | | | | | | | | | | | This also removes all the duplicate smbprint scripts. This fixes bug #9301. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 29 14:08:37 CET 2012 on sn-devel-104
* pidl: Remove depends_on=PIDL_MISC as it sets -I/ into CFLAGSAndrew Bartlett2012-10-291-1/+0
| | | | | | | | | | This in turn causes an include of <net/if.h> to hang on some systems, as /net/ means to run the automounter! Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Oct 29 01:23:39 CET 2012 on sn-devel-104
* build: Remove support for IDL-generated files in git treeAndrew Bartlett2012-10-281-24/+2
| | | | | | | This was added in a9ea3d6fa510286b83c4bda42c9a857da3625451 but is no longer required, as we do not store IDL-generated files in GIT. Andrew Bartlett
* lib/replace: Return size of xattr if size argument is 0Andrew Bartlett2012-10-281-3/+12
| | | | | | This makes rep_{f,}getxattr a more complete replacement for the linux function. Andrew Bartlett
* source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij2012-10-272-10/+9
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
* source3.selftest: Move more variables to be in common.Jelmer Vernooij2012-10-272-6/+11
|
* selftesthelpers: Fix detection of tap2subunit.Jelmer Vernooij2012-10-271-2/+8
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
* TestCaseInTempDir: Use addCleanup rather than tearDown.Jelmer Vernooij2012-10-271-2/+3
|
* selftest: Add --random-order option.Jelmer Vernooij2012-10-272-1/+13
|
* source4.selftest.tests: Add FIXME about database verification.Jelmer Vernooij2012-10-271-0/+2
|
* selftesthelpers: Simplify detection of tap2subunit.Jelmer Vernooij2012-10-271-4/+6
|
* source3.selftests.tests: Use common plansmbtorture4testsuite() function.Jelmer Vernooij2012-10-271-56/+50
|
* source3.selftest.tests: Add suffix for smbclient3/ntlm_auth3.Jelmer Vernooij2012-10-271-23/+23
|
* source3.selftest.tests: Remove tabs.Jelmer Vernooij2012-10-271-18/+18
|
* source4.selftest.tests: Add suffix for smbclient4/nmblookup4.Jelmer Vernooij2012-10-271-16/+16
|
* selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij2012-10-273-7/+13
|
* selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij2012-10-273-23/+26
|
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-273-14/+24
| | | | options.
* selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij2012-10-272-24/+20
|
* selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij2012-10-273-25/+19
|
* source4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite().Jelmer Vernooij2012-10-271-60/+60
|
* source4.selftest.tests: Consistent naming of smbtorture binary.Jelmer Vernooij2012-10-271-25/+25
|
* libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209)Stefan Metzmacher2012-10-271-1/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Oct 27 10:05:22 CEST 2012 on sn-devel-104
* sefltest: use TestCaseInTempDir and setUp/tearDown for posixacl.py temp fileAndrew Bartlett2012-10-271-170/+62
| | | | | | | | | | This manages the temp file more reliably, and reduces the repeated code in each test case. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Oct 27 04:37:58 CEST 2012 on sn-devel-104
* provision: Fix comments in checksysvolaclAndrew Bartlett2012-10-271-1/+2
|
* pam_winbind: fix segfault in pam_sm_authenticate()David Disseldorp2012-10-261-3/+4
| | | | | | | | | | | | Ensure the potentially null winbind context is not dereferenced on cleanup. https://bugzilla.samba.org/show_bug.cgi?id=8564 Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 26 22:40:57 CEST 2012 on sn-devel-104
* ntlm_auth: Increase debug level if we use config domain name.Andreas Schneider2012-10-261-2/+2
| | | | | | | | | | If an application like evolution-ews is using ntlm_auth it will alwys get this message cause the is no winbind running and it is not needed. Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 26 20:13:45 CEST 2012 on sn-devel-104
* vfstest: set umask(0) in vfstestAndrew Bartlett2012-10-261-0/+5
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Oct 26 10:07:03 CEST 2012 on sn-devel-104
* pysmbd: Set umask to 0 during smbd operationsAndrew Bartlett2012-10-261-9/+34
|
* pysmbd: Remember to close files after setting the NT ACLAndrew Bartlett2012-10-261-0/+5
|
* pysmbd: Add hook for unlink() so python scripts can remove xattr.tdb entriesAndrew Bartlett2012-10-262-20/+88
| | | | | | If we do not provide a way to remove files from xattr.tdb, we can re-use the inode. Andrew Bartlett
* s3:smbd:durable: factor stat checks out into ↵Michael Adam2012-10-251-392/+261
| | | | | | | | | | | | | | vfs_default_durable_reconnect_check_stat() This makes vfs_default_durable_reconnect() simpler to read and it reduces code duplication in the failure case handling. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Oct 25 23:03:13 CEST 2012 on sn-devel-104
* python-ntacls: Cope with ACL revision 4Andrew Bartlett2012-10-251-0/+2
| | | | | | | | | This is the new revision with the hash of the posix or system ACL. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 25 15:04:39 CEST 2012 on sn-devel-104
* dbwrap: use talloc_stackframe() in db_tdb_log_key()Andrew Bartlett2012-10-251-3/+4
| | | | | | | We can not be sure that there is already a talloc_stackframe() in place so we must create one. Andrew Bartlett
* selftest: Always unlink the tempf in posixacl testAndrew Bartlett2012-10-251-1/+4
|
* selftest: Cover the important non-Samba invalidation of the NT ACLAndrew Bartlett2012-10-251-0/+23
| | | | | | | This covers the case where we have a valid hash of the posix ACL (or the NT ACL from the POSIX ACL) and we notice it no longer matches. Andrew Bartlett
* selftest: Cover one more NT ACL invalidation case and improve commentsAndrew Bartlett2012-10-251-8/+7
| | | | | | | This tries to show the difference between the cases where we trap the POSIX ACL change and where we actually detect an OS-level change. Andrew Bartlett
* selftest: Add many more tests for our posix ACL handlingAndrew Bartlett2012-10-251-1/+236
| | | | | | | | | | | This tests the mapping of posix ACLs to NT ACLs, the invalidation of NT ACLs stored as an xattr and ensures this security-critical code continues to work in the long term. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 25 10:05:16 CEST 2012 on sn-devel-104
* pysmbd: Fix pysmbd octal mode handlingAndrew Bartlett2012-10-251-2/+2
| | | | | | It is clearly too long since Computer Science 101... ;-) Andrew Bartlett
* dsdb-cracknames: Return DRSUAPI_DS_NAME_STATUS_NO_MAPPING when there is no SIDAndrew Bartlett2012-10-251-3/+7
| | | | | | | | | | | | If there is no SID for an object being mapped, then there is no NT4 name. We need to return DRSUAPI_DS_NAME_STATUS_NO_MAPPING rather than error out with anything other than WERR_OK as the return value. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Oct 25 04:43:25 CEST 2012 on sn-devel-104