Not logged in. · Lost password · Register
Forum: Fedora Sieci i serwery RSS
Udostepnianie folderow SAMBA

Announcement

2006-06-03, 10:40 by gajownik
Subject: Zanim coś napiszesz...
Witamy w naszych niskich progach ;-)

Zanim coś napiszesz na forum:
1. zapoznaj się z Wiki i FAQ a także Poradnikiem - są tam odpowiedzi na najczęściej pojawiające się pytania
2. skorzystaj z forumowej wyszukiwarki i/lub Google - jest spora szansa, że ktoś już rozwiązał Twój problem
3. uaktualnij cały system
4. przeczytaj regulamin oraz tekst na temat mądrego zadawania pytań
5. jeśli masz jakiś problem, przekaż nam o nim odpowiednią ilość informacji - jak na razie nie potrafimy jeszcze wróżyć z fusów
6. dla każdego nowego problemu twórz osobny wątek używając jednak zdrowego rozsądku
7. nie pisz niczego, czego wstydził(a)byś się przed swoją mamą ;-)

Życzymy miłej zabawy - zespół fedorapl.org
Create new thread · Reply
Reply · Quote ivo #1 ()
No profile available.
Link to this post
Subject: Udostepnianie folderow SAMBA
Witam

Mam postawiona domene na Sambie, do tego podlączone narazie gdzies 10 stacji roboczych wszystkie to Windows XP Professional. Udostepniam na wybranych komputerach foldery i drukarki, jakkolwiek bym tego nie zrobil nie mam dostepu do zasobów. Po wpisaniu \\ip_komputera wyswietla komunikat "Nie moze odnalezc sciezki sieciowej "

W otoczeniu sieciowym widze komputery podpiete do domenu ale nie moge sie na nie dostac bo nie mam uprawnien, mam sie zglosic do admina.  Jak zrobic aby rozwiazac ten problem?? Problem tkwi w Windowsie czy w konfiguracji samby??

Prosze o jakas rade:)
Avatar
Reply · Quote Thorin #2 ()
since May 2006 · 212 posts · Location: Mińsk Mazowiecki
Group memberships: Administratorzy, Użytkownicy, Zespół fedorapl.org
Show profile · Link to this post
Hmm nie wygląda mi to na problem samby, tylko raczej stacji roboczych...ale tak dla jasności daj tu swój samba.conf, warto zobaczyć co tam masz :)
Linux registred user: #410780
[Image: http://zs1mm.home.pl/thorin/foto/fedora.png]
Reply · Quote ivo #3 ()
No profile available.
Link to this post
Moj plik samba.conf

#======================= Global Settings =====================================
[global]
    admin users = root
    preserve case = yes
    delete user from group script = /usr/sbin/deluser %u %g
    time server = yes
    dns proxy = yes
    netbios name = STP3
    printing = cups
    logon script = %u.bat
    local master = yes
    workgroup = xxx
    os level = 65
    security = user
    add machine script = /usr/sbin/adduser -g machines -c Machine -d /dev/null -s /bin/false %u
    short preserve case = no
    delete user script = /usr/sbin/userdel %u
    max log size = 5
    directory mode = 775
    log file = /var/log/samba/log.%I
    load printers = yes
    add group script = /usr/sbin/groupadd %g
    delete group script = /usr/sbin/groupdel %g
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    default case = lower
    interfaces = eth0
    domain master = yes
    encrypt passwords = yes
    logon home = /home/users/%u
    passdb backend = tdbsam
    wins proxy = yes
    check password script = /usr/sbin/crackcheck -s
    case sensitive = no
    wins support = yes
    server string = STP
    add user script = /usr/sbin/useradd %u
    create mode = 775
    preferred master = yes
    domain logons = yes

[publiczny]
comment = Dysk do wymiany danych
path = /mnt/dla_wszystkich
create mask = 0777
directory mask = 0777
browsable = yes
writable = yes
quest OK = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   writable = yes
   create mode = 0600
   directory mode = 0700
   valid users = %S

[netlogon]
  comment = Network Logon Service
  path = /home/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 = /home/samba/profiles
#    browseable = no
#    guest ok = yes
#    writable = no
#    share modes = 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
   writable = no
   printable = yes

# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = 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

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
[public]
   path = /home/fs/public
   public = yes
   writable = yes
   printable = no
  vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
   vfs object = vscan-clamav

[lex]
    printable = no
    writeable = yes
    public = yes
    guest only = yes
    path = /home/fs/lex


[serwis]
    writeable = yes
    write list = grzes
    path = /home/fs/serwis
    only user = yes
  vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
   vfs object = vscan-clamav


[test2]
    path = /home/fs/test2

[joomla]
    path = /home/httpd


Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Reply
Go to forum
Powered by Unclassified NewsBoard (© 2003-7 by Yves Goergen)
Current time: 2008-11-21, 12:07:16 (UTC +01:00)
Copyright © 2006 - 2007 fedorapl.org