diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-10 13:48:27 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-01-07 16:18:35 -0800 |
commit | 813a3f0df91251dd7f920074ff8cd2b45bf48749 (patch) | |
tree | 5da4fca38982d8a732cbf7ac35bdbc32b506d065 /source3/smbd/proto.h | |
parent | 5a3e915d20bb11984c42081bf25ce09baa58e04e (diff) | |
download | samba-813a3f0df91251dd7f920074ff8cd2b45bf48749.tar.gz samba-813a3f0df91251dd7f920074ff8cd2b45bf48749.tar.bz2 samba-813a3f0df91251dd7f920074ff8cd2b45bf48749.zip |
pysmbd: Convert pysmbd to take an optional service to connect to
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>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 888f4afdcb..d7bfa6567b 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -735,8 +735,9 @@ bool set_unix_posix_default_acl(connection_struct *conn, const char *fname, const SMB_STRUCT_STAT *psbuf, uint16 num_def_acls, const char *pdata); bool set_unix_posix_acl(connection_struct *conn, files_struct *fsp, const char *fname, uint16 num_acls, const char *pdata); -NTSTATUS get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fname, uint32 security_info_wanted, - struct security_descriptor **sd); +NTSTATUS get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fname, + uint32 security_info_wanted, + struct security_descriptor **sd); NTSTATUS make_default_filesystem_acl(TALLOC_CTX *ctx, const char *name, SMB_STRUCT_STAT *psbuf, |