5 Usage: renamedc.sh PREFIX
13 .
`dirname $0`/subunit.sh
15 if [ ! -d $PREFIX/renamedc_test
]; then
16 $PYTHON $BINDIR/samba-tool domain provision
--host-name=bar
--domain=FOO
--realm=foo.example.com
--targetdir="$PREFIX/renamedc_test" --server-role="dc" --use-ntvfs
21 $PYTHON $SRCDIR/source4/scripting
/bin
/renamedc \
23 --newname="RAYMONBAR" \
24 -s $PREFIX/renamedc_test
/etc
/smb.conf
29 $PYTHON $SRCDIR/source4/scripting
/bin
/renamedc \
30 --oldname="RAYMONBAR" \
32 -s $PREFIX/renamedc_test
/etc
/smb.conf
35 testit
"renamedc" testrenamedc
36 testit
"renamedc2" testrenamedc2
38 if [ $failed -eq 0 ]; then
39 rm -rf $PREFIX/renamedc_test