Fedora linux forum

Форум русской поддержки ОС Fedora linux

Балансировочный клапан данфосс ab qm в Москве. 

#26 2009-11-15 20:38:25

aes78
Member
Зарегистрирован: 2009-06-22
Сообщений: 47

Re: Сеть между двумя компами с Windows и Linux

Перешел на 12 федору, перенес туда все настройки из 11 — не видит теперь ни линукс винду, ни винда линукс.

Неактивен

 

#27 2009-12-25 08:47:25

KOPTEC
New member
Откуда: Одесса
Зарегистрирован: 2009-12-18
Сообщений: 6

Re: Сеть между двумя компами с Windows и Linux

Похожая проблема. Федора 10 настроенная самба (как было настроено на предыдущей 9). В винде (XP SP3) видно самбу но доступа к ней нет. Собственно вопрос — почему с аналогичными настройками на самбу ф-ы 9 можно было зайти легко и не принужденно. а ф-а 10 сообщает "отказано в доступе"?
установленные пакеты
[root@Server ~]# rpm -qa|grep samba
samba-client-3.2.15-0.36.fc10.i386
samba-domainjoin-gui-3.2.15-0.36.fc10.i386
php-pear-Auth-samba-1.6.1-8.fc10.noarch
samba-winbind-devel-3.2.15-0.36.fc10.i386
samba-swat-3.2.15-0.36.fc10.i386
samba-common-3.2.15-0.36.fc10.i386
samba-winbind-3.2.15-0.36.fc10.i386
samba-doc-3.2.15-0.36.fc10.i386
samba-3.2.15-0.36.fc10.i386
system-config-samba-1.2.76-1.fc10.noarch

Конфиг:
[global]
    log file = /var/log/samba/%m.log
    workgroup = twilight_way
    server string = Samba

;    netbios name = SAMBA

;    interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
;    hosts allow = 127. 192.168.12. 192.168.13.

    # logs split per machine
    log file = /var/log/samba/log.%m
    # max 50KB per log file, then rotate
    max log size = 50

    security = share
    passdb backend = tdbsam



;    realm = MY_REALM

;    password server = <NT-Server-Name>

;    domain master = yes
;    domain logons = yes

    # the login script name depends on the machine name
;    logon script = %m.bat
    # the login script name depends on the unix user used
;    logon script = %u.bat
;    logon path = \\%L\Profiles\%u
    # disables profiles support by specifing an empty path
;    logon path =         

;    add user script = /usr/sbin/useradd "%u" -n -g users
;    add group script = /usr/sbin/groupadd "%g"
;    add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
;    delete user script = /usr/sbin/userdel "%u"
;    delete user from group script = /usr/sbin/userdel "%u" "%g"
;    delete group script = /usr/sbin/groupdel "%g"


;    wins support = yes
;    wins server = w.x.y.z
;    wins proxy = yes

;    dns proxy = yes

;    load printers = yes
    cups options = raw

;    printcap name = /etc/printcap
    #obtain list of printers automatically on SystemV
;    printcap name = lpstat
;    printing = cups

;    map archive = no
;    map hidden = no
;    map read only = no
;    map system = no
    encrypt passwords = no
;    guest ok = no
;    guest account = nobody
;    store dos attributes = yes


#============================ Share Definitions ==============================

[homes]
    comment = Home Directories
    browseable = no
    writable = yes
;    valid users = %S
;    valid users = MYDOMAIN\%S

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
;    guest ok = no
;    writable = No
    printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;    [netlogon]
;    comment = Network Logon Service
;    path = /var/lib/samba/netlogon
;    guest ok = yes
;    writable = no
;    share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;    [Profiles]
;    path = /var/lib/samba/profiles
;    browseable = no
;    guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
;    [public]
;    comment = Public Stuff
;    path = /home/samba
;    public = yes
;    writable = yes
;    printable = no
;    write list = +staff


[disk1]
    path = /mnt/disk1
    read only = no
;    browseable = yes
    guest ok = yes

[disk2]
    path = /mnt/disk2
    read only = no
;    browseable = yes
    guest ok = yes

[disk3]
    path = /mnt/disk3
    read only = no
;    browseable = yes
    guest ok = yes

[disk4]
    path = /mnt/disk4
    read only = no
;    browseable = yes
    guest ok = yes

Неактивен

 

#28 2010-02-15 12:29:24

tomas
New member
Зарегистрирован: 2010-02-15
Сообщений: 1

Re: Сеть между двумя компами с Windows и Linux

Помогите советом.
Пытаюсь настроитьсеть, samba запущена и работает.
Кода стояла проверка пароля не принемал пароль, когда поставил "password server = *"
парол не спрашивает. Создаю ярлык с адресом к дириктории он её вроде видит а когда пытаюсь зайти пишет "недоступен диск или сетевой ресурс" Из cmd "net use" по ip работает
Вод настройки

Код:

[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.2/24
; hosts allow = 127. 192.168.1.
--------------------------- Logging Options -----------------------------
log file = /var/log/samba/log.%m
max log size = 50
----------------------- Standalone Server Options ------------------------
security = share
passdb backend = tdbsam
----------------------- Domain Members Options ------------------------
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server = *
----------------------- Domain Controller Options ------------------------
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
; logon script = %m.bat
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
----------------------- Browser Control Options ----------------------------
; local master = no
; os level = 33
; preferred master = yes
----------------------------- Name Resolution -------------------------------
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
--------------------------- File System Options ---------------------------
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes
============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
# Un-comment the following and create the netlogon directory for Domain Logons:
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share.
# The default is to use the user's home directory:
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory that is read only, except for users in the
# "staff" group (which have write permissions):
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff

Пробовал вставлять настройки воложенные выше, работает только ping
Заранее спасибо

Неактивен

 

#29 2010-02-16 22:21:26

Mak_s
Member
Откуда: Чернигов
Зарегистрирован: 2009-12-06
Сообщений: 346

Re: Сеть между двумя компами с Windows и Linux

tomas написал:

Помогите советом.
Пытаюсь настроитьсеть, samba запущена и работает.
Кода стояла проверка пароля не принемал пароль, когда поставил "password server = *"
парол не спрашивает. Создаю ярлык с адресом к дириктории он её вроде видит а когда пытаюсь зайти пишет "недоступен диск или сетевой ресурс" Из cmd "net use" по ip работает

Так все-таки в настоящее время используется параметр password server (в приведенном конфиге он закомментирован)? Если да, то непонятно, зачем он нужен при security = share.
net use мапит ресурс с указанием логина/пароля? Того самого пароля, который не принимает самба?


Круче самовара только титан

Неактивен