Portál AbcLinuxu, 17. listopadu 2025 05:41
[global]
server string = %h
map to guest = bad user
workgroup = linux
netbios aliases = stroj2
obey pam restrictions = yes
os level = 20
dns proxy = no
smb ports = 139
passwd program = /usr/bin/passwd %u
server role = standalone server
pam password change = yes
netbios name = stroj2
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
passdb backend = tdbsam
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
unix password sync = yes
max log size = 1000
log file = /var/log/samba/log.%m
hosts allow = 192.168.1. 192.168.2. 127.
[data]
path = /home/data
writeable = yes
browseable = yes
guest ok = yes
Dík za každou radu.
[2016/02/22 23:31:20, 0] ../source3/nmbd/nmbd.c:908(main) nmbd version 4.1.17-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2013 [2016/02/22 23:31:20.015659, 0] ../lib/util/become_daemon.c:136(daemon_ready)
[2016/02/22 17:11:04.382881, 0] ../source3/nmbd/nmbd.c:57(terminate) Got SIGTERM: going down... [2016/02/22 17:11:05, 0] ../source3/nmbd/nmbd.c:908(main) nmbd version 4.1.17-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2013 [2016/02/22 17:11:05.592079, 0] ../lib/util/become_daemon.c:136(daemon_ready) STATUS=daemon 'nmbd' finished starting up and ready to serve connections***** Samba name server FBSERVER is now a local master browser for workgroup LINUX on subnet 192.168.1.103 ***** [2016/02/22 17:11:41.631507, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 17:26:38.601441, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 17:41:50.617551, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 17:56:44.624594, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 18:11:50.616693, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 18:26:58.646505, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 18:42:10.671051, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 18:57:04.683270, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name LINUX<1b> for the workgroup LINUX. Unable to sync browse lists in this workgroup. [2016/02/22 19:00:47.191440, 0] ../source3/nmbd/nmbd.c:57(terminate) Got SIGTERM: going down...
local master = yes preferred master = yes domain master = noA preventivně zakomentovat: # hosts allow = 192.168.1. 192.168.2. 127. Skutečně máš povolené porty ve firewallu?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.