|
136 |
|
136 |
|
137 |
if [ ! "$server_role" = "domaincontroller_master" ] || [ -n "$ASK_PASS" ] ; then |
137 |
if [ ! "$server_role" = "domaincontroller_master" ] || [ -n "$ASK_PASS" ] ; then |
138 |
if [ -z "$DCACCOUNT" ]; then |
138 |
if [ -z "$DCACCOUNT" ]; then |
139 |
echo -n "Enter DC Master Account : " |
139 |
local administrator=$(custom_username "Administrator") |
|
|
140 |
echo -n "Enter DC Master Account [${administrator}]: " |
140 |
read DCACCOUNT |
141 |
read DCACCOUNT |
|
|
142 |
DCACCOUNT=${DCACCOUNT:$administrator} |
141 |
fi |
143 |
fi |
142 |
if [ -z "$DCPWD" ]; then |
144 |
if [ -z "$DCPWD" ]; then |
143 |
echo -n "Enter DC Master Password: " |
145 |
echo -n "Enter DC Master Password: " |