LINUX.ORG.RU
ФорумAdmin

не вижу компьютер с samba в списке компьютеров с Windows компьютера.


0

1

Добрый день.

комп с CentOS+Samba
с win-компьютера в списке компьютеров в Сетевом окружении он не виден, но по \\FORMAIL заходит на ура и все шары прекрасно работают.


# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[Distrib]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_MEMBER
[global]
dos charset = cp866
workgroup = OFFICE
realm = OFFICE.SPRUT.RU
server string = ForMail Samba Server 3.0
interfaces = seth0
security = ADS
auth methods = winbind
allow trusted domains = No
password server = 192.168.64.254
restrict anonymous = 2
log level = 5
log file = /var/log/samba/samba.%m
max log size = 500
time server = Yes
unix extensions = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
printcap name = /dev/null
disable spoolss = Yes
show add printer wizard = No
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = /
winbind enum users = Yes
winbind enum groups = Yes
winbind refresh tickets = Yes
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
case sensitive = No
strict locking = No
wide links = Yes

[Distrib]
comment = OS Images
path = /home/formail/dist
valid users = @OFFICE/ubuntu_adusers
read list = @OFFICE/ubuntu_adusers
write list = @OFFICE/ubuntu_adadmins
read only = No
create mask = 0644
guest ok = Yes


я так понял, что проблемы с master browser, но утилиты nmblookup у меня почму то нет, что бы посмотреть что там не так :-(

комп в домен нормально введён ? и да, он очевидно не контроллер домена, и отдельные локалки комп не стыкует - поэтому oslevel уменьшать, а preffered browser и master browser выключить. Ещё можно для верности browseable=yes в [global]

MKuznetsov ★★★★★
()
Ответ на: комментарий от MKuznetsov

preffered browser и master browser менял на no и os level изначально стоял в 1.
browseable=yes стоит в smb.conf, но вот в testparm он не показывается и в логах нет его..

# cat smb.conf
[global]
workgroup = office
netbios name = FORMAIL
server string = ForMail Samba Server 3.0
security = ads
realm = OFFICE.SPRUT.RU
password server = 192.168.64.254
auth methods = winbind
encrypt passwords = yes
security = ADS
allow trusted domains = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 1
preferred master = no
local master = no
domain master = no
dns proxy = yes
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
strict locking = No
time server = Yes
log file = /var/log/samba/samba.%m
max log size = 500 0
log level = 5
unix charset = UTF-8
dos charset = cp866
load printers = No
disable spoolss = Yes
show add printer wizard = No
case sensitive = no
default case = lower
preserve case = yes
printing = bsd
printcap name = /dev/null
interfaces = seth0
winbind use default domain = false
winbind refresh tickets = yes
winbind separator= /
winbind enum users = yes
winbind enum groups = yes
client use spnego = yes
restrict anonymous = 2
wins support = yes
follow symlinks = yes
wide links = yes
unix extensions = no

acl compatibility = auto
#client codepage=1251

browse list= yes
browseable=yes
...


# testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_MEMBER
[global]
dos charset = cp866
workgroup = OFFICE
realm = OFFICE.SPRUT.RU
server string = ForMail Samba Server 3.0
interfaces = seth0
security = ADS
auth methods = winbind
allow trusted domains = No
password server = 192.168.64.254
restrict anonymous = 2
log level = 5
log file = /var/log/samba/samba.%m
max log size = 500
time server = Yes
unix extensions = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
printcap name = /dev/null
disable spoolss = Yes
show add printer wizard = No
os level = 1
local master = No
domain master = No
wins support = Yes
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = /
winbind enum users = Yes
winbind enum groups = Yes
winbind refresh tickets = Yes
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
case sensitive = No
strict locking = No
wide links = Yes

Mielofon
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.