diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-31 17:56:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-31 17:56:08 +0000 |
commit | 6c96a55ef55acc77328e4dcf8cabb89e1936e5c9 (patch) | |
tree | 83156d71e700ff202a7c0eaee5d4a8ebe4679739 /source3/smbd | |
parent | a811ade9aa5871d609a33e9141333bd91955e12d (diff) | |
download | samba-6c96a55ef55acc77328e4dcf8cabb89e1936e5c9.tar.gz samba-6c96a55ef55acc77328e4dcf8cabb89e1936e5c9.tar.bz2 samba-6c96a55ef55acc77328e4dcf8cabb89e1936e5c9.zip |
Working UNIX -> NT ACL mapper.
Jeremy.
(This used to be commit f09c53f6b15e96ab1d306c044cbdcd086006c977)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/unix_acls.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/unix_acls.c b/source3/smbd/unix_acls.c index 706170b264..08dfbc0006 100644 --- a/source3/smbd/unix_acls.c +++ b/source3/smbd/unix_acls.c @@ -442,12 +442,14 @@ size_t get_nt_acl(files_struct *fsp, SEC_DESC **ppdesc) } /**************************************************************************** - Reply to set a security descriptor on an fsp. If it succeeds it returns + Reply to set a security descriptor on an fsp. security_info_sent is the + description of the following NT ACL. This should be the only external function needed for the UNIX style set ACL. ****************************************************************************/ -BOOL set_nt_acl(files_struct *fsp, SEC_DESC *pdesc) +BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd) { + connection_struct *conn = fsp->conn; uid_t user = (uid_t)-1; gid_t grp = (gid_t)-1; mode_t perms = 0; |