summaryrefslogtreecommitdiffstats
path: root/base/root/scripts/setup_samba.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-17 12:07:05 +1000
committerAndrew Tridgell <tridge@samba.org>2008-09-17 12:07:05 +1000
commitf09c8685d59cefccb5a840faaeb5e849ef87acfc (patch)
treec8bead9aa891991a0b75ad1c4a351b2d9bf9a4f4 /base/root/scripts/setup_samba.sh
parent579da172f73435b7377f29859bb69750d51930ee (diff)
downloadautocluster-f09c8685d59cefccb5a840faaeb5e849ef87acfc.tar.gz
autocluster-f09c8685d59cefccb5a840faaeb5e849ef87acfc.tar.xz
autocluster-f09c8685d59cefccb5a840faaeb5e849ef87acfc.zip
fixup scp and ftp chroot areas
Diffstat (limited to 'base/root/scripts/setup_samba.sh')
-rwxr-xr-xbase/root/scripts/setup_samba.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/root/scripts/setup_samba.sh b/base/root/scripts/setup_samba.sh
index f41ccbb..44e97e5 100755
--- a/base/root/scripts/setup_samba.sh
+++ b/base/root/scripts/setup_samba.sh
@@ -85,6 +85,12 @@ sofs conf restore "$conf_file"
echo "Forcing config reload"
sofs conf reload
+echo "Fixing scp and ftp jails"
+onnode -p all /opt/IBM/sofs/scripts/cnjailgen /var/opt/IBM/sofs/scproot
+onnode -p all /opt/IBM/sofs/scripts/cnjailgen /var/opt/IBM/sofs/ftproot
+ln -f /lib64/libnss_winbind* /var/opt/IBM/sofs/scproot/lib64/
+ln -f /lib64/libnss_winbind* /var/opt/IBM/sofs/ftproot/lib64/
+
echo "Joining domain"
net ads join -U"$domain_auth"