Displaying 18 results from an estimated 18 matches for "get_nt_acl".
Did you mean:
set_nt_acl
2003 Mar 06
1
ACL bug FIXes for get_nt_acl()
Two attached patches for samba 2.2.7a and 3.0-alfa22,
that I've made today, fix 3 bugs mentioned in my previous e-mail.
1) For each file in addition to ALLOW ACE
proper DENY ACE is created.
2) "Take ownership" is shown DENIED for all except root ACEs
3) Read Permissions and read attributes are always shown as allowed,
as they are actually allowed.
--
Zhitomirsky
2003 Mar 06
1
POSIX ACL to NT ACL bugs in get_nt_acl()
Hello , the described bellow happens both in samba 2.2.7a and 3.0-alfa22.
First bug:
As it is easy to check smbd , when asked about ACL entry of a file
never sends to the client OS DENY Access Control Entries , only ALLOW.
so for example for a XFS file with acl:
# owner: a
user::r--
group::rwx
other::rwx
Win2K security tab shows for user "a":
Read & exec =
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
...cking.c:print_share_mode_table(498)
print_share_mode_table: share_mode_entry[0]: pid = 10924, share_access = 0x3, private_options = 0x0, access_mask = 0x20000, mid = 0x0, type= 0x0, file_id = 15253, uid = 501, flags = 2, dev = 0xfd02, inode = 212042139
[2015/02/02 18:34:15, 10] smbd/posix_acls.c:get_nt_acl(2768)
get_nt_acl: called for file tax/2014/gttsc
[2015/02/02 18:34:15, 5] smbd/posix_acls.c:get_nt_acl(2805)
get_nt_acl : file ACL absent, directory ACL absent
[2015/02/02 18:34:15, 10] smbd/posix_acls.c:canonicalise_acl(2244)
canonicalise_acl: Access ace entries before arrange :
[2015/02/02...
2005 Jul 16
1
Shares all empty after upgrade to 3.0.14a-fc4
...ranted.
> [2005/07/16 00:57:12, 5] smbd/files.c:file_new(129)
> allocated file structure 4497, fnum = 8593 (1 used)
> [2005/07/16 00:57:12, 5] smbd/open.c:open_file_stat(1707)
> open_file_stat: 'opening' file .//SambaDomain.reg
> [2005/07/16 00:57:12, 5] smbd/posix_acls.c:get_nt_acl(2693)
> get_nt_acl : file ACL absent, directory ACL absent
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetch_sid_from_uid_cache(159)
> fetch sid from uid cache 501 ->
> S-1-5-21-*********-*********-*********-2002
> [2005/07/16 00:57:12, 3]
> passdb/lookup_sid.c:fetc...
2017 Mar 20
4
Skip ACL checks
...ess this is
> > caused by an mechanism to derive an NT ACL from the mode. Is there any
> > possibility to skip Samba's permission checks?
>
> Not really anymore. What you could do is provide a vfs module that
> returns a "Everyone is allowed everything" ACL in the get_nt_acl call.
> It would of course be much better to get a proper mapping. What do
> your ACLs look like?
>
Thanks for clarifying. We use NFSv4 compliant ACLs that can be accessed via
the nfs4-acl-tools.
I found the existing NFSv4 ACL VFS module in Samba (nfs4acl_xattr), which
seems to be build...
2006 Jan 31
0
Samba 3 and german umlaute in filenames/ can not delete or rename files or dirs
...h=<./> dontdescend=<>
[2006/01/31 20:03:42, 5] smbd/files.c:file_new(139)
allocated file structure 990, fnum = 5086 (1 used)
[2006/01/31 20:03:42, 5] smbd/open.c:open_file_stat(2111)
open_file_stat: 'opening' file .//txtfile???.txt
[2006/01/31 20:03:42, 10] smbd/posix_acls.c:get_nt_acl(2732)
get_nt_acl: called for file .//txtfile???.txt
[2006/01/31 20:03:42, 5] lib/util_seaccess.c:se_access_check(308)
se_access_check: access (1) granted.
[2006/01/31 20:03:42, 8] smbd/trans2.c:get_lanman2_dir_entry(1076)
get_lanman2_dir_entry:readdir on dirptr 0x8380b28 now at offset -1
[200...
2017 Mar 16
2
Skip ACL checks
Hi all,
I am wondering if there is a way to bypass Samba's ACL checks and delegate
access control completely to the underlying file system.
My problem arises from the following scenario: Our file system implements
ACLs that are to the best of my knowledge currently not readable by any of
the existing VFS modules. When trying to access a file with an ACL going
beyond the file's POSIX
2007 Jan 29
5
ACLs fail in 3.0.23d
Whenever I try to read or modify ACLs from my Windows 2000 PDC, my Samba
Domain Member Server (Security = ADS) does not allow setting ACLs, nor
does it display the existing ACLs.
- I have setup ACLs in my Kernel
- I have translated and installed libacl and libattr
- I can see and modify ACLs with getfacl and setfacl.
- I have translated Samba 3.0.23d with --with-acl-support=yes
- I have enabled
2004 Sep 20
0
Samba Errors
...smbd(unbecome_root+0xb)
[0x80ad84b]
Sep 21 07:40:51 server smbd[8525]: #7 smbd(local_uid_to_sid+0x10b)
[0x816c26b]
Sep 21 07:40:51 server smbd[8525]: #8 smbd(uid_to_sid+0x10a) [0x817194a]
Sep 21 07:40:51 server smbd[8525]: #9 smbd [0x80b8a6f]
Sep 21 07:40:51 server smbd[8525]: #10 smbd(get_nt_acl+0x28a)
[0x80bc06a]
Sep 21 07:40:51 server smbd[8525]: #11 smbd [0x8095045]
Sep 21 07:40:51 server smbd[8525]: #12 smbd(reply_nttrans+0x927)
[0x80970b7]
Sep 21 07:40:51 server smbd[8525]: #13 smbd [0x80be5da]
Sep 21 07:40:51 server smbd[8525]: #14 smbd [0x80be68e]
Sep 21 07:40:51 server...
2007 Jan 24
1
Dreamweaver access errors with Samba 3.0.23d
...mba/sbin/smbd(unbecome_root+0xb) [0x80db843]
#8 /usr/local/samba/sbin/smbd [0x82055db]
#9 /usr/local/samba/sbin/smbd(pdb_uid_to_rid+0x25) [0x8204f7c]
#10 /usr/local/samba/sbin/smbd(uid_to_sid+0x10a) [0x820a7d5]
#11 /usr/local/samba/sbin/smbd [0x80ebee8]
#12 /usr/local/samba/sbin/smbd(get_nt_acl+0x386) [0x80f0c88]
#13 /usr/local/samba/sbin/smbd(vfswrap_fget_nt_acl+0x17) [0x80e98e7]
#14 /usr/local/samba/sbin/smbd [0x80b273b]
#15 /usr/local/samba/sbin/smbd [0x80b4b36]
#16 /usr/local/samba/sbin/smbd(reply_nttrans+0x85f) [0x80b54e4]
#17 /usr/local/samba/sbin/smbd [0x80f716e]...
2008 Mar 08
0
Failed to Set UID Error and Can't become connected user Error
...0x5d) [0xb7d7d8cd]
#2 /usr/sbin/smbd [0xb7d83d9e]
#3 /usr/sbin/smbd [0xb7beed2c]
#4 /usr/sbin/smbd(pop_sec_ctx+0xa2) [0xb7beeec2]
#5 /usr/sbin/smbd(unbecome_root+0x17) [0xb7be2587]
#6 /usr/sbin/smbd(gid_to_sid+0x15c) [0xb7d339bc]
#7 /usr/sbin/smbd [0xb7bf58fc]
#8 /usr/sbin/smbd(get_nt_acl+0x4ac) [0xb7bfc0cc]
#9 /usr/sbin/smbd [0xb7c123bb]
#10 /usr/sbin/smbd(is_visible_file+0x2a0) [0xb7b9a030]
#11 /usr/sbin/smbd [0xb7b9a75d]
#12 /usr/sbin/smbd(dptr_ReadDirName+0x51) [0xb7b9a7c1]
#13 /usr/sbin/smbd [0xb7bd3a71]
#14 /usr/sbin/smbd [0xb7bd7e45]
#15 /usr/sbin/smbd(ha...
2017 Mar 20
0
Skip ACL checks
...to derive an NT ACL from the mode. Is there
> any
> > > > possibility to skip Samba's permission checks?
> > >
> > > Not really anymore. What you could do is provide a vfs module that
> > > returns a "Everyone is allowed everything" ACL in the get_nt_acl call.
> > > It would of course be much better to get a proper mapping. What do
> > > your ACLs look like?
> > >
> >
> > Thanks for clarifying. We use NFSv4 compliant ACLs that can be accessed
> via
> > the nfs4-acl-tools.
>
> So the only support...
2017 Mar 20
0
Skip ACL checks
...echanism to derive an NT ACL from the mode. Is
> > > there any
> > > possibility to skip Samba's permission checks?
> >
> > Not really anymore. What you could do is provide a vfs module that
> > returns a "Everyone is allowed everything" ACL in the get_nt_acl
> > call.
> > It would of course be much better to get a proper mapping. What do
> > your ACLs look like?
> >
>
> Thanks for clarifying. We use NFSv4 compliant ACLs that can be
> accessed via
> the nfs4-acl-tools.
>
> I found the existing NFSv4 ACL VFS m...
2016 May 17
3
Error with "samba-tool ntacl get --as-sddl"
On two Samba 4.4.2/4.4.3 member servers, "samba-tool ntacl get
--as-sddl" gives the following error:
ERROR: Unable to read domain SID from configuration files
Which configuration files is it referring to?
Without "--as-sddl" the command gives a correct output.
It would be nice to get the permissions in sddl format...
The same command works as expected on two AC DCs.
2004 Nov 30
1
Viewing ACL permissions via windows kills smbd (help)
...3)
PANIC: internal error
[2004/11/29 21:44:52, 0] lib/util.c:smb_panic2(1411)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x111) [0x81d8541]
#1 /usr/sbin/smbd(smb_panic+0x1a) [0x81d842a]
#2 /usr/sbin/smbd [0x81c5f58]
#3 /lib/tls/libc.so.6 [0xc06f48]
#4 /usr/sbin/smbd(get_nt_acl+0xba9) [0x80cf089]
#5 /usr/sbin/smbd [0x809bad4]
#6 /usr/sbin/smbd(reply_nttrans+0x9df) [0x809e00f]
#7 /usr/sbin/smbd [0x80d1a76]
#8 /usr/sbin/smbd [0x80d1d00]
#9 /usr/sbin/smbd(process_smb+0x8c) [0x80d1f0c]
#10 /usr/sbin/smbd(smbd_process+0x168) [0x80d2c48]
#11 /usr/sbin/smbd(...
2007 Sep 09
0
Samba PANIC
...pop_sec_ctx+0xa2) [0x800a6ac2]
Sep 9 10:32:29 SOS14UF smbd[27889]: #5 smbd(unbecome_root+0x17) [0x8009bc97]
Sep 9 10:32:29 SOS14UF smbd[27889]: #6 smbd(gid_to_sid+0x10e) [0x801dfcde]
Sep 9 10:32:29 SOS14UF smbd[27889]: #7 smbd [0x800af1cc]
Sep 9 10:32:29 SOS14UF smbd[27889]: #8 smbd(get_nt_acl+0x4c0) [0x800b5470]
Sep 9 10:32:29 SOS14UF smbd[27889]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa45b]
Sep 9 10:32:29 SOS14UF smbd[27889]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Sep 9 10:32:29 SOS14UF smbd[27889]: #11 smbd [0x8005966d]
Sep 9 10:32:29 SOS14UF smbd[27889]: #12 s...
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
...8 sys_acl_get_entry
19 sys_acl_get_tag_type
20 sys_acl_get_permset
21 sys_acl_get_perm
22 sys_acl_get_perm
23 sys_acl_get_entry
24 sys_acl_get_tag_type
25 sys_acl_get_permset
26 sys_acl_get_perm
27 sys_acl_get_perm
28 sys_acl_get_entry
29 sys_acl_free_acl
30 fget_nt_acl T01/T01.ini
31 getxattr T01/T01.ini:user.DOSATTRIB
32 closedir
33 stat T01/T01.ini
34 stat T01
35 getxattr T01/T01.ini:user.DOSATTRIB
36 open r T01/T01.ini
37 ke...
2004 Feb 17
0
VFS module programmieren
...fchmod */
NULL, /* chown */
NULL, /* fchown */
NULL, /* chdir */
NULL, /* getwd */
NULL, /* utime */
NULL, /* ftruncate */
NULL, /* lock */
NULL, /* symlink */
NULL, /* readlink */
NULL, /* link */
NULL, /* mknod */
NULL, /* realpath */
NULL, /* fget_nt_acl */
NULL, /* get_nt_acl */
NULL, /* fset_nt_acl */
NULL, /* set_nt_acl */
NULL, /* chmod_acl */
NULL, /* fchmod_acl */
NULL, /* sys_acl_get_entry */
NULL, /* sys_acl_get_tag_type */
NULL, /* sys_acl_get_permset */
NULL, /* sys_acl_get_qualifier */
NULL, /* s...