Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-02 | s3:smb2_server: remove unused outhdr variables | David Disseldorp | 1 | -2/+0 | |
2011-11-01 | Call check_parent_access() on readdir. | Jeremy Allison | 1 | -0/+13 | |
2011-11-01 | Change function signature of check_parent_access() to take char * instead of ↵ | Jeremy Allison | 2 | -6/+10 | |
struct smb_filename. Expose it so it can be called from directory code. | |||||
2011-10-31 | s3:smb2_server: FLAG_CHAINED means we always use the last session_id and tid | Stefan Metzmacher | 2 | -33/+20 | |
metze | |||||
2011-10-31 | s3:smb2_server: don't reset the tid and session id in the out hdr of ↵ | Stefan Metzmacher | 1 | -14/+0 | |
compound requests Windows also leaves tid (0xFFFFFFFF) and session id (0xFFFFFFFFFFFFFFFF) as the client requested them. metze | |||||
2011-10-31 | s3:smb2_server: echo the SMB2_HDR_CREDIT_CHARGE and SMB2_HDR_SIGNATURE fields | Stefan Metzmacher | 1 | -2/+4 | |
Windows just echos back the given values by default. metze | |||||
2011-10-31 | s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553) | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104 | |||||
2011-10-28 | Remove the order dependency in parent_override_delete(), just check for & ↵ | Jeremy Allison | 1 | -2/+2 | |
not ==. | |||||
2011-10-28 | Remove unused "struct security_descriptor" parameter from check_parent_access() | Jeremy Allison | 1 | -8/+2 | |
2011-10-28 | Finally do all the open checks inside open_file(). Checks inside | Jeremy Allison | 1 | -0/+30 | |
vfs_acl_common can now be removed. | |||||
2011-10-28 | Simplify smbd_check_open_rights() and move all the special casing inside it. | Jeremy Allison | 1 | -101/+72 | |
2011-10-28 | Move parent_override_delete() to before I need to use it. | Jeremy Allison | 1 | -19/+19 | |
2011-10-28 | Make smbd_check_open_rights() static. | Jeremy Allison | 2 | -5/+1 | |
2011-10-27 | s3: Include uid_wrapper where it is missing. | Andreas Schneider | 1 | -0/+1 | |
2011-10-27 | Include uid_wrapper correctly. | Andreas Schneider | 1 | -1/+1 | |
2011-10-26 | Factor out the code checking if a parent should override DELETE_ACCESS into ↵ | Jeremy Allison | 1 | -9/+31 | |
a function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 26 23:15:05 CEST 2011 on sn-devel-104 | |||||
2011-10-26 | Remove another level of indentation - deal with !NT_STATUS_OK individually. | Jeremy Allison | 1 | -65/+63 | |
2011-10-26 | Add early return on stat open without O_CREAT if file doesn't exist. | Jeremy Allison | 1 | -71/+74 | |
Reduces one level of indentation. | |||||
2011-10-25 | libcli/smb: move smb_signing.[ch] to the toplevel | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-10-22 | Third part of fix for bug #8541 - readlink() on Linux clients fails if the ↵ | Jeremy Allison | 1 | -2/+1 | |
symlink target is outside of the share. Missed passing ucf_flags instead of hard coded flags in findfirst call. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 06:30:16 CEST 2011 on sn-devel-104 | |||||
2011-10-22 | Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵ | Jeremy Allison | 3 | -2/+12 | |
symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames. | |||||
2011-10-22 | Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵ | Jeremy Allison | 3 | -11/+42 | |
outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | libcli/smb: move smb_seal.c to the toplevel | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | s3-seal Remove struct smb_srv_trans_enc_ctx | Andrew Bartlett | 3 | -104/+54 | |
This structure added no value, particularly after the move to gensec. It was added at a time when auth_ntlmssp_state was not available in the client. This changed a while back (the wrapper was extended with client calls), and the move to gensec again reinforced that we do not need the extra complexity. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing code | Andrew Bartlett | 1 | -15/+24 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_want_feature() | Andrew Bartlett | 3 | -7/+7 | |
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and ↵ | Andrew Bartlett | 1 | -2/+2 | |
auth_ntlmssp_negotiated_seal() We now just call the gensec_have_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_update wrapper | Andrew Bartlett | 4 | -27/+29 | |
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-auth remove auth_ntlmssp_session_info() | Andrew Bartlett | 2 | -8/+9 | |
Instead, call gensec_session_info() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3:smbd/seal: pass talloc_tos() auth_ntlmssp_update(), because we free a few ↵ | Stefan Metzmacher | 1 | -1/+1 | |
lines later metze | |||||
2011-10-20 | Refactor to create check_parent_access() which can be called for file ↵ | Jeremy Allison | 1 | -23/+64 | |
creation too. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 20:29:22 CEST 2011 on sn-devel-104 | |||||
2011-10-20 | Make mkdir_internal() check the parent ACL for SEC_DIR_ADD_SUBDIR rights. | Jeremy Allison | 1 | -2/+33 | |
2011-10-20 | Fix error return to be NT_STATUS_NOT_A_DIRECTORY. | Jeremy Allison | 1 | -2/+2 | |
2011-10-20 | Make use of the "dir_exists" we already have on directory open. | Jeremy Allison | 1 | -8/+28 | |
2011-10-19 | s3: Remove duplicate fsctl function definitions | David Disseldorp | 1 | -1/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-18 | s3-smbd Give the nt error string when failing to set up encrypted transport | Andrew Bartlett | 1 | -3/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-18 | ntlmssp: Move ntlmssp code to auth/ntlmssp | Andrew Bartlett | 3 | -3/+3 | |
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-17 | First part of fix for bug #8419 - Make VFS op "streaminfo" stackable. | Frank Lahm | 7 | -13/+33 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104 | |||||
2011-10-14 | s3: remove some dead prototypes. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2011-10-14 | Add support for VFS op streaminfo chaining in all relevant VFS modules. | Frank Lahm | 5 | -10/+10 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104 | |||||
2011-10-13 | lib/util: Add back control of mmap and hash size in tdb for top level build | Andrew Bartlett | 1 | -2/+11 | |
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett | |||||
2011-10-13 | libcli/auth: Provide a struct loadparm_context to schannel calls | Andrew Bartlett | 1 | -1/+4 | |
This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett | |||||
2011-10-13 | s3:smb2_server: get/set info are limited by max_trans size (bug #8473) | Stefan Metzmacher | 2 | -0/+11 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 03:32:02 CEST 2011 on sn-devel-104 | |||||
2011-10-13 | s3:smb2_server: reject writes larger then the negotiated max_write size (bug ↵ | Stefan Metzmacher | 1 | -2/+0 | |
#8473) metze | |||||
2011-10-13 | s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug ↵ | Stefan Metzmacher | 6 | -8/+12 | |
#8473) We should enforce the negotiated max sizes instead of the lp_smb2_max_*() sizes. metze | |||||
2011-10-12 | s3:smbcontrol: let smbd pass the idmap msg to its children for convenience | Gregor Beck | 3 | -4/+36 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-12 | s3: factor out messaging_send_to_children() | Gregor Beck | 2 | -8/+19 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-12 | s3: fix id_cache_kill to delete the the id-mappig from caches | Gregor Beck | 1 | -0/+1 | |
The intendet and documented behavior of smbcontrol smbd idmap kill is to delete the mapping from caches and additionally kill the smbd if an affected id is in use. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:smbd: convert notify db to use dbwrap wrapper functions | Michael Adam | 1 | -28/+30 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:smbd: convert session.c to use dbwrap wrapper functions only | Michael Adam | 1 | -6/+12 | |
Avoid direct use of the db_record and db_context structs. |