summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2012-08-07s3:smb2_server: introduce a smbd_smb2_dispatch_table (for now just with names)Stefan Metzmacher1-22/+46
metze
2012-08-07s3:smb2_server: move 'conn' to main block of smbd_smb2_request_dispatch()Stefan Metzmacher1-3/+2
metze
2012-08-07s3-pysmbd: Try opening as a file, then as a directoryAndrew Bartlett1-2/+2
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 08:59:21 CEST 2012 on sn-devel-104
2012-08-07s3-pysmbd: Use talloc_zero()Andrew Bartlett1-1/+1
This avoids operating on uninitialised data Andrew Bartlett
2012-08-07s3-pysmbd: Add talloc_stackframe() to smbd_set_simple_acl wrapperAndrew Bartlett1-0/+6
2012-08-06s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher2-261/+80
smbd_smb2_request_read*() This changes the way we read SMB2 traffic from the socket, now as create just one large buffer for the whole NBT payload and then split it into iovec elements in smbd_smb2_inbuf_parse_compound() metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 6 21:54:35 CEST 2012 on sn-devel-104
2012-08-06s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher1-28/+15
smbd_smb2_request_create() metze
2012-08-06s3:smb2_server: remove const from smbd_smb2_first_negprot()Stefan Metzmacher2-2/+2
metze
2012-08-06s3:smb2_server: add smbd_smb2_inbuf_parse_compound()Stefan Metzmacher1-0/+104
metze
2012-08-05s3:smbd: remove unused variable in sesssetup.cStefan Metzmacher1-1/+0
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Aug 5 23:09:06 CEST 2012 on sn-devel-104
2012-08-05s3:smb2_server: make use of SMBD_SMB2_* macrosStefan Metzmacher1-20/+12
metze
2012-08-05s3:smb2_ioctl: make use of SMBD_SMB2_* macrosStefan Metzmacher1-8/+6
metze
2012-08-05s3:smb2_lock: make use of SMBD_SMB2_* macrosStefan Metzmacher1-10/+7
metze
2012-08-05s3:smb2_setinfo: make use of SMBD_SMB2_* macrosStefan Metzmacher1-5/+4
metze
2012-08-05s3:smb2_getinfo: make use of SMBD_SMB2_* macrosStefan Metzmacher1-5/+4
metze
2012-08-05s3:smb2_negprot: make use of SMBD_SMB2_* macrosStefan Metzmacher1-4/+3
metze
2012-08-05s3:smb2_write: make use of SMBD_SMB2_* macrosStefan Metzmacher1-5/+4
metze
2012-08-05s3:smb2_tcon: make use of SMBD_SMB2_* macrosStefan Metzmacher1-7/+5
metze
2012-08-05s3:smb2_create: make use of SMBD_SMB2_* macrosStefan Metzmacher1-5/+4
metze
2012-08-05s3:smb2_find: make use of SMBD_SMB2_* macrosStefan Metzmacher1-5/+4
metze
2012-08-05s3:smb2_sesssetup: make use of SMBD_SMB2_* macrosStefan Metzmacher1-8/+6
metze
2012-08-05s3:smb2_glue: make use of SMBD_SMB2_IN_HDR_PTR()Stefan Metzmacher1-4/+1
metze
2012-08-05s3:smb2_read: make use of SMBD_SMB2_IN_BODY_PTR()Stefan Metzmacher1-2/+1
metze
2012-08-05s3:smb2_notify: make use of SMBD_SMB2_IN_*_PTR()Stefan Metzmacher1-4/+2
metze
2012-08-05s3:smb2_flush: make use of SMBD_SMB2_IN_BODY_PTR()Stefan Metzmacher1-2/+1
metze
2012-08-05s3:smb2_close: make use of SMBD_SMB2_IN_BODY_PTR()Stefan Metzmacher1-2/+1
metze
2012-08-05s3:smb2_break: make use of SMBD_SMB2_IN_BODY_PTR()Stefan Metzmacher1-4/+2
metze
2012-08-05s3:smbd: add helper macros to access smb2req->{in,out}.vector[]Stefan Metzmacher1-0/+18
For SMB3 encryption we need to change the vector layout and we better hide this behind some central macros. metze
2012-08-05s3:smb2_server: use 'i' instead of '1' as vector index in ↵Stefan Metzmacher1-2/+2
smbd_smb2_request_pending_timer() If we reach this code i is currently always 1, but it's easier to unstand this way. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Aug 5 20:00:26 CEST 2012 on sn-devel-104
2012-08-05s3:smb2_lock: remove unused in_smbpidStefan Metzmacher1-8/+0
metze
2012-08-05s3:smb2_write: remove unused in_smbpidStefan Metzmacher1-8/+0
metze
2012-08-05s3:smb2_read: remove unused in_smbpidStefan Metzmacher1-8/+0
metze
2012-08-04s3:smbd: add support for SMB_EXTENDED_SIGNATURES in SMBtconXStefan Metzmacher1-1/+9
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Aug 4 14:28:04 CEST 2012 on sn-devel-104
2012-08-04s3:smbd: setup the application session key with the first tcon on a sessionStefan Metzmacher2-31/+87
Look for Server.Session.SessionKeyState in [MS-SMB]. The first SMBtconX sets the state to available, which makes it possible to protect the session key at that stage, if client and server support TREE_CONNECT_ANDX_EXTENDED_SIGNATURE. metze
2012-08-04s3:smbd: setup session->global->signing_/application_key during SPNEGO SMB1 ↵Stefan Metzmacher1-2/+57
session setups metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Aug 4 11:09:42 CEST 2012 on sn-devel-104
2012-08-04s3:smbd: setup session->global->signing_/application_key during old SMB1 ↵Stefan Metzmacher1-2/+60
session setups metze
2012-08-04s3:smbd: keep the "application session key" during SMB1 reauthStefan Metzmacher1-2/+12
metze
2012-08-04libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher1-2/+8
metze
2012-08-04s3:smbd: skip nbt header in srv_check_sign_mac()Stefan Metzmacher1-4/+10
metze
2012-08-02s3-pysmbd: Add hook for get_nt_acl()Andrew Bartlett1-0/+26
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 2 13:27:55 CEST 2012 on sn-devel-104
2012-08-02s3-pysmbd: fix DEBUGAndrew Bartlett1-1/+1
2012-08-02s3-pysmbd: Add my copyrightAndrew Bartlett1-1/+3
2012-08-02s3-pysmbd: Add set_nt_acl() function based on parts of vfstestAndrew Bartlett1-0/+111
This will allow us to set the full NT ACL on a file, using the VFS layer, during provision of the AD DC. Andrew Bartlett
2012-08-01s3:smbd: add a optional_support helper variable to reply_tcon_and_X()Stefan Metzmacher1-4/+7
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 1 18:25:26 CEST 2012 on sn-devel-104
2012-08-01s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID defineStefan Metzmacher1-1/+1
metze
2012-07-31s3: Fix Coverity ID 710818 Resource leakVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3: Fix Coverity ID 710827 Resource leakVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3: Make request_timed_out() staticVolker Lendecke2-4/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IPStefan Metzmacher1-15/+37
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104
2012-07-31s3:smbd: use print_sockaddr() instead of client_socket_addr()Stefan Metzmacher1-1/+1
We already have a server address in sockaddr_storage format. Also the name "client_socket" was very miss leading, as it returns the local address of the socket. metze