Skip to content

Commit e42bb52

Browse files
committed
test:ad-server: deploy and test the member server
Signed-off-by: Michael Adam <[email protected]>
1 parent b82bc06 commit e42bb52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test-samba-ad-server-kubernetes.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ kubectl exec "${podname}" -- samba-tool domain info 127.0.0.1
1010
[ $? -eq 0 ] || _error "Error listing domain info"
1111
echo
1212

13+
source ${SCRIPT_DIR}/test-deploy-ad-member.sh
14+
15+
kubectl exec "${podname}" -c "smb" -- smbclient -N -L 127.0.0.1
16+
kubectl exec "${podname}" -c "winbind" -- wbinfo -t
17+
# note: testing `wbinfo -t` from the smb container again
18+
# to make sure samba can communicate to winbindd
19+
kubectl exec "${podname}" -c "smb" -- wbinfo -t
20+
21+
source ${SCRIPT_DIR}/test-remove-ad-member.sh
22+
1323
source ${SCRIPT_DIR}/test-remove-ad-server.sh
1424

1525
echo

0 commit comments

Comments
 (0)