File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,20 @@ samba_texpect="$BINDIR/texpect"
34
34
35
35
netbios=$( grep " netbios name" $BASEDIR /$WORKDIR /client.conf | cut -f2 -d= | awk ' {$1=$1};1' )
36
36
37
+ # 0. Test with machine_name != lp_netbios_name()
38
+
39
+ NONLOCALMACHINE=win11
40
+
41
+ testit " provision with non local machine name" \
42
+ ${VALGRIND} ${net_tool} offlinejoin provision domain=" ${REALM} " machine_name=" ${NONLOCALMACHINE} " savefile=" ${ODJFILE} " -U" ${DC_USERNAME} %${DC_PASSWORD} " || \
43
+ failed=$(( failed + 1 ))
44
+
45
+ testit " net rpc user delete" \
46
+ ${VALGRIND} ${net_tool} rpc user delete " ${NONLOCALMACHINE} $" -U" ${DC_USERNAME} %${DC_PASSWORD} " -S " ${DC_SERVER} " || \
47
+ failed=$(( failed + 1 ))
48
+
49
+ rm -f " ${ODJFILE} "
50
+
37
51
# 1. Test w/o dcname
38
52
39
53
testit " provision without dcname" $VALGRIND $net_tool offlinejoin provision domain=$REALM machine_name=$netbios savefile=$ODJFILE -U$DC_USERNAME %$DC_PASSWORD || failed=$( expr $failed + 1)
You can’t perform that action at this time.
0 commit comments