summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3: FreeBSD does not define sin6_addr.s_addr32Volker Lendecke2012-02-061-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 20:03:58 CET 2012 on sn-devel-104
* s3-nsswitch: Fix warnings on Solaris.Ira Cooper2012-02-061-0/+1
| | | | | | | Add "system/passwd.h" so struct group is declared. Autobuild-User: Ira Cooper <ira@samba.org> Autobuild-Date: Mon Feb 6 18:28:53 CET 2012 on sn-devel-104
* lib/util: Add hex_encode_bufVolker Lendecke2012-02-064-9/+43
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
* s3-popt: Fix configure.developer builds on Solairs.Ira Cooper2012-02-041-0/+2
| | | | | | | | | | alloca.h needs to be included, or the build complains the implicit definition of alloca. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 4 03:27:42 CET 2012 on sn-devel-104
* Ensure when setting a POSIX ACL, that the uid for aJeremy Allison2012-02-031-0/+60
| | | | | | | | | | SMB_ACL_USER_OBJ ACE (the owner ACE entry) has a duplicate permission entry as an SMB_ACL_USER, and a gid for a SMB_ACL_GROUP_OBJ ACE (the primary group ACE entry) also has a duplicate permission entry as an SMB_ACL_GROUP. If not, then if the ownership or group ownership of this file or directory gets changed, the user or group can lose their access.
* Fix mistaken assignment of gid to uid field.Jeremy Allison2012-02-031-1/+1
|
* Replace bool flags inside ensure_canon_entry_valid() with pointers.Jeremy Allison2012-02-031-11/+12
| | | | This will make the second tweak to the ACL mapping on set easier.
* Fix bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER bit with the ↵Jeremy Allison2012-02-031-1/+36
| | | | acl_xattr module.
* Replace all malloc/free with talloc on tos.Jeremy Allison2012-02-031-41/+41
|
* s4:torture: add a smb2.durable_open.reopen4 testMichael Adam2012-02-031-0/+89
| | | | | | | | open a durable handle, logoff, new sessions setup, try durable reopen (fail), open tcon, durable reopen (succeed) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Feb 3 12:45:34 CET 2012 on sn-devel-104
* s4:torture: add a torture_smb2_session_setup() utility functionMichael Adam2012-02-031-0/+31
|
* s4:torture: add smb2.durable_open test reopen3Michael Adam2012-02-031-0/+68
| | | | Do a durable open, tdis, tree_connect, durable reopen -> fail
* s4:torture: add torture_smb2_tree_connect() utility functionMichael Adam2012-02-031-0/+42
| | | | | This does a tcon based on an existing session, using the name an host present in the torture context.
* s4:torture: add smb2.durable_open test reopen2Michael Adam2012-02-031-0/+71
| | | | durable open, disconnect, new seession, durable reopen
* s4:torture: add smb2.durable_open test reopen1Michael Adam2012-02-031-0/+57
|
* s4:libcli:smb2: don't allocate the smb2_tree struct earlier than necessary ↵Michael Adam2012-02-031-5/+5
| | | | | | in smb2_connect() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam2012-02-033-7/+7
| | | | | | | | instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()Michael Adam2012-02-031-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: check for success of talloc in secondary_tcon()Michael Adam2012-02-031-0/+4
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture:smb2:notify: remove an unused variableMichael Adam2012-02-031-2/+0
|
* s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()Michael Adam2012-02-031-2/+0
|
* loadparm: fix a load of uninitialized memory errors found by valgrind.Michael Adam2012-02-031-1/+1
|
* s3-nmbd: don't discard DGRAM frames from local addresses when we are a DCMatthieu Patou2012-02-031-15/+17
| | | | | | | | | | Winbind use netbios to locate the DC, if samba is also a DC then nmbd receive request from Winbind that are from a local address, those requests must not be discarded otherwise winbind can't find the DC and won't try another method. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Feb 3 11:09:29 CET 2012 on sn-devel-104
* s3-pid: Catch with pid filename's change when config file is not smb.confMatthieu Patou2012-02-031-1/+25
| | | | This is what is done in pidfile_create
* selftest: Fix the exit code of make test when run in buildfarmAmitay Isaacs2012-02-031-0/+2
| | | | | | | | | | | | | | | | | | When make test is run in buildfarm environment (RUN_FROM_BUILD_FARM=1), last process in make test pipeline is subunit-filter. This subunit-filter is responsible for converting failure test result to xfail for known failures. While converting failures to xfail, it sets exitcode=1. If this is the last process in the pipeline make test fails, which is the observed behavior in buildfarm. In autobuild, there is additional process in the pipeline format-subunit which processes the output of subunit-filter and correctly terminates with exit code=0. The buildfarm make test failure is fixed by adding extra filter-subunit in the pipeline, as the extra filter-subunit exits correctly with exit code=0. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Feb 3 07:00:04 CET 2012 on sn-devel-104
* Only ask for specific permissions required when setting an ACL.Jeremy Allison2012-02-031-3/+12
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 3 03:07:33 CET 2012 on sn-devel-104
* Allow a SACL to be sent in cli_set_secdesc().Jeremy Allison2012-02-021-0/+2
|
* s3: Test for faulty xattr_tdb listxattrVolker Lendecke2012-02-023-0/+17
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 22:10:49 CET 2012 on sn-devel-104
* s3-xattr_tdb: Fix listxattrVolker Lendecke2012-02-021-1/+1
| | | | We have to tell the caller how many bytes we actually want
* s3-vfstest: Add removexattrVolker Lendecke2012-02-021-0/+21
|
* s3-vfstest: Add setxattrVolker Lendecke2012-02-021-0/+27
|
* s3-vfstest: Add listxattrVolker Lendecke2012-02-021-0/+48
|
* s3-vfstest: Add getxattrVolker Lendecke2012-02-021-0/+37
|
* s3: Move stream_depot test to script/testsVolker Lendecke2012-02-023-1/+1
|
* s3: Use ARRAY_SIZE in bsd_attr_listVolker Lendecke2012-02-021-1/+1
|
* s3: Simplify streams_depot a bitVolker Lendecke2012-02-021-14/+5
| | | | | b0c0b949 is a bit involved. Passing down booleans is almost never very clear
* s3-vfstest: Fix an uninitialized read in closeVolker Lendecke2012-02-021-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
* s3-vfstest: Fix a double-free on closing a fileVolker Lendecke2012-02-021-1/+1
| | | | "mem_ctx" will be gone after we leave the routine
* s3:auth: fill the sids array of the info3 in ↵Stefan Metzmacher2012-02-021-0/+53
| | | | | | | | | | | | | wbcAuthUserInfo_to_netr_SamInfo3() (bug #8739) Originally, only the rid array was filled and foreign domain sids were omitted. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 2 12:59:32 CET 2012 on sn-devel-104
* s3:auth: fix potential gap creation in wbcsids_to_samr_RidWithAttributeArray()Stefan Metzmacher2012-02-021-4/+5
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3-libsmb: Remove dead prototype.Andreas Schneider2012-02-021-1/+0
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
* build: fixed a link order problemAndrew Tridgell2012-02-021-1/+3
| | | | | | | | | | | | | | | | | this fixes a problem found by obnox where the -L path for CUPS was put before the path to internal libraries. The install path for CUPS happened to be the same as for a old system libtevent, which meant we linked against the old tevent instead of the correct one from our private library paths. The problem was that we were adding the -L paths directly to the ldflags. The waf core code (in ccroot.py) only adds more paths if they are not there already. So by adding it in ldflags it was not added at the end of the list. The fix is just to not do the -L processing in wafsamba and let the waf core do it in the right order Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 2 06:54:42 CET 2012 on sn-devel-104
* replace: Only add bsd dependency when bsd library was found.Jelmer Vernooij2012-02-021-1/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
* tdb2: add --disable-tdb2Rusty Russell2012-02-021-0/+3
| | | | | | | | | | I thought you could --disable-tdb2=false, apparently not! Thanks Michael Adam... Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Feb 2 03:43:08 CET 2012 on sn-devel-104
* smbtorture: Do not leak child processes when exitingChristof Schmitt2012-02-021-0/+8
| | | | | | | | | | | When some child processes could not be created, smbtorture would exit and leave the successfully started child processes running. Add a loop to kill the existing child processes for this case. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 2 01:35:27 CET 2012 on sn-devel-104
* s3-libsmb: Remove dead gssapi code.Andreas Schneider2012-02-012-113/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 1 23:29:44 CET 2012 on sn-devel-104
* s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-019-53/+76
| | | | | | This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
* s3: Test for bug 8733Volker Lendecke2012-02-013-0/+19
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 1 21:53:50 CET 2012 on sn-devel-104
* s3-vfstest: Correctly initialize the connection pathVolker Lendecke2012-02-011-0/+2
|