All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] cifs-utils: cifsacl utilities: Implement getcifsacl and setcifsacl (try #2)
@ 2011-08-23 19:03 shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <1314126215-11943-1-git-send-email-shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w @ 2011-08-23 19:03 UTC (permalink / raw)
  To: jlayton-eUNUBHrolfbYtjvyW6yDsg
  Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, Shirish Pargaonkar


Implement utilities getcifsacl and setcifsacl


Signed-off-by: Shirish Pargaonkar <shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


Set of patches to build utilities getcifsacl and setcifsacl
along with their manpages.

getcifsacl fetches a security descriptor of a file off of a
share mounted using option cifsacl using API getxattr.
It then parses the security descriptor printing control
porttion of the security descriptor and then DACL if there
is one by printing each ACE with it fields, SID, type, flags, and mask.

setcifsacl builds two lists of ACEs, one specified on the command line
and other fetched from the file the way getcifacl does.
It then constructs a security descriptor consisting of ACL
and uses API setxattr to send the security descriptor as a blob to
the server.  setcifsacl also works with files off of shares
mounted with option cifsacl.

manpages are provided for both the utilities with some examples
in setcifsacl manpage.  The usage of getcifsacl is simple and
very much self explanatory.
 
With these utilities, there is a way to interprete and construct a
blob describing security descritpor of a file system object.

These utilities are modeled after smbcacls command in the
Samba suite.  They depend on option of cifsacl while
mounting a share using cifs client and winbind facility of the
Samba suite, to work as intended.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/5] cifs-utils: cifsacl utilities: Implement getcifsacl and setcifsacl (try #2)
       [not found] ` <1314126215-11943-1-git-send-email-shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-08-29 16:50   ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2011-08-29 16:50 UTC (permalink / raw)
  To: shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA

On Tue, 23 Aug 2011 14:03:35 -0500
shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

> 
> Implement utilities getcifsacl and setcifsacl
> 
> 
> Signed-off-by: Shirish Pargaonkar <shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 
> 
> Set of patches to build utilities getcifsacl and setcifsacl
> along with their manpages.
> 
> getcifsacl fetches a security descriptor of a file off of a
> share mounted using option cifsacl using API getxattr.
> It then parses the security descriptor printing control
> porttion of the security descriptor and then DACL if there
> is one by printing each ACE with it fields, SID, type, flags, and mask.
> 
> setcifsacl builds two lists of ACEs, one specified on the command line
> and other fetched from the file the way getcifacl does.
> It then constructs a security descriptor consisting of ACL
> and uses API setxattr to send the security descriptor as a blob to
> the server.  setcifsacl also works with files off of shares
> mounted with option cifsacl.
> 
> manpages are provided for both the utilities with some examples
> in setcifsacl manpage.  The usage of getcifsacl is simple and
> very much self explanatory.
>  
> With these utilities, there is a way to interprete and construct a
> blob describing security descritpor of a file system object.
> 
> These utilities are modeled after smbcacls command in the
> Samba suite.  They depend on option of cifsacl while
> mounting a share using cifs client and winbind facility of the
> Samba suite, to work as intended.
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Latest set of 8 patches committed.

-- 
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-29 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 19:03 [PATCH 0/5] cifs-utils: cifsacl utilities: Implement getcifsacl and setcifsacl (try #2) shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <1314126215-11943-1-git-send-email-shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-29 16:50   ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.