[data]
path = /home/tom
read only = no
map archive = no
запустил
text
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
с windows пинг Linux server-а есть, рабочая группа на windows совпадает с smb.conf но не вижу расшареной папки на linux.
Подскажите где что еще проверить и посмотреть, заранее благодарю.
Разбираюсь в samba, хочу увидеть на Windows папку Linux server-а.
Я бы добаил в [global] следующее:
text
# Уровень определения прав доступа на уровне пользователей
security = user
# Приоритет данного сервера среди других компьютеров рабочей группы:
# определяет, кто именно будет главной машиной, отвечающей за
# отображение ресурсов сети. Для сравнения, у Win9X os level = 34, а
# у NT4 os level = 64.
os level = 65
# Очевидно, что раз нет домена - нет и мастера.
domain master = no
# Не стоит становиться сервером паролей для окрестных машин.
domain logons = no
# Обычно в простейшей сети WINS не нужен, но не помешает
wins support = yes
И в секцию [data] добавил бы ключики browseable=yes и writable = yes
cat var/log/samba/log.smbd
[2010/03/16 12:13:17, 0] smbd/server.c:1085(main)
smbd version 3.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/03/16 12:29:59.640212, 0] lib/util_sock.c:1432(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
[2010/03/16 12:29:59.649999, 0] lib/util_sock.c:474(read_fd_with_timeout)
[2010/03/16 12:29:59.650068, 0] lib/util_sock.c:1432(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
[2010/03/16 14:38:31, 0] smbd/server.c:1085(main)
smbd version 3.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/03/16 14:38:31.986673, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/03/16 14:38:31.986959, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/03/17 09:52:14, 0] smbd/server.c:1085(main)
smbd version 3.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/03/17 09:52:14.906850, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/03/17 09:52:14.907225, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/03/17 09:58:03, 0] smbd/server.c:1085(main)
smbd version 3.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2010/03/17 09:58:03.470510, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2010/03/17 09:58:03.470942, 0] smbd/server.c:466(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
text
Samba name server INET is now a local master browser for workgroup ALGROUP on subnet 192.168.0.22
*****
[2010/03/17 09:58:26.677453, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 10:13:44.876471, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 10:28:51.524376, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 10:43:53.350306, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 10:58:50.508468, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 11:14:08.805092, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 11:29:08.198520, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
[2010/03/17 11:44:17.193486, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name ALGROUP<1b> for the workgroup ALGROUP.
Unable to sync browse lists in this workgroup.
вот еще данные
text
cat etc/samba/smb.conf
[global]
workgroup = ALGROUP
printing = cups
printcap name = cups
load printers = yes
netbios name = inet
domain master = no
domain logons = no
wins support = yes
security = user
[sharename]
path = /home/tom
read only = no
map archive = no
browseable=yes
writable = yes
public = no
writable = yes
printable = no
create mask = 0765
[root@inet /]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[sharename]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = ALGROUP
printcap name = cups
domain master = No
wins support = Yes
[sharename]
path = /home/tom
read only = No
create mask = 0765
map archive = No
[2010/03/17 09:58:03, 0] smbd/server.c:1085(main) smbd version 3.5.1 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2010/03/17 09:58:03.470510, 0] smbd/server.c:466(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2010/03/17 09:58:03.470942, 0] smbd/server.c:466(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use