[Samba] Samba seem to work fine but "cannot find my workgroup"

Steffen Dettmer steffen.dettmer+samba at gmail.com
Sat Mar 16 14:19:54 UTC 2024


Hi,

I setup a new samba file server (in a priviledged Proxmox container using
the Debian 12 template) and apparently it works fine.

In log I see every 10 seconds:

  write_browse_list: Fatal error - cannot find my workgroup DMYDOM

Google found one hint telling it should set "network = ip", but man page
does not explain such an option. Another hint suggests it could be related
to an old smbv1 and can be ignored.

I have another server in another domain and I though it took over every single
option as it is (of course adjusting the domain to its correct value like
MYDOM), and on this other I don't see such messages.

Somehow the domain could be found I think, because there were no errors
when authenticating for admin commands like:

  root at samba1:/var/log/samba# wbinfo --ping-dc
  checking the NETLOGON for domain[DMYDOM] dc connection to
"realwin2019.DMYDOM.local" succeeded

  root at samba1:/etc# net ads join -U a-sdettmer
  Password for [DMYDOM\a-sdettmer]:
  Using short domain name -- DMYDOM
  Joined 'SAMBA1' to dns domain 'DMYDOM.local'

  root at nas1:/etc# net rpc rights grant "DMYDOM\a-sdettmer"
SeDiskOperatorPrivilege -U "DMYDOM\a-sdettmer"
  Password for [DMYDOM\a-sdettmer]:
  Successfully granted rights.

Did I miss something? What should I do?

Any help appreciated!

Steffen



[global]
     security = ADS
     workgroup = DMYDOM
     realm = DMYDOM.LOCAL

     log file = /var/log/samba/log.%m
     max log size = 1000
     logging = file
     panic action = /usr/share/samba/panic-action %d
     obey pam restrictions = yes
     pam password change = yes
     winbind use default domain = yes
     idmap config * : backend = tdb
     idmap config * : range = 3000-7999
     idmap config DMYDOM : backend = rid
     idmap config DMYDOM : range = 10000-99999
     template shell = /bin/bash
     template homedir = /home/%U
     usershare allow guests = yes

     vfs objects = acl_xattr
     map acl inherit = yes

[disk0]
     path ...

==> log.nmbd <==
[2024/03/16 15:01:28.050958,  0]
../../source3/nmbd/nmbd_serverlistdb.c:342(write_browse_list)
  write_browse_list: Fatal error - cannot find my workgroup DMYDOM
[2024/03/16 15:01:38.059448,  0]
../../source3/nmbd/nmbd_serverlistdb.c:342(write_browse_list)
  write_browse_list: Fatal error - cannot find my workgroup DMYDOM
[2024/03/16 15:01:48.066835,  0]
../../source3/nmbd/nmbd_serverlistdb.c:342(write_browse_list)
  write_browse_list: Fatal error - cannot find my workgroup DMYDOM
[2024/03/16 15:01:58.074941,  0]
../../source3/nmbd/nmbd_serverlistdb.c:342(write_browse_list)
  write_browse_list: Fatal error - cannot find my workgroup DMYDOM
[2024/03/16 15:02:08.085215,  0]
../../source3/nmbd/nmbd_serverlistdb.c:342(write_browse_list)
  write_browse_list: Fatal error - cannot find my workgroup DMYDOM

a# dpkg -l samba*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version                  Architecture Description
+++-========================-========================-============-====================================
ii  samba                    2:4.17.12+dfsg-0+deb12u1 amd64
SMB/CIFS file, print, and login serv
ii  samba-ad-provision       2:4.17.12+dfsg-0+deb12u1 all
Samba files needed for AD domain pro
ii  samba-common             2:4.17.12+dfsg-0+deb12u1 all
common files used by both the Samba
ii  samba-common-bin         2:4.17.12+dfsg-0+deb12u1 amd64
Samba common files used by both the
ii  samba-dsdb-modules:amd64 2:4.17.12+dfsg-0+deb12u1 amd64
Samba Directory Services Database
ii  samba-libs:amd64         2:4.17.12+dfsg-0+deb12u1 amd64
Samba core libraries
ii  samba-vfs-modules:amd64  2:4.17.12+dfsg-0+deb12u1 amd64
Samba Virtual FileSystem plugins



More information about the samba mailing list