k-space/samba
k-space
/
samba
Archived
9
0
Fork 0

Attempt to use host network stack to work around MTU issues
gitea-kspace/samba/pipeline/head This commit looks good Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Lauri Võsandi 2022-02-08 21:27:38 +02:00
parent 99865e4f56
commit c5f0b92be6
2 changed files with 11 additions and 5 deletions

View File

@ -6,5 +6,11 @@ name: default
steps:
- name: docker
image: plugins/docker
repo: harbor.k-space.ee/test/samba
registry: harbor.k-space.ee
settings:
repo: harbor.k-space.ee/k-space/samba
registry: harbor.k-space.ee
network_mode: host
username:
from_secret: docker_username
password:
from_secret: docker_password

View File

@ -13,11 +13,11 @@ case $(hostname) in
--dns-backend=SAMBA_INTERNAL \
--realm=$PROVISION_REALM \
--domain=$PROVISION_WORKGROUP \
--adminpass=S4l4k4l4!!
--adminpass=$DOMAIN_ADMIN_PASSWORD
samba -F
;;
dc2|dc3)
echo S4l4k4l4!! | kinit administrator@$PROVISION_REALM
dc*)
echo $DOMAIN_ADMIN_PASSWORD | kinit administrator@$PROVISION_REALM
! samba-tool dns zonecreate -k yes dc1.$PROVISION_REALM $PROVISION_REVERSE_INET_ZONE
! samba-tool dns zonecreate -k yes dc1.$PROVISION_REALM $PROVISION_REVERSE_INET6_ZONE
samba-tool domain join -k yes $PROVISION_REALM dc \