Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
f8f3c329
Commit
f8f3c329
authored
Jul 12, 2017
by
Igor Pečovnik
Committed by
GitHub
Jul 12, 2017
Browse files
Samba domain provisioning
parent
badc79b7
Changes
1
Show whitespace changes
Inline
Side-by-side
softy
View file @
f8f3c329
...
@@ -221,7 +221,7 @@ exitstatus=$?; if [ $exitstatus = 1 ]; then exit 1; fi
...
@@ -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)
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
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
useradd $SMBUSER
echo -ne "$SMBPASS\n$SMBPASS\n" | passwd $SMBUSER >/dev/null 2>
&
1
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
echo -ne "$SMBPASS\n$SMBPASS\n" | smbpasswd -a -s $SMBUSER >/dev/null 2>
&
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment