Skip to content

Commit

Permalink
Samba domain provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jul 12, 2017
1 parent badc79b commit f8f3c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion softy
Expand Up @@ -221,7 +221,7 @@ exitstatus=$?; if [ $exitstatus = 1 ]; then exit 1; fi
SMBGROUP=$(whiptail --inputbox "What is your samba group?" 8 78 $SMBGROUP --title "$SECTION" 3>&1 1>&2 2>&3)
exitstatus=$?; if [ $exitstatus = 1 ]; then exit 1; fi
#
debconf-apt-progress -- apt-get -y install samba samba-common-bin
debconf-apt-progress -- apt-get -y install samba samba-common-bin samba-vfs-modules
useradd $SMBUSER
echo -ne "$SMBPASS\n$SMBPASS\n" | passwd $SMBUSER >/dev/null 2>&1
echo -ne "$SMBPASS\n$SMBPASS\n" | smbpasswd -a -s $SMBUSER >/dev/null 2>&1
Expand Down

0 comments on commit f8f3c32

Please sign in to comment.