summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher2012-08-174-2/+20
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
* s3:smb2_negprot: annouce/negotiate SMB3 encryption supportStefan Metzmacher2012-08-171-0/+8
| | | | metze
* s3:smb2_server: add SMB3 encryption supportStefan Metzmacher2012-08-172-49/+353
| | | | metze
* s3:smbd: don't disconnect the client when a share has "smb encrypt = required"Stefan Metzmacher2012-08-172-6/+8
| | | | | | | | It's not the client fault, if he doesn't know that encryption is required. We should just return ACCESS_DENIED and let the client work on other shares and open files on the current SMB connection. metze
* s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* valuesStefan Metzmacher2012-08-174-8/+8
| | | | metze
* s3:smbd: make use of ENCRYPTION_REQUIRED()Stefan Metzmacher2012-08-171-2/+2
| | | | metze
* libcli/smb: make sure the SMB2_TRANSFORM pdu is completeStefan Metzmacher2012-08-171-3/+12
| | | | metze
* s4:libcli/smb2: reset trsnport->compound.related when a compound chain is ↵Stefan Metzmacher2012-08-171-0/+1
| | | | | | finished metze
* build: Ensure -Werror=format works with -Wformat=2 on NULL format stringsAndrew Bartlett2012-08-171-1/+1
| | | | | | | | | | | | | This should fix the build on some gcc versions, (noticed on FreeBSD by Volker). We want the protection of -Werror=format without the errors extending to the format string itself being NULL, because that is valid for ldb_search(). Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 14:50:16 CEST 2012 on sn-devel-104
* s4-dsdb: Ensure we always free tmp_ctx in schema refresh checkAndrew Bartlett2012-08-171-0/+2
| | | | | | | | | | | | | | This was found based on a log provided by Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Thanks Ricky! In that log, over 2.5 days this particular allocation was repeated: 1715099 talloc_new: ../source4/dsdb/samdb/ldb_modules/schema_load.c:120 contains 0 bytes in 1 blocks Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 06:21:18 CEST 2012 on sn-devel-104
* Fix bug #9085 - NMB registration for a duplicate workstation fails with ↵S Hargagan2012-08-171-1/+1
| | | | | | | | | registration refuse Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 17 04:15:21 CEST 2012 on sn-devel-104
* s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2012-08-172-6/+20
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
* s4: Fix returns in py_check_dcerpc_typeVolker Lendecke2012-08-171-2/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:smb2_server: try to sign an error response if we have a signing keyStefan Metzmacher2012-08-171-1/+18
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 00:54:01 CEST 2012 on sn-devel-104
* s3:smb2_server: verify the signature before the session_statusStefan Metzmacher2012-08-161-3/+4
| | | | metze
* s3:smb2_server: add some const to print_req_vectors()Stefan Metzmacher2012-08-161-1/+1
| | | | metze
* s4:cldap_server: only return DS_SERVER_*TIMESERV if "ntp_signd" is usedStefan Metzmacher2012-08-161-4/+6
| | | | metze
* s4:cldap_server: set DS_SERVER_SELECT_SECRET_DOMAIN_6 if we're a RODCStefan Metzmacher2012-08-161-5/+9
| | | | metze
* s3-libsmb: Add a simple test for python bindingsVolker Lendecke2012-08-162-0/+80
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 22:49:06 CEST 2012 on sn-devel-104
* s3-libsmb: Add a python wrapperVolker Lendecke2012-08-163-1/+678
| | | | | | Please note that this is not finished and only for internal use. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent: change version to 0.9.17 after adding the "poll_mt" backendStefan Metzmacher2012-08-162-1/+83
| | | | metze
* tevent: Add threaded poll_mt testcaseVolker Lendecke2012-08-161-0/+145
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/tevent: Add a thread-safe tevent backendVolker Lendecke2012-08-163-3/+160
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent_poll: Decouple poll_ev->fds handling from adding/removing fdsVolker Lendecke2012-08-161-72/+135
| | | | | | Step 1 in a python backend for multiple threads Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-g_lock: Make g_lock_lock more robustVolker Lendecke2012-08-161-0/+24
| | | | | | | | | | | | If for some reason the cleanup of dbwrap_watch_send does not work properly, we might starve indefinitely. Make the lock routine more robust by retrying every 5-10 seconds. g_lock_trylock will clean up orphaned entries. Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 16 19:44:00 CEST 2012 on sn-devel-104
* s3-msg: For msg_channel, correct the talloc hierarchyVolker Lendecke2012-08-161-1/+1
| | | | | | | talloc_free() of a channel must free all immediate requests that have piled up Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-msg: Rename msg_channel_init_destructorVolker Lendecke2012-08-161-3/+3
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-autoconf: Fix deps for dbwrap_tortureVolker Lendecke2012-08-161-1/+1
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-g_lock: Properly free "rec" on retry to avoid deadlockVolker Lendecke2012-08-161-0/+1
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:brlock: give traverse_fn a proper nameChristian Ambach2012-08-161-2/+2
|
* s3:vfs_gpfs: make sure parameters are set correctly for leasesChristian Ambach2012-08-161-0/+25
| | | | | | | gpfs:leases requires kernel oplocks = yes and level2 oplocks = no to work properly make sure those are set correctly for a share
* s3:vfs_gpfs: Fix compile error in gpfs moduleChristof Schmitt2012-08-161-0/+1
| | | | | | | | | | | Fix this compile error by adding fcntl.h as a include that defines F_RDLCK and F_WRLCK: modules/gpfs.c: In function ‘set_gpfs_lease’: modules/gpfs.c:102: error: ‘F_RDLCK’ undeclared (first use in this function) modules/gpfs.c:102: error: (Each undeclared identifier is reported only once modules/gpfs.c:102: error: for each function it appears in.) modules/gpfs.c:105: error: ‘F_WRLCK’ undeclared (first use in this function)
* libcli/smb: support broken OS/2 error responses bug #9096Stefan Metzmacher2012-08-161-3/+57
| | | | | | | | | OS/2 skips the DATA Block in SMB1 responses. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 13:16:49 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-165-11/+95
| | | | | | | | | | | This does not check for consistency or correctness yet, that will be done with python unit tests. The purpose of this test is to ensure that the vfstest wrapper doesn't crash. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
* s3-torture: Add ACL commands to vfstestAndrew Bartlett2012-08-161-0/+311
| | | | | | This will allow easier investigation of our ACL layer. Andrew Bartlett
* s3-torture: Use talloc more in vfstestAndrew Bartlett2012-08-162-29/+25
| | | | | | This matches the rest of Samba, which allocates many of these structures with talloc. Andrew Bartlett
* s3-torture: Initialise fsp fully in vfstest openAndrew Bartlett2012-08-161-0/+34
|
* s3-smbd: Do not check no_acl_syscall_error(errno) after sys_acl_init()Andrew Bartlett2012-08-161-11/+2
| | | | | | This is no longer a VFS call, so will no longer fail in this way. Andrew Bartlett
* selftest: Extend xattr-tdb-1 vfstest to call statAndrew Bartlett2012-08-161-0/+1
|
* s3-vfs: Continue to make vfs_xattr_tdb non-recursiveAndrew Bartlett2012-08-161-24/+50
| | | | | | We now always use _NEXT_ VFS calls, even to build the file id. Andrew Bartlett
* s3-vfs: Add new VFS module to fake setting an ACLAndrew Bartlett2012-08-162-0/+378
| | | | | | | The purpose of this module is to remove the relience on the system having ACL support to test NT ACLs. Andrew Bartlett
* librpc/idl: Fix acl array definition in smb_acl_tAndrew Bartlett2012-08-161-1/+1
|
* s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit testAndrew Bartlett2012-08-163-10/+52
| | | | | | | | | | | We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 02:55:19 CEST 2012 on sn-devel-104
* s3-selftest: convert stream_depot vfstest driver into a subunit testAndrew Bartlett2012-08-163-10/+35
| | | | | | | | | | This gives us our first automated coverage of the vfstest binary. We don't use the simple smb.conf because we need to override all the paths for this to work as non-root without a panic, so we use the s3dc environment, which already loads this module. Andrew Bartlett
* fix printf warning in net connectionsAndrew Bartlett2012-08-161-2/+2
|
* s3:utils: remove standalone cclean toolGregor Beck2012-08-164-329/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:doc manpage for "net connections cleanup"Gregor Beck2012-08-161-0/+39
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:net add command "connections cleanup"Gregor Beck2012-08-165-2/+286
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-vfs: Set errno in xattr emulationAndrew Bartlett2012-08-152-0/+7
| | | | | | | | | The caller may check this errno. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 15 18:05:33 CEST 2012 on sn-devel-104
* s3-vfs: Avoid loops in VFS modules: call _NEXT functions in xattr emulationAndrew Bartlett2012-08-152-8/+8
| | | | | | | | We need to call the next module in the stack otherwise we will loop if the stat call is in turn implemented in terms of extended attribute lookup. Andrew Bartlett