[opensuse] Samba question
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm seeing a samba error in my home server: <3.3> 2016-10-04T00:02:51.615700+02:00 AmonLanc nmbd 2719 - - [2016/10/04 00:02:51.615318, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) <3.3> 2016-10-04T00:02:51.616300+02:00 AmonLanc nmbd 2719 - - find_domain_master_name_query_fail: <3.3> 2016-10-04T00:02:51.616704+02:00 AmonLanc nmbd 2719 - - Unable to find the Domain Master Browser name VALINOR<1b> for the workgroup VALINOR. <3.3> 2016-10-04T00:02:51.638012+02:00 AmonLanc nmbd 2719 - - Unable to sync browse lists in this workgroup. It repeats every 15 minutes, I think. The configuration in that machine is: /etc/samba/smb.conf: [global] workgroup = VALINOR passdb backend = tdbsam printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = user wins server = wins support = Yes And in my desktop, which doesn't have that problem, I have [global] workgroup = VALINOR passdb backend = tdbsam security = user local master = yes # preferred master y os level hacen falta para que minas-morgul entre. También he cambiado el workgroup a VALINOR preferred master = yes os level = 65 log level = 1 passdb:1 auth:1 winbind:1 #log level = 3 passdb:1 auth:1 winbind:1 wins support = Yes The Spanish comment above says that I had to set "preferred master = yes" and "os level = 65" because it was needed so that my Windows laptop could connect. Ideas? - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlfy2X8ACgkQtTMYHG2NR9XAiwCfariqoY5pb5CkMseGmKUoWpV6 cXoAniZMASiMUoSv33gjN57xrmgL27Ez =1iot -----END PGP SIGNATURE-----
On 10/03/2016 03:19 PM, Carlos E. R. wrote:
local master = yes
Above is missing from your problem machine. On some versions of samba this was called: domain master = yes And I believe you still do want os level 65 in at least one always on Linux Box. -- After all is said and done, more is said than done.
On 2016-10-04 00:32, John Andersen wrote:
On 10/03/2016 03:19 PM, Carlos E. R. wrote:
local master = yes
Above is missing from your problem machine.
On some versions of samba this was called: domain master = yes
And I believe you still do want os level 65 in at least one always on Linux Box.
Ok, will try. Thanks. [...] Change applied. Waiting for error messages, so far none. :-)) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 2016-10-04 00:45, Carlos E. R. wrote:
On 2016-10-04 00:32, John Andersen wrote:
On 10/03/2016 03:19 PM, Carlos E. R. wrote:
local master = yes
Above is missing from your problem machine.
On some versions of samba this was called: domain master = yes
And I believe you still do want os level 65 in at least one always on Linux Box.
Ok, will try. Thanks. [...] Change applied. Waiting for error messages, so far none. :-))
Well, they are still coming... <3.6> 2016-10-04T04:23:03.470724+02:00 AmonLanc systemd 1 - - Stopping Samba SMB Daemon... <3.3> 2016-10-04T04:23:03.641828+02:00 AmonLanc smbd 29177 - - [2016/10/04 04:23:03.641531, 0] ../lib/util/pidfile.c:153(pidfile_unlink) <3.3> 2016-10-04T04:23:03.693003+02:00 AmonLanc smbd 29177 - - Failed to delete pidfile /run/samba/smbd.pid. Error was No such file or directory <3.6> 2016-10-04T04:23:03.700466+02:00 AmonLanc systemd 1 - - Starting Samba SMB Daemon... <3.4> 2016-10-04T04:23:05.915324+02:00 AmonLanc systemd 1 - - smb.service: Supervising process 1142 which is not our child. We'll most likely not notice when it exits. <3.6> 2016-10-04T04:23:06.228723+02:00 AmonLanc systemd 1 - - Started Samba SMB Daemon. <3.3> 2016-10-04T04:23:06.232828+02:00 AmonLanc smbd 1142 - - [2016/10/04 04:23:06.232623, 0] ../lib/util/become_daemon.c:124(daemon_ready) <3.3> 2016-10-04T04:23:06.234706+02:00 AmonLanc smbd 1142 - - STATUS=daemon 'smbd' finished starting up and ready to serve connections <3.6> 2016-10-04T04:30:01.619274+02:00 AmonLanc systemd 1 - - Starting Session 135 of user root. <3.6> 2016-10-04T04:30:01.643040+02:00 AmonLanc systemd 1 - - Started Session 135 of user root. <3.6> 2016-10-04T04:30:01.683521+02:00 AmonLanc systemd 1 - - Starting Session 134 of user root. <3.6> 2016-10-04T04:30:01.684090+02:00 AmonLanc systemd 1 - - Started Session 134 of user root. <3.3> 2016-10-04T04:33:01.835591+02:00 AmonLanc nmbd 2719 - - [2016/10/04 04:33:01.835163, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) <3.3> 2016-10-04T04:33:01.853039+02:00 AmonLanc nmbd 2719 - - find_domain_master_name_query_fail: <3.3> 2016-10-04T04:33:01.853577+02:00 AmonLanc nmbd 2719 - - Unable to find the Domain Master Browser name VALINOR<1b> for the workgroup VALINOR. <3.3> 2016-10-04T04:33:01.853976+02:00 AmonLanc nmbd 2719 - - Unable to sync browse lists in this workgroup. [global] workgroup = VALINOR passdb backend = tdbsam local master = yes os level = 65 printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = user # wins server = wins support = Yes Desktop: [global] workgroup = VALINOR passdb backend = tdbsam security = user local master = yes preferred master = yes os level = 65 log level = 1 passdb:1 auth:1 winbind:1 wins support = Yes -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (2)
-
Carlos E. R.
-
John Andersen