On Thu, 3 Oct 2024 20:22:44 +0200
Anders ?stling via samba <samba at lists.samba.org> wrote:
>
>
> > On 3 Oct 2024, at 19:23, miguel medalha <medalist at sapo.pt>
wrote:
> >
> > The parameter "store dos attributes" is on by default since
Samba
> > version 4.9.
> >
> > The attributes are stored on an extended attribute named "
> > user.DOSATTRIB".
> >
> > Does your server have the "attr" package installed? If so,
what
> > does "getfattr -n user.DOSATTRIB <your path>" show?
You should get
> > something like:
> >
> >
user.DOSATTRIB=0sMHgxMAAAAwADAAAAEQAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIYImavz7NgBAAAAAAAAAAA>
>
> > If the "attr" package is not installed, please install it.
> >
>
> Hi
>
> attr is installed, and this is what I get from the command
>
> root at hp-srv05:/data/DOKUMENT/Teknik# getfattr -n user.DOSATTRIB
> Fl?nsar/Flanstabell-PN-klasser-Industriarmatur-AB.pdf # file:
> Fl?nsar/Flanstabell-PN-klasser-Industriarmatur-AB.pdf
> user.DOSATTRIB=0sAAAFAAUAAAARAAAAIAAAAOYeKkNPftcB
>
> Does that looks correct in your eyes? I have not the faintest idea of
> how to read that string :)
>
Neither have I, try it with samba-tool:
samba-tool ntacl get
/full/path/to/Flanstabell-PN-klasser-Industriarmatur-AB.pdf --as-sddl
NOTE: it should all be on one line and run by root.
You might be able to read the output, but if you cannot, I can, it
should be a standard Windows ACL.
Rowland