r7512: Fix net share migrate files to also migrate the ACLs of the top level
authorLars Müller <lmuelle@samba.org>
Sun, 12 Jun 2005 21:18:16 +0000 (21:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:57:10 +0000 (10:57 -0500)
commitebb42167c9912492428e7ed8e03f06505a5c86fe
treea52cae0fccbf0024f990581c7e30f8ff2e86df1b
parentbf66eb3a92a0b111f005826696430d934d1187e5
r7512: Fix net share migrate files to also migrate the ACLs of the top level
dir of a share.  Till now we excluded '.' and '..' in general.  For the
fix the information about top or lower level dir is stored in the
copy_clistate.  src and dst share are now also part of this struct and
we only pass a pointer to the struct to the functions.

This bug was found by Bill Calero of Novell.  Thanks Bill!

With this checkin no new functionality was added.  But the copy_clistate
already knows about a mode. Later beside the migrate an additional
report mode will be added.

This changes are coordinated with Günther <gd>.

Lars
(This used to be commit 506aaefa3716c7683eef9afe0d1bb5b6e2533c4b)
source3/utils/net.h
source3/utils/net_rpc.c
source3/utils/net_rpc_printer.c