Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-09 | source3/smbd/pysmbd.c: Always use create_conn_struct(). Don't hand create ↵ | Jeremy Allison | 1 | -24/+10 | |
connection structs. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2013-01-07 | pysmbd: Change to keyword based arguments | Andrew Bartlett | 1 | -23/+43 | |
Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-01-07 | pysmbd: Convert pysmbd to take an optional service to connect to | Andrew Bartlett | 1 | -125/+156 | |
This uses create_conn_struct to correctly call VFS_CONNECT(), but only if a service has been specified. Andrew Bartlett Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2012-11-13 | Change get_nt_acl_no_snum() to return an NTSTATUS, not a struct ↵ | Andrew Bartlett | 1 | -1/+3 | |
security_descriptor *. Internally change the implementation to use SMB_VFS_GET_NT_ACL() instead of SMB_VFS_FGET_NT_ACL() with a faked-up file struct. Andrew Bartlett Reviewed by: Jeremy Allison <jra@samba.org> | |||||
2012-11-13 | smbd: Correctly set fsp->is_directory before dealing with ACLs | Andrew Bartlett | 1 | -1/+24 | |
Change set_nt_acl_no_snum() to correctly set up the fsp. This does a stat on a real fsp in set_nt_acl_no_snum. Reviewed by: Jeremy Allison <jra@samba.org> | |||||
2012-11-12 | pysmbd: Add SMB_ACL_EXECUTE to the mask set by make_simple_acl() | Andrew Bartlett | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-11-07 | Remove two unused variables | Volker Lendecke | 1 | -1/+0 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Nov 7 17:18:06 CET 2012 on sn-devel-104 | |||||
2012-10-26 | pysmbd: Set umask to 0 during smbd operations | Andrew Bartlett | 1 | -9/+34 | |
2012-10-26 | pysmbd: Remember to close files after setting the NT ACL | Andrew Bartlett | 1 | -0/+5 | |
2012-10-26 | pysmbd: Add hook for unlink() so python scripts can remove xattr.tdb entries | Andrew Bartlett | 1 | -0/+68 | |
If we do not provide a way to remove files from xattr.tdb, we can re-use the inode. Andrew Bartlett | |||||
2012-10-25 | pysmbd: Fix pysmbd octal mode handling | Andrew Bartlett | 1 | -2/+2 | |
It is clearly too long since Computer Science 101... ;-) Andrew Bartlett | |||||
2012-10-11 | smbd: Add mem_ctx to sys_acl_init() and all callers | Andrew Bartlett | 1 | -20/+20 | |
This changes from allocation on NULL to allocation on the supplied memory context. Currently that supplied context is talloc_tos() at the the final consumer of the ACL. Andrew Bartlett | |||||
2012-09-25 | s3: Fix some blank line endings | Volker Lendecke | 1 | -6/+6 | |
2012-09-25 | pysmbd: Fix cut&paste errors | Volker Lendecke | 1 | -2/+3 | |
2012-09-12 | smbd: Remove pre-allocation of ACL array in sys_acl_init() | Andrew Bartlett | 1 | -1/+1 | |
Instead, this is just handled with realloc in sys_acl_create_entry() This allows us to remove the size element from the SMB_ACL_T. Andrew Bartlett | |||||
2012-08-23 | s3-smbd: Add security_info_wanted argument to get_nt_acl_no_snum | Andrew Bartlett | 1 | -3/+3 | |
I need to get at the owner, group, DACL and SACL when testing correct ACL storage. Andrew Bartlett | |||||
2012-08-23 | s3-pysmbd: Fix return type of smbd.get_nt_acl | Andrew Bartlett | 1 | -1/+1 | |
The security_ prefix is stripped off in the python bindings. Andrew Bartlett | |||||
2012-08-23 | s3-pysmbd: Fix error message | Andrew Bartlett | 1 | -2/+2 | |
2012-08-23 | s3-pysmbd: Allow a mode to be specified for the simple ACL | Andrew Bartlett | 1 | -27/+32 | |
The additional group for the ACL is now optional. Andrew Bartlett | |||||
2012-08-22 | s3-pysmbd: Correct the python type for smb_acl_t | Andrew Bartlett | 1 | -2/+2 | |
The t is weird, but the python bindings trim the traditional IDL name prefix of each element, as it is usually rudundent. Andrew Bartlett | |||||
2012-08-21 | s3-pysmbd: Add get/set functions for the posix ACL layer | Andrew Bartlett | 1 | -0/+89 | |
These will be used to verify that an ACL set as an NT ACL creates the correct posix ACL. Andrew Bartlett | |||||
2012-08-21 | s3-pysmbd: Correct comments in python VFS bindings | Andrew Bartlett | 1 | -2/+2 | |
2012-08-21 | s3-pysmbd: Add hook for a VFS chown() | Andrew Bartlett | 1 | -0/+53 | |
2012-08-16 | s3-libsmb: Add a python wrapper | Volker Lendecke | 1 | -1/+1 | |
Please note that this is not finished and only for internal use. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-08-15 | s3-sysacls: Remove sys_acl_free_acl() and replace with TALLOC_FREE() | Andrew Bartlett | 1 | -17/+17 | |
2012-08-07 | s3-pysmbd: Try opening as a file, then as a directory | Andrew Bartlett | 1 | -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-07 | s3-pysmbd: Use talloc_zero() | Andrew Bartlett | 1 | -1/+1 | |
This avoids operating on uninitialised data Andrew Bartlett | |||||
2012-08-07 | s3-pysmbd: Add talloc_stackframe() to smbd_set_simple_acl wrapper | Andrew Bartlett | 1 | -0/+6 | |
2012-08-02 | s3-pysmbd: Add hook for get_nt_acl() | Andrew Bartlett | 1 | -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-02 | s3-pysmbd: fix DEBUG | Andrew Bartlett | 1 | -1/+1 | |
2012-08-02 | s3-pysmbd: Add my copyright | Andrew Bartlett | 1 | -1/+3 | |
2012-08-02 | s3-pysmbd: Add set_nt_acl() function based on parts of vfstest | Andrew Bartlett | 1 | -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-06-21 | s4-provision: Give better clues on what Samba needs for s3fs ACL support | Andrew Bartlett | 1 | -0/+15 | |
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 21 14:07:55 CEST 2012 on sn-devel-104 | |||||
2012-05-08 | s3-python: Add python bindings for posix ACL layer | Andrew Bartlett | 1 | -0/+203 | |
This will allow us to check that posix ACLs work in the s4 provision, and avoid --use-s3fs if they do not. Andrew Bartlett |