diff options
author | Jeremy Allison <jra@samba.org> | 2004-11-13 00:35:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:16 -0500 |
commit | 1b31f46f22831781b9ec5592da189a5210cfbc45 (patch) | |
tree | ee9b068cc4010ff8a7adb51e84e385e7f171c29c /source3/libsmb | |
parent | f995b164b98221e224661e370d61ad08dadb2986 (diff) | |
download | samba-1b31f46f22831781b9ec5592da189a5210cfbc45.tar.gz samba-1b31f46f22831781b9ec5592da189a5210cfbc45.tar.bz2 samba-1b31f46f22831781b9ec5592da189a5210cfbc45.zip |
r3714: Getfacl now seems to work on files and directories. Next do setfacl
and port to Samba4.
Jeremy.
(This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clifile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index b616abd4d2..7816ed0fc6 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -171,7 +171,7 @@ static mode_t unix_filetype_from_wire(uint32 wire_type) Do a POSIX getfacl (UNIX extensions). ****************************************************************************/ -BOOL cli_unix_getfacl(struct cli_state *cli, const char *name, char **retbuf) +BOOL cli_unix_getfacl(struct cli_state *cli, const char *name, size_t *prb_size, char **retbuf) { unsigned int param_len = 0; unsigned int data_len = 0; @@ -211,6 +211,7 @@ BOOL cli_unix_getfacl(struct cli_state *cli, const char *name, char **retbuf) SAFE_FREE(rparam); *retbuf = rdata; + *prb_size = (size_t)data_len; return True; } |