LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE
import) carry the CNCL line instead of the LGPL notice.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
their details (t0158)
The pane follows the reference's shape: "Computer Name:" with the field and
Edit..., the line "Computers on your local network can access this computer
at NAME.local", then the services at the left and the chosen one at the
right -- its switch, its state and the address others use (ssh,
smb://ADDR/, ADDR:/folder, afp://ADDR/ from mcde_sys_interfaces). The
folders shared by SMB, NFS and AFP appear under the file sharing services
(Add.../Remove), and Unlock... is unchanged.
mcde_sys_hostname_set was declared and never written; it is now: the name
must be letters, digits, '.' and '-' (checked in common.c), NetBSD writes
/etc/myname and runs hostname(1), Linux /etc/hostname and hostnamectl (else
hostname(1)). "Edit..." runs it as root (dtsystemsettings -set-hostname
NAME in the su terminal, like the time zone and the clock).
Measured under Xvfb: the pane shows the name (kitt), the .local line, the
five services, and for "File Sharing by SMB" its state "On -- others reach
it at smb://192.168.1.116/" and the Shared Folders list with Add.../Remove
(docs/screenshots/leopard/System-Preferences-Sharing-mcde.png); selecting
another service switches the page and hides the folders (Remote Login).
Open: the reference's On column as check marks (the switch is on the detail
page), per-user rights for a folder (Samba valid users/read list/write list
and the netatalk counterpart -- McdeSys would need a struct instead of the
path list), Printer, Screen and Internet Sharing entries, AppleTalk options
under "Options...", and the change of the host name was not run as root
here (no root; it writes /etc/myname and the running name).
McdeSys gets the services that let others in (mcde_sys_service_state,
mcde_sys_service_set) and one list of shared folders for SMB, NFS and AFP
(mcde_sys_shares, mcde_sys_shares_set: /etc/mcde-shares, and a block
between "# MCDE shares begin" and "... end" in exports, smb.conf and
afp.conf; the rest of each file stays as written). NetBSD switches
rc.conf and runs the rc.d scripts -- sshd; rpcbind, mountd, nfsd and
nfslocking for NFS; samba, netatalk, atalkd and papd from pkgsrc, whose
example rc.d scripts are copied to /etc/rc.d first, as PKG_RCD_SCRIPTS=YES
would. Linux uses systemctl (ssh, smbd and nmbd, nfs-server, netatalk;
no AppleTalk). NetBSD's kernel has AppleTalk (GENERIC: options NETATALK)
and pkgsrc's netatalk4 builds atalkd on NetBSD. docs/reference/sharing.txt.
The Sharing pane (Internet & Network) shows each service with its switch
and how others reach it (ssh host, smb://host/, host:/folder,
afp://host/), and the shared folders with Add and Remove; as a user it
offers Unlock..., as Accounts does.
Measured: on the Linux host, read only: ssh, smb, nfs installed, enabled,
running; afp and appletalk not installed (the pane on Xvfb says so). In
the build VM as root: NFS on started rpcbind, mountd, nfsd, statd, lockd;
sharing /tmp/mcdeshare made showmount -e list it for Everyone; NFS off
stopped them; the VM's rc.conf was restored after. First found there:
mountd will not start without /etc/exports, and statd/lockd are one
script, nfslocking. Samba and netatalk are not in the makronix set yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>