summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-20s3-vfs: Correct the implementation of fake_acls_sys_acl_delete_def_file()Andrew Bartlett1-1/+31
2012-08-20s3-vfs: Use the system. namespace for fake ACLsAndrew Bartlett1-4/+4
By using the system. namespace, we make sure this is only run on top of a TDB based ACL store (ie in make test). Andrew Bartlett
2012-08-20s3-smbd: ensure we give appropriate errors for EA requests on streamsAndrew Bartlett1-35/+77
2012-08-20s3-smbd: Do not look for EA information on a streamAndrew Bartlett1-6/+8
The estimated EA size needs to be of the main file. However, the fsp may point to the stream, so we need to ignore it if this is the case. This may mean we estimate wrong if there has been a rename. Andrew Bartlett
2012-08-20s3-smbd: Push smb_fname into estimate_ea_sizeAndrew Bartlett1-12/+20
This ensures that we return the ea size of the stream, not the overall file. This is important as if there is an EA on the main file, the raw.streams test was failing. Andrew Bartlett
2012-08-20s4-ntvfs: Add TODO on ea_sizeAndrew Bartlett1-1/+1
This is almost certainly un-important. Andrew Bartlett
2012-08-20s4-ntvfs: Ensure we do not attempt to write EAs on streamsAndrew Bartlett1-0/+6
2012-08-20s3-vfs: Allow vfs_xattr_tdb to work without a connected shareAndrew Bartlett1-19/+99
This is needed to that get_nt_acl_no_snum() can work. Andrew Bartlett
2012-08-17s4:torture:basic: add more delete test - variants of deltest16 and deltest17Michael Adam2-1/+629
There seems to be a difference if the initial delete_on_close flag was set on a handle that created the file or if the handle if was for a file that already existed. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
2012-08-17s3: add a debug message for failed execv in sys_popen()Michael Adam1-1/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-17lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam2-1/+48
Utility functions for handling the special placeholder server-id value for disconnected clients (to be used for durable handles). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-08-17lib/util: let server_id_str() skip the task_id if 0 in the cluster case tooStefan Metzmacher1-0/+5
server_id_from_string() already handles that case. metze
2012-08-17s3:lib: implement interpret_pid() as wrapper of server_id_from_string()Stefan Metzmacher1-30/+1
metze
2012-08-17lib/util: add server_id_from_string()Stefan Metzmacher2-0/+38
metze
2012-08-17s3:lib: implement serverid_equal() as macro of server_id_equal()Stefan Metzmacher3-24/+1
metze
2012-08-17lib/util: add server_id_equal()Stefan Metzmacher2-0/+22
metze
2012-08-17s3:vfs_tsmsm only send notifications when file was offline beforeChristian Ambach1-2/+6
Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 17 20:05:30 CEST 2012 on sn-devel-104
2012-08-17s3: Adapt the tsmsm module to the new aio routinesVolker Lendecke1-8/+120
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3-vfs: Fix calls of lp_parm_talloc_stringVolker Lendecke1-6/+9
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3: Remove the gpfs_hsm_notify moduleVolker Lendecke7-129/+3
The functionality has been merged into vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3: Merge vfs_gpfs_hsm_notify into vfs_gpfs.cVolker Lendecke1-0/+190
It was separated out because formerly our async I/O was not properly stackable. aio_fork could for example catch aio and not get aio_return get through to vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s4-dsdb: Use tmp_ctx in kccsrv_check_deleted to avoid leaking memory onto ↵Andrew Bartlett1-6/+11
part->dn The confusing use of do_dn as a memory context while legitimate created a bug when it was copied and modified to search on a DN from long-term state. By always using a temporary memory context it is clear what paramter is the memory context. This was found based on a log provided by Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Thanks Ricky! Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 18:24:10 CEST 2012 on sn-devel-104
2012-08-17s4-kcc: Avoid use-after-free of dn and add tmp_ctxAndrew Bartlett1-2/+9
By using a tmp_ctx we are clearer about allocating temporary memory. Andrew Bartlett
2012-08-17s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher4-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
2012-08-17s3:smb2_negprot: annouce/negotiate SMB3 encryption supportStefan Metzmacher1-0/+8
metze
2012-08-17s3:smb2_server: add SMB3 encryption supportStefan Metzmacher2-49/+353
metze
2012-08-17s3:smbd: don't disconnect the client when a share has "smb encrypt = required"Stefan Metzmacher2-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
2012-08-17s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* valuesStefan Metzmacher4-8/+8
metze
2012-08-17s3:smbd: make use of ENCRYPTION_REQUIRED()Stefan Metzmacher1-2/+2
metze
2012-08-17libcli/smb: make sure the SMB2_TRANSFORM pdu is completeStefan Metzmacher1-3/+12
metze
2012-08-17s4:libcli/smb2: reset trsnport->compound.related when a compound chain is ↵Stefan Metzmacher1-0/+1
finished metze
2012-08-17build: Ensure -Werror=format works with -Wformat=2 on NULL format stringsAndrew Bartlett1-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
2012-08-17s4-dsdb: Ensure we always free tmp_ctx in schema refresh checkAndrew Bartlett1-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
2012-08-17Fix bug #9085 - NMB registration for a duplicate workstation fails with ↵S Hargagan1-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
2012-08-17s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2-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
2012-08-17s4: Fix returns in py_check_dcerpc_typeVolker Lendecke1-2/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-17s3:smb2_server: try to sign an error response if we have a signing keyStefan Metzmacher1-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
2012-08-16s3:smb2_server: verify the signature before the session_statusStefan Metzmacher1-3/+4
metze
2012-08-16s3:smb2_server: add some const to print_req_vectors()Stefan Metzmacher1-1/+1
metze
2012-08-16s4:cldap_server: only return DS_SERVER_*TIMESERV if "ntp_signd" is usedStefan Metzmacher1-4/+6
metze
2012-08-16s4:cldap_server: set DS_SERVER_SELECT_SECRET_DOMAIN_6 if we're a RODCStefan Metzmacher1-5/+9
metze
2012-08-16s3-libsmb: Add a simple test for python bindingsVolker Lendecke2-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
2012-08-16s3-libsmb: Add a python wrapperVolker Lendecke3-1/+678
Please note that this is not finished and only for internal use. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16tevent: change version to 0.9.17 after adding the "poll_mt" backendStefan Metzmacher2-1/+83
metze
2012-08-16tevent: Add threaded poll_mt testcaseVolker Lendecke1-0/+145
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16lib/tevent: Add a thread-safe tevent backendVolker Lendecke3-3/+160
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16tevent_poll: Decouple poll_ev->fds handling from adding/removing fdsVolker Lendecke1-72/+135
Step 1 in a python backend for multiple threads Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16s3-g_lock: Make g_lock_lock more robustVolker Lendecke1-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
2012-08-16s3-msg: For msg_channel, correct the talloc hierarchyVolker Lendecke1-1/+1
talloc_free() of a channel must free all immediate requests that have piled up Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3-msg: Rename msg_channel_init_destructorVolker Lendecke1-3/+3
Signed-off-by: Christian Ambach <ambi@samba.org>