[Samba] Copy file NT4 to samba 3.0.10 ,but ACL lost. Why?

John H Terpstra jht at samba.org
Wed Feb 16 13:01:05 GMT 2005


On Wednesday 16 February 2005 05:35, oota at mail.linux.bs1.fc.nec.co.jp wrote:
> I want to convert old NT4 server to samba 3.0.10 server.
> old NT4 is PDC ,so I build samba server BDC.
>
> 1) set up samba to BDC( setup openldap,nsswitch.conf,etc).
>    add /etc/fstab acl parameter.
>
> 2) net rpc vampire -S NTSV -U administrator%pass
>    start samba,winbind.
>
> 3) copy file/directory NTSV to samba server(user=administrator) .
>    samba directory = /home/Administrator (permission=744).
>
>    but ,when copy with explorer, ACL lost.

Use robocopy (search for it on tucows.com) or scopy (part of the NT4 Server 
Resource Kit). The use of explorer does not preserve ACLs.

- John T.

>
>
>
> on NT4
>
>    file1     owner:Administrators
>              group:Domain Users(rwx)
>              group:foo
>
> but samba
>
>    file1     owner:root
>              group:Domain Users(rx)
>              group:everyone (r)
>
>    this is original unix permission.
>
> why acl not copy?
>
> --
> --- Oota Toshiya ---  oota at mail.linux.bs1.fc.nec.co.jp
> NEC Computers Software Operations Unit      Shiba,Minato,Tokyo
> Linux Promotion Center                      Japan,Earth,Solar system
> (samba-jp President/postmaster,mutt-j/faqomatic admin,analog-jp postmaster)

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list