Re: [Samba] Data migration using net rpc share migrate

This is a discussion on Re: [Samba] Data migration using net rpc share migrate within the Samba forums, part of the Networking and Network Related category; --===============1817761397== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-06-2005
Guenther Deschner
 
Posts: n/a
Default Re: [Samba] Data migration using net rpc share migrate


--===============1817761397==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk"
Content-Disposition: inline


--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, Sep 05, 2005 at 05:04:04PM +0100, Gibbs, Simon wrote:
> Hi,
>=20
> I=B9m in the process of testing out the net rpc share migrate data migrat=

ion
> tool but keep running into an error message when using the --acl option.
>=20
> I=B9m testing using the following command:
> net rpc share migrate files -S 10.36.32.36 --acls --attrs --timestamps -v=

-U
> "gibbss"=20
> but get with this error for each file in the share:
> [2005/09/05 16:50:02, 0] utils/net_rpc_printer.c:net_copy_fileattr(384)
> could not set secdesc on \WinAXE_Plus_v7\xwpdllid.dll:
> NT_STATUS_ACCESS_DENIED
> could not copy file \WinAXE_Plus_v7\xwpdllid.dll: NT_STATUS_ACCESS_DENIED
> Each file copies OK and the timestamp is correct but none of the ACL=B9s =

are
> there.
>=20
> ACL/xattrs mount options have already been added to the filesystem and I =

can
> use setfacl/getfacl so can=B9t see a problem with ACL support and the sha=

re is
> on a PC logged in with the user account specified so all the files are ow=

ned
> by that account. I guess this must be a permission problem somewhere but
> can=B9t think what it may be.
>=20
> Can anyone point me in the right direction?


this can happen because of:

- smbd not being built with acl-support (verify by setting ACLs manually us=
ing
Explorer)

- a chown failing due to the fact that the owner of that particular file on
10.36.32.36 is a group (and not a user) *and* that the share you are
copying to on samba has not set the "force unknown acl user" option. If t=
his file is
owned by a group then set "force unknown acl user =3D yes" on the samba
share.

- the user "gibbs" cannot set ACLs to files inside that directory due to
permissions. You could increase the samba log level to find out where it
fails.


Guenther
--=20
G=FCnther Deschner GPG-ID: 8EE11688
Novell / SUSE LINUX gd@suse.de
Samba Team gd@samba.org

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDHW6aSOk3aI7hFogRAirjAJ0YLPxGTCt9EiFdW/PoLowCTOzxxACdFLCq
Ya94I8I+t8Xd7d/zakN4zpc=
=umuL
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--

--===============1817761397==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--===============1817761397==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0