heh.pl
Kanał informacyjny Heh.pl


Czwartek 2 maja 2024 r.

artykuły | abc komputera (archiwum) | forum dyskusyjne | redakcja


Temat

Problem Z Sambą


83.27.35.* napisał:
Mam problem z dzialaniem samby na FC3. Mianowicie gdy udostepniam katalog to wyswietla sie w otoczeniu sieciowym, ale przy probie otworzenia zasobu dostaje komunikat "Plik lub Katalog : smb://host/katalog/ nie istenieje" :/ Siec moge przegladac, ale z zadnego komputera w sieci nie moge przegladac zasobow mojego komputera, ani z Mandrake'a ani z Win 98. Pomożcie

80.53.147.* napisał:
A co masz w konfigu?

83.27.35.* napisał:
CODE

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = k

# server string is the equivalent of the NT Description field
server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap

# This option tells cups that the data has already been rasterized
cups options = raw

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
guest account = nobody

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log

max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = share

dns proxy = no
winbind uid = 16777216-33554431
winbind gid = 16777216-33554431
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
map to guest = Bad User
guest ok = yes

[homes]
comment = Home Directories
browseable = no
read only = no

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes

[shares]
path = /home/abdel_k9/share
comment = /home/abdel_k9/share
quest ok = yes
case sensitive = no
msdfs proxy = no

Oto i config

80.53.147.* napisał:
Próbowałeś wejść po ip?

83.27.77.* napisał:
Tak, i dalej to samo :/

80.53.147.* napisał:
Logi?

83.27.77.* napisał:
pc1.log
CODE

[2005/01/25 00:03:09, 0] smbd/service.c:make_connection_snum(620)
 '/home/abdel_k9/share' does not exist or is not a directory, when connecting to [shares]
[2005/01/25 00:03:12, 0] smbd/service.c:make_connection_snum(620)
 '/home/abdel_k9/share' does not exist or is not a directory, when connecting to [shares]
[2005/01/25 00:03:20, 0] smbd/service.c:make_connection_snum(620)
 '/home/abdel_k9/share' does not exist or is not a directory, when connecting to [shares]
[2005/01/25 00:05:14, 0] smbd/service.c:make_connection_snum(620)
 '/home/abdel_k9/share' does not exist or is not a directory, when connecting to [shares]
...


smbd.log
CODE
[2005/01/25 00:06:12, 0] smbd/server.c:main(760)
 smbd version 3.0.10-1.fc3 started.
 Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/01/25 00:11:09, 0] smbd/server.c:main(760)
 smbd version 3.0.10-1.fc3 started.
 Copyright Andrew Tridgell and the Samba Team 1992-2004



nmbd.log
CODE

[2005/01/25 00:03:06, 0] param/loadparm.c:lp_do_parameter(3139)
 Ignoring unknown parameter "map to quest"
[2005/01/25 00:06:11, 0] nmbd/nmbd.c:terminate(56)
 Got SIGTERM: going down...
[2005/01/25 00:06:12, 0] nmbd/nmbd.c:main(669)
 Netbios nameserver version 3.0.10-1.fc3 started.
 Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/01/25 00:11:09, 0] nmbd/nmbd.c:terminate(56)
 Got SIGTERM: going down...
[2005/01/25 00:11:09, 0] nmbd/nmbd.c:main(669)
 Netbios nameserver version 3.0.10-1.fc3 started.
 Copyright Andrew Tridgell and the Samba Team 1994-2004


czyli wychodzi na to ze katalog nie istnieje, ale on jest i ustawilem mu chmod 777, a mimo to samba go traktuje jak by nie istnial, zreszta jak kazdy inny. mur.gif


150.254.76.* napisał:
Trzeba zmienic ustawienia w selinux
Ustawienia systemowe -> poziom zabezpieczen
SELinux i wylaczyc ochrone SELinux dla Samby


212.160.138.* napisał:

po -pierwsze jak udostepniasz zasób rozumiem dla każdego w sieci to musisz dopisac:

public=yes

po drugie chyba nie musze przypominac zeby katalog który udostepniasz miał ustawione odpowiednie uprawnienia, tzn. uprawnienia do katalogu musza byc odpowiednie

po trzecie jeżeli to jest podmontowany jakiś fat łindołsowy to musi on byc odpowiednio zamontowany, nie tylko dla root'a ale również dla użytkowników

83.27.105.* napisał:
Widze ze ktos tu bawi sie w archeologa...
Problemu juz nie ma odkad mam Slackware, ale... SELinux nie mialem, public=yes probuwalem, a jak widac w configu katalog byl w home i mial uprawnienia 777 dla pewnosci.

Podobne tematy


Działy









Copyright © 2002-2024 | Prywatność | Load: 2.01 | SQL: 1 | Uptime: 41 days, 21:39 h:m | Wszelkie uwagi prosimy zgłaszać pod adresem eddy@heh.pl