- Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- Re: Samba не расшаривает компы в рабочей группе
- [РЕШЕНO] SAMBA не видит в ФМ ни каких компьютеров сети ни linux ни windows, изменился протокол добавляем «client max protocol = NT1 в /etc/samba/smb.conf»
Samba не расшаривает компы в рабочей группе
если явно прописать адрес то все нормально но в гноме или кедах не видно компьютеров в рабочей группе. просто пусто, настройки smb.conf практически ве по умолчанию только рабочая группа заменена и уровень безопасности заменил с user на share.
Re: Samba не расшаривает компы в рабочей группе
Re: Samba не расшаривает компы в рабочей группе
Не знаю вечером дома посмотрю. А еще могут быть причины почему не работает?
Re: Samba не расшаривает компы в рабочей группе
по умолчанию в samba.conf стоит public=no для всех папок кроме public. Это обозначает, что ниодин каталог не будет видет в обозревателе. Исправь те каталоги, что хочешь, чтобы смотрели в сеть на yes. Все должно увидется.
Re: Samba не расшаривает компы в рабочей группе
да причин может быть туева хуча, начиная от файрвола до фазы луны
для начала проверьте наличие master browser-а —
nmblookup -M Your_workgroup
(если есть винс сервер, то можно спросить у него —
nmblookup -U ip_wins-a -R ‘Your_workgroup#1B’
wins server = ip задать в smb.conf для регистрации на нем)
Если MB существует, проверьте список на нем —
smbclient -L //ip_mb
Должен выдать список всех зарегестрировавшихся на нем машин.
Если все ок, попроверяйте у себя на компе все (файрвол, ps ax | grep nmbd как написали выше и т.п.)
Если не совсем ок, можете попробовать для теста или на постоянку mb на свой комп (можете получить по шапке если кто-нибудь контролирует) опции domain master = yes, preferred master = yes и os level в smb.conf.
Re: Samba не расшаривает компы в рабочей группе
Стоит обычная дмашняя сетка три компа на двух маздай. все видно без каких либо настроек. какого либо дополнительного фаииииир вола не стоит
Re: Samba не расшаривает компы в рабочей группе
пропиши на виндузятных машинах в файле hosts находящейся в папке %systemroot%\system32\drivers\
строчки 192.168.1.1 win1 192.168.1.2 win1 192.168.1.3 linux
и все получится. либо включай nmb вместе с smb кто то в сети должен заниматся преобразованием имен, кроме как нетбью тубю. и вообще, столило бы smb.conf показать 🙂
Re: Samba не расшаривает компы в рабочей группе
вот log samba [2008/02/07 19:27:00, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 19:27:00, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — В соединении отказано [2008/02/07 19:27:00, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — В соединении отказано [2008/02/07 19:29:42, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 19:29:43, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 19:29:43, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 19:45:50, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 19:45:50, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 19:45:50, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 20:07:01, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 20:07:02, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 20:07:03, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 20:36:20, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 20:36:21, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 20:36:21, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 22:10:56, 0] smbd/server.c:main(847) smbd version 3.0.23b started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2008/02/07 22:10:57, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused [2008/02/07 22:10:58, 0] printing/print_cups.c:cups_cache_reload(85) Unable to connect to CUPS server localhost — Connection refused
принтеры мне вообще не нужны, и не когда не понадобятся.
Re: Samba не расшаривает компы в рабочей группе
workgroup = mshome
server string = Samba Server %v
; message command = /usr/bin/linpopup «%f» «%m» %s; rm %s
log file = /var/log/samba/%m.log
max log size = 50000
map to guest = bad user
encrypt passwords = yes
# The following are needed to allow password changing from Windows to
# also update the Linux system password.
# NOTE: Use these with ‘encrypt passwords’ and ‘smb passwd file’ above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
; unix password sync = Yes
# You either need to setup a passwd program and passwd chat, or
# enable pam password change
; pam password change = yes
# passwd program = /usr/bin/passwd ‘%u’
; passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n ;*passwd:*all*authentication*tokens*updated*successfully*
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
# include = /etc/samba/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
# logon script = %m.bat
# run a specific logon batch file per username
# logon script = %u.bat
# Where to store roaming profiles for WinNT and Win2k
# %L substitutes for this servers netbios name, %u is username
# You must uncomment the [Profiles] share below
# logon path = \\%L\Profiles\%u
# Where to store roaming profiles for Win9x. Be careful with this as it also
# impacts where Win2k finds it’s /HOME share
# logon home = \\%L\%u\.profile
# The add user script is used by a domain member to add local user accounts
# that have been authenticated by the domain controller, or when adding
# users via the Windows NT Tools (ie User Manager for Domains).
# Scripts for file (passwd, smbpasswd) backend:
# add user script = /usr/sbin/useradd -s /bin/false ‘%u’
# delete user script = /usr/sbin/userdel ‘%s’
# add user to group script = /usr/bin/gpasswd -a ‘%u’ ‘%g’
# delete user from group script = /usr/bin/gpasswd -d ‘%u’ ‘%g’
# set primary group script = /usr/sbin/usermod -g ‘%g’ ‘%u’
# add group script = /usr/sbin/groupadd %g && getent group ‘%g’|awk -F: ‘
# delete group script = /usr/sbin/groupdel ‘%g’
# Scripts for LDAP backend (assumes nss_ldap is in use on the domain controller,
# and needs configuration in smbldap_conf.pm
# add user script = /usr/sbin/smbldap-useradd -m ‘%u’
# delete user script = /usr/sbin/smbldap-userdel ‘%u’
# add user to group script = /usr/sbin/smbldap-groupmod -m ‘%u’ ‘%g’
# delete user from group script = /usr/sbin/smbldap-groupmod -x ‘%u’ ‘%g’
# set primary group script = /usr/sbin/smbldap-usermod -g ‘%g’ ‘%u’
# add group script = /usr/sbin/smbldap-groupadd ‘%g’ && /usr/sbin/smbldap-groupshow %g|awk ‘/^gidNumber:/
# delete group script = /usr/sbin/smbldap-groupdel ‘%g’
# The add machine script is use by a samba server configured as a domain
# controller to add local machine accounts when adding machines to the domain.
# The script must work from the command line when replacing the macros,
# or the operation will fail. Check that groups exist if forcing a group.
# Script for domain controller for adding machines:
# add machine script = /usr/sbin/useradd -d /dev/null -g machines -c ‘Machine Account’ -s /bin/false -M ‘%u’
# Script for domain controller with LDAP backend for adding machines (please
# configure in /etc/samba/smbldap_conf.pm first):
# add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c ‘Machine Account’ -s /bin/false ‘%u’
# Domain groups:
# Domain groups are now configured by using the ‘net groupmap’ tool
# Enable priveleges, ie allowing members of Domain Admins to join machines
# to the domain
# enable privileges = yes
# Samba Password Database configuration:
# Samba now has runtime-configurable password database backends. Multiple
# passdb backends may be used, but users will only be added to the first one
# Default:
# passdb backend = smbpasswd guest
# TDB backen with fallback to smbpasswd and guest
# passdb backend = tdbsam smbpasswd guest
# LDAP with fallback to smbpasswd guest
# Enable SSL by using an ldaps url, or enable tls with ‘ldap ssl’ below.
# passdb backend = ldapsam:ldaps://ldap.mydomain.com smbpasswd guest
# Use the samba2 LDAP schema:
# passdb backend = ldapsam_compat:ldaps://ldap.mydomain.com smbpasswd guest
# Idmap settings (set idmap uid and idmap gid above):
# Idmap backend to use:
# idmap backend = ldap:ldap://ldap.mydomain.com
# LDAP configuration for Domain Controlling:
# The account (dn) that samba uses to access the LDAP server
# This account needs to have write access to the LDAP tree
# You will need to give samba the password for this dn, by
# running ‘smbpasswd -w mypassword’
# ldap admin dn = cn=root,dc=mydomain,dc=com
# ldap ssl = start_tls
# start_tls should run on 389, but samba defaults incorrectly to 636
# ldap port = 389
# ldap suffix = dc=mydomain,dc=com
# Seperate suffixes are available for machines, users, groups, and idmap, if
# ldap suffix appears first, it is appended to the specific suffix.
# Example for a unix-ish directory layout:
# ldap machine suffix = ou=Hosts
# ldap user suffix = ou=People
# ldap group suffix = ou=Group
# ldap idmap suffix = ou=Idmap
# Example for AD-ish layout:
# ldap machine suffix = cn=Computers
# ldap user suffix = cn=Users
# ldap group suffix = cn=Groups
# ldap idmap suffix = cn=Idmap
Источник
[РЕШЕНO] SAMBA не видит в ФМ ни каких компьютеров сети ни linux ни windows, изменился протокол добавляем «client max protocol = NT1 в /etc/samba/smb.conf»
# 3 года, 7 месяцев назад (отредактировано 3 года, 7 месяцев назад)
# 3 года, 7 месяцев назад (отредактировано 3 года, 7 месяцев назад)
Невозможно найти рабочие группы в вашей локальной сети. Возможно, этому препятствует брандмауэр.
nmbd.service — Samba NetBIOS name server
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2018-02-25 19:48:19 MSK; 2min 18s ago
Process: 7566 ExecStart=/usr/bin/nmbd -D (code=exited, status=0/SUCCESS)
Main PID: 7572 (nmbd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nmbd.service
└─7572 /usr/bin/nmbd -D
фев 25 19:48:19 VELES systemd[1]: Starting Samba NetBIOS name server.
фев 25 19:48:19 VELES systemd[1]: Started Samba NetBIOS name server.
фев 25 19:48:19 VELES nmbd[7572]: [2018/02/25 19:48:19.256992, 0] ../lib/util/become_daemon.c:124(daemo
фев 25 19:48:19 VELES nmbd[7572]: STATUS=daemon ‘nmbd’ finished starting up and ready to serve connect
фев 25 19:48:42 VELES nmbd[7572]: [2018/02/25 19:48:42.002949, 0] ../source3/nmbd/nmbd_become_lmb.c:397
фев 25 19:48:42 VELES nmbd[7572]: *****
фев 25 19:48:42 VELES nmbd[7572]:
фев 25 19:48:42 VELES nmbd[7572]: Samba name server VELES is now a local master browser for workgroup
фев 25 19:48:42 VELES nmbd[7572]:
фев 25 19:48:42 VELES nmbd[7572]: *****
● smbd.service — Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2018-02-25 19:48:19 MSK; 3min 13s ago
Process: 7574 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
Main PID: 7575 (smbd)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/smbd.service
├─7575 /usr/bin/smbd -D
├─7579 /usr/bin/smbd -D
├─7580 /usr/bin/smbd -D
└─7581 /usr/bin/smbd -D
фев 25 19:48:19 VELES systemd[1]: Starting Samba SMB/CIFS server.
фев 25 19:48:19 VELES systemd[1]: Started Samba SMB/CIFS server.
фев 25 19:48:19 VELES smbd[7575]: [2018/02/25 19:48:19.325375, 0] ../lib/util/become_daemon.c:124(daemo
фев 25 19:48:19 VELES smbd[7575]: STATUS=daemon ‘smbd’ finished starting up and ready to serve connect
lines 1-16/16 (END)
Рядом на компе стоит ubuntu все работает, как всегда с арчем все перемудрили
# 3 года, 7 месяцев назад (отредактировано 3 года, 7 месяцев назад)
https://wiki.archlinux.org/index.php/Samba#KDE
Нет сейчас самбы проверить.
Запустите авахи с ним проблем нет.
перезагрузите фм должны быть видны компы, если нет то может точно что блочит
# 3 года, 7 месяцев назад (отредактировано 3 года, 7 месяцев назад)
Запустите авахи с ним проблем нет.
перезагрузите фм должны быть видны компы, если нет то может точно что блочит
Если честно ничего не понял что там написано вставил строки
server multi channel support = yes
socket options = IPTOS_THROUGHPUT SO_KEEPALIVE
deadtime = 30
use sendfile = Yes
write cache size = 262144
min receivefile size = 16384
aio read size = 16384
aio write size = 16384
nt pipe support = no
load printers = No
printcap name = /dev/null
disable spoolss = Yes
Все перезагрузил результат прежний, avchi тоже запущен и тоже ничего не видит, рядом 2 компа на ubuntu все работает
Блин почему в этой ос все через одно место, за что не возьмись все не работает или работает с такими костылями, ну была нормальная самба сделал все по вики и работает а сейчас
Ради ржаки загрузился с загрузочной флешки линукс минт, самба все видит
Источник