LinuxForum.Fans
Тема

Сетка SAMBA

Автор: denis8212 5 сообщений 4728 просмотров
#345614

Всем добрый день, кто может помогите, сижу почти неделю, не получается, самба настроена, в общие папки самба видит виндов и заходитЮ, на ноутбуке с win7, видит папки samba но не заходит в них.
smb.conf

text
[global]
    
    # 1. Server Naming Options:
    # workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = HOMEGROUP
    
    # netbios name is the name you will see in "Network Neighbourhood",
    # but defaults to your hostname
    netbios name = <Home-PC1>
    
    # server string is the equivalent of the NT Description field
    server string = samba server
    
    # Message command is run by samba when a "popup" message is sent to it.
    # The example below is for use with LinPopUp:
    ; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
    
    # 2. Printing Options:
    # Required to load all CUPS printers
    printcap name = /dev/null
    ;    load printers = yes
    
    # printcap cache time, so samba will automatically load new cups printers
    printcap cache time = 60
    
    # It should not be necessary to spell out the print system type unless
    # yours is non-standard. Currently supported print systems include:
    # bsd, sysv, plp, lprng, aix, hpux, qnx, cups
    ;    printing = cups

[printers] path = /var/spool/samba comment = All Printers browseable = yes printable = yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. guest ok = yes create mode = 0777 use client driver = yes [pdf-gen] path = /var/tmp comment = PDF Generator (only valid users) browseable = yse printable = yes print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" & lpq command = /bin/true guest ok = yes writable = yes printing = bsd [print$] path = /var/lib/samba/printers comment = Samba Printer browseable = yes printable = yes guest ok = yes writable = yes write list = @adm root inherit permissions = yes [/home/denis] path = /home/denis comment = denis browseable = yes public = yes writable = yes admin users = denis force user = denis force group = denis read only = yes create mask = 0777 directory mask = 0777 [/media/windows] path = /media/windows comment = windows browseable = yes public = yes writable = yes admin users = denis hide dot files = yes force user = denis force group = denis read only = yes create mask = 0777 directory mask = 0777

#345800

Фаерволл пробовал отключать?

#348128

Брандамауэр в windows отключён и в центр управления mageia файьервол отключён

#348133

С магии на windows 7 заходит, а с винду нет, люди, помогите, сеть надо для учёбы

#348188

Видимо правильно, что с Windows не заходит. Сначала надо бы пользователей для samba установить. Есть такая утилита, smbpasswd называется. Вот с ее помощью и определяются пользователи samba и их пароли.

Добавить пользователя в samba:

text
# smbpasswd -a username

Разрешить работу этого пользователя:

text
# smbpasswd -e username

Запретить работу этого пользователя:

text
# smbpasswd -d username

Удалить пользователя из samba:

text
# smbpasswd -x username

Короче, man smbpasswd в помощь.

Войдите или зарегистрируйтесь, чтобы ответить.