summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-07-13s3-rpc_server: Removed no longer used functions.Vicentiu Ciorbaru1-281/+0
Removed winreg_printer_delete_subkeys(). Removed winreg_printer_enumvalues(). Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jul 13 12:42:02 CEST 2011 on sn-devel-104
2011-07-13s3-rpc_client: Migrate to dcerpc_winreg_delete_subkeys_recursive().Vicentiu Ciorbaru1-10/+31
Functions now use dcerpc_winreg_delete_subkeys_recursive() instead of the more specific printer function winreg_printer_delete_subkeys(). Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-13s3-rpc_client: Migrate to dcerpc_winreg_enumvals() function.Vicentiu Ciorbaru1-22/+142
The functions that called winreg_printer_enumvalues() function now use dcerpc_winreg_enumvals(). Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-13s3-rpc_client: Added dcerpc_winreg_delete_subkeys_recursive() function.Vicentiu Ciorbaru2-0/+131
This function is set to replace the more specific printer function winreg_printer_delete_subkeys(). Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-13s3-rpc_client: Added dcerpc_winreg_enumvals() function.Vicentiu Ciorbaru2-0/+214
The function is set to replace the more specific printer function winreg_printer_enumvalues() function. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-13s3:libsmb: remove unused cli_smb_inbuf()Stefan Metzmacher2-8/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
2011-07-12s3: dbwrap_ctdb.c: fix #ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION issue (bug ↵Björn Baumbach1-2/+2
#8303) Check for HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL instead of CTDB_CONTROL_SCHEDULE_FOR_DELETION, which is an enum member and not a define. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 18:56:30 CEST 2011 on sn-devel-104
2011-07-12s3:libsmb: remove unused cli_oplock_handler()Stefan Metzmacher4-54/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12s3:include: remove SMBkeepaliveStefan Metzmacher1-1/+0
metze
2011-07-12s3:smbd: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher2-12/+12
metze
2011-07-12s3:libsmb: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher1-1/+1
metze
2011-07-12s3:lib: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher1-2/+2
metze
2011-07-12s3:libsmb: remove unused cli->privilegesStefan Metzmacher2-2/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
2011-07-12s3:smbd: use PROTOCOL_SMB2_02 instead PROTOCOL_SMB2Stefan Metzmacher3-3/+3
metze
2011-07-12s3:loadparm: use PROTOCOL_SMB2_02 instead of PROTOCOL_SMB2Stefan Metzmacher1-2/+3
metze
2011-07-11s3:smb2_create: use smbd_calculate_access_mask() instead of ↵Stefan Metzmacher1-1/+6
smbd_check_open_rights() metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 22:45:01 CEST 2011 on sn-devel-104
2011-07-11s3:smb2_tcon: return the correct maximal_access on the shareStefan Metzmacher1-1/+1
metze
2011-07-11s3:smbd: return the real share access mask in the SMBtconX responseStefan Metzmacher1-3/+1
metze
2011-07-11s3:smbd: use smbd_calculate_access_mask() also for fake_filesStefan Metzmacher1-0/+13
metze
2011-07-11s3:smbd: check the share level access mask in smbd_calculate_access_mask()Stefan Metzmacher1-0/+17
I think we should reject invalid access early, before we might create new files. Also smbd_check_open_rights() is only called if the file existed. metze
2011-07-11s3:smbd: make smbd_calculate_access_mask() non-staticStefan Metzmacher2-14/+20
metze
2011-07-11s3:smbd/msdfs: let create_conn_struct() check the share security descriptorStefan Metzmacher1-0/+30
metze
2011-07-11s3:winbindd_cm: make use of cli->src_ss instead of calling getsockname()Stefan Metzmacher1-2/+8
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 19:31:14 CEST 2011 on sn-devel-104
2011-07-11s3:winbindd_cm: make use of cli->dest_ss instead calling getpeername()Stefan Metzmacher1-1/+7
metze
2011-07-11s3:winbindd_cm: make use of cli_state_disconnect()Stefan Metzmacher1-4/+2
metze
2011-07-11s3:winbindd_cm: make use of cli_state_is_connected()Stefan Metzmacher1-9/+6
metze
2011-07-11s3:auth_server: use cli_echo() to check if the server is aliveStefan Metzmacher1-5/+10
This works over port 139 and also 445. send_keepalive() would only work on port 139. metze
2011-07-11s3:auth_server: make use of cli_state_is_connected()Stefan Metzmacher1-3/+3
metze
2011-07-11s3:client: simplify readline_callback() to only use cli_echo()Stefan Metzmacher1-54/+9
cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze
2011-07-11s3:libsmbclient: use cli_state_is_connected() in SMBC_check_server()Stefan Metzmacher1-4/+4
metze
2011-07-11s3:libsmbclient: don't log the lowlevel fd in smbc_free_context()Stefan Metzmacher1-2/+2
metze
2011-07-11s3:libsmb: add cli_state_disconnect()Stefan Metzmacher2-0/+8
metze
2011-07-11s3:libsmb: make use of cli_state_is_connected()Stefan Metzmacher1-13/+9
metze
2011-07-11s3:libsmb: remove unused cli_set_port()Stefan Metzmacher4-13/+0
metze
2011-07-11s3:libsmb: also remember the local socket address after connectStefan Metzmacher2-0/+9
metze
2011-07-11s3:smb2cli_base: add my copyrightStefan Metzmacher1-0/+1
metze
2011-07-11s3-torture: run_locktest2(): replace check_error() with check_both_error()Björn Baumbach1-10/+14
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest2(): replace cli_lock() with cli_lock32()Björn Baumbach1-20/+35
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: run_locktest1(): replace cli_lock() with cli_lock32()Björn Baumbach1-17/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: locktest2: replace cli_lock() with cli_lock32()Björn Baumbach1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-torture: let wait_lock() use cli_lock32() instead of cli_lock()Björn Baumbach1-3/+13
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-11s3-libsmb: let cli_lock64 return NTSTATUS instead of boolBjörn Baumbach3-16/+15
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104
2011-07-11s3-libsmb: introduce cli_lock32()Björn Baumbach2-0/+18
Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-10s3:smb2cli_tcon: use tevent_req_oom()Stefan Metzmacher1-1/+1
metze
2011-07-10s3: Fix Coverity ID 2587,2588: CHECKED_RETURNVolker Lendecke2-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 10 10:36:11 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: ask for the next response if there're still pending requestsStefan Metzmacher1-1/+21
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 13:55:04 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: make use of tevent_req_defer_callback()Stefan Metzmacher1-28/+64
In order to notify requests of transport layer errors, we need to defer the triggering of the callbacks, otherwise we may crash, if one of the callbacks destroys the cli_state. metze
2011-07-09s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv()Stefan Metzmacher4-27/+44
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze
2011-07-09s3:smb2cli_base: call smb2cli_req_unset_pending() before tevent_req_done()Stefan Metzmacher1-0/+1
metze
2011-07-09s3:smb2cli_base: unset the destructor in smb2cli_req_unset_pending()Stefan Metzmacher1-2/+3
metze