client: request #51 add automatic discovery.

changes after review.
This commit is contained in:
edgd1er 2022-04-15 22:47:09 +02:00
parent c74a64cc67
commit 248c144e7a
No known key found for this signature in database
GPG key ID: F7B8E0D6C867CCAE
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ ENV LOGFILE STDOUT
ENV LOGSIZE "" ENV LOGSIZE ""
COPY ./py-kms /home/py-kms COPY ./py-kms /home/py-kms
#hadolint ignore=DL3013,DL3018
RUN apk add --no-cache --update \ RUN apk add --no-cache --update \
bash \ bash \
git \ git \

View file

@ -17,7 +17,7 @@ ENV LOGSIZE ""
ENV TZ America/Chicago ENV TZ America/Chicago
COPY py-kms /home/py-kms/ COPY py-kms /home/py-kms/
#hadolint ignore=DL3013,DL3018
RUN apk add --no-cache --update \ RUN apk add --no-cache --update \
bash \ bash \
git \ git \

View file

@ -143,7 +143,7 @@ user@host ~/path/to/folder/py-kms $ python3 pykms_Server.py -V DEBUG
user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG
``` ```
If you wish to get KMS server from DNS server: (ie perform a DNS resolution on _vlmcs._tcp.domain.tld, if ever there are several answers, only the first one is selected.) If you wish to get KMS server from DNS server: (ie perform a DNS resolution on _vlmcs._tcp.domain.tld, if ever there are several answers, only the first one is selected.). Althought that mode is supposed to be specific to devices connect to an Active Directory domain, setting a fully qualified name and a workgroup may help to use that automatic KMS discovery feature.
``` ```
user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG -F STDOUT -D contoso.com user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG -F STDOUT -D contoso.com
user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG -F STDOUT -D contoso.com user@host ~/path/to/folder/py-kms $ python3 pykms_Client.py -V DEBUG -F STDOUT -D contoso.com