From 9b21b1f3229b8a88e4dfd867e89de07c57299c47 Mon Sep 17 00:00:00 2001 From: Zeki Ahmet Bayar Date: Wed, 17 Nov 2021 15:12:44 +0000 Subject: [PATCH] reverse parameter fix --- src/usr/local/bin/smb-create-domain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/local/bin/smb-create-domain b/src/usr/local/bin/smb-create-domain index 9e0dd89..a32aed6 100644 --- a/src/usr/local/bin/smb-create-domain +++ b/src/usr/local/bin/smb-create-domain @@ -148,7 +148,7 @@ then # Create reverse zone samba-tool dns zonecreate localhost $REVERSE_ZONE -U administrator --password $ADMIN_PASSWORD # Add revese ip - samba-tool dns add localhost $REVERSE_ZONE $IP PTR $HOSTNAME -U administrator --password $ADMIN_PASSWORD + samba-tool dns add localhost $REVERSE_ZONE $IP PTR "${HOSTNAME,,}.${DOMAINNAME,,}" -U administrator --password $ADMIN_PASSWORD fi