shadow_copy2: re-add the basedir option.
commit52c70fbfbca5ecc66a63eb93391e930e9f84ef10
authorMichael Adam <obnox@samba.org>
Thu, 30 May 2013 15:26:44 +0000 (30 17:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:15:53 +0000 (13 10:15 +0100)
tree17d3a900044c2be05b9d9971e87df791b62550fd
parent266a8dec93ed0dc545b8f8f9151f40b74f0fba44
shadow_copy2: re-add the basedir option.

Disable basedir if it is not an absolute path or if
snapdirseverywhere or crossmountpoints is enabled.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ed751b9ee49d8e4a319759640321e8b49be4f154)
source3/modules/vfs_shadow_copy2.c