oota@mail.linux.bs1.fc.nec.co.jp
2005-Feb-16 12:36 UTC
[Samba] Copy file NT4 to samba 3.0.10 ,but ACL lost. Why?
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. 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
2005-Feb-16 13:00 UTC
[Samba] Copy file NT4 to samba 3.0.10 ,but ACL lost. Why?
On Wednesday 16 February 2005 05:35, oota@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.
oota@mail.linux.bs1.fc.nec.co.jp
2005-Feb-16 22:26 UTC
[Samba] Copy file NT4 to samba 3.0.10 ,but ACL lost. Why?
On Wed, Feb 16, 2005 at 06:01:05AM -0700, John H Terpstra wrote:> > 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.Thank you for your reply. But scopy SRC DST /a /o has same probrem. oota