Displaying 3 results from an estimated 3 matches for "ace_count".
Did you mean:
ce_count
2006 Mar 20
5
Need some ACL help for win32-file
...ror, get_last_error
end
acl_buf = 0.chr * 8
@@memcpy.call(acl_buf, acl_ptr.unpack(''L'').first, 8)
if acl_buf.unpack(''CCSSS'').first == 0
raise ArgumentError, ''DACL is NULL: implicit access grant''
end
ace_count = acl_buf.unpack(''CCSSS'')[3]
ace_ptr = [0].pack(''L'')
# stuck here
0.upto(ace_count - 1){ |i|
if @@GetAce.call(acl_buf, i, ace_ptr) == 0
next
end
ace_buf = 0.chr * 4
@@memcpy.call(ace_buf, ace_p...
2006 Feb 16
1
Too Many Ace Entries for file
...wever, it am not able to
add/remove user/groups from the GUI interface on my windows clients. I
have also noticed when I add access with setfacl it doesn't not show
up in the security dialog.
I did notice when perusing the source code (posix_acl's.x) that it is
running a check here:
~ if (ace_count != 3) {
~ DEBUG(3,("convert_canon_ace_to_posix_perms: Too many
ACE entries for file %s to convert to \
posix perms.\n", fsp->fsp_name ));
~ return False;
~ }
I did attempt to bump it up but it just stopped erroring out :) ( Duh
liz!) still didnt wo...
2012 Jul 05
0
acl_tdb failed to convert file acl to posix permisions
...and the call to 'convert_canon_ace_to_posix' fails because there are 5 ace entries, and that function immediately fails:
static bool convert_canon_ace_to_posix_perms( files_struct *fsp, canon_ace *file_ace_list, mode_t *posix_perms)
{
int snum = SNUM(fsp->conn);
size_t ace_count = count_canon_ace_list(file_ace_list);
canon_ace *ace_p;
canon_ace *owner_ace = NULL;
canon_ace *group_ace = NULL;
canon_ace *other_ace = NULL;
mode_t and_bits;
mode_t or_bits;
if (ace_count != 3) {
DEBUG(3,("convert_cano...