[Bug 292051] net/py-wsdd: 'service wsdd status' fails to report status correctly

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Dec 2025 21:26:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292051

--- Comment #2 from Hiroo Ono <hiroo.ono+freebsd@gmail.com> ---
Thank you for your report. I read wsdd manual page and found that

==========
      -d DOMAIN, --domain DOMAIN
            Assume that the host running wsdd joined an ADS domain. This will
            make wsdd report the host being a domain member. It disables
            workgroup membership reporting. The (provided) hostname is
            automatically converted to lower case. Use the `-p` option to
            change this behavior.
==========

and

==========
     -w WORKGROUP, --workgroup WORKGROUP
            By default wsdd reports the host is a member of a workgroup rather
            than a domain (use the -d/--domain option to override this). With
            -w/--workgroup the default workgroup name can be changed. The
            default work group name is WORKGROUP. The (provided) hostname is
            automatically converted to upper case. Use the `-p` option to
            change this behavior.
==========

It seems that I missed the explanation on -d option that it overrides -w
option.
So, if there is -d option, it will take over -w option. Your change is correct.
I am going to make it a patch to the port shortly.
Thank you again.

-- 
You are receiving this mail because:
You are the assignee for the bug.