Опитай следните неща, дано са от полза:)

конфигурационния файл на samba има следния вид:

# global parameters

[global]
   workgroup     = TRANSLINGUA
   server string = fileserver
#    netbios name = FILESERVER
   hosts allow = 192.168.0. 127
#    guest account = guest
   interfaces = 192.168.0.200/24 127.0.0.1
   log file = /var/log/samba/%m.log
   max log size = 1024
   security = user
--->    security = share

   username map = /etc/samba/smbusers
   encrypt passwords = yes
   os level = 65
   local master = yes
   domain master = yes
--->    Нали не са в домейн? защо тогава горния ред е YES?
         domain master = no

   preferred master = yes
   name resolve order = hosts lmhosts wins bcast
   wins support = yes
----> Wins Support? А кой е wins server-a?

   dns proxy = no
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
   load printers = yes
   disable spoolss = yes
   show add printer wizard = no
   printing = cups

# share definitions
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /bin/false
# [work]
#    comment = Work Directories
#    path = /home/translations
#    valid users = %S
#    read only = No
#    browseable = No
[translations]
   comment = Translations
   path  = /home/translations
   guest ok = yes
   writable = yes
   browseable = yes
   printable = no
#    force user = translingua
#    force group = users
   read only = No
read only = no не е необходима в този случай

#    valid users = primus, secundus, tertius, quatrus, quintus, sextius,
septimus,ocropus2,nonius,decimus,translingua,user
[clients]
   comment = ftp directory
   path = /home/clients
   writable = yes
   directory mode = 777
   force directory mode = 777
   browseable = yes
   printable = no
#    force group = users
   read only = no
   valid users = primus, secunduss, tertius, quatrus, quintus, sextius,
septimus, octopus2, nonius, decimus, translingua, user

[software]
   comment = software repository
   path = /home/software
   guest ok = yes
   writable = yes
   browseable = yes
   printable = no
# end of smb.conf
---

резултата от изпълнението на командата

#smbclient //192.168.0.200/translations -U translingua

e:

Password:
Domain=[FILESERVER] OS=[Unix] Server=[Samba 3.0.14a-2]

а от командата

# smbclient -L //192.168.0.200/translations -U translingua

е:

       Sharename       Type      Comment
       ---------       ----      -------
       translations    Disk      Translations
       clients         Disk      ftp directory
       software        Disk      software repository
       IPC$            IPC       IPC Service (fileserver)
       ADMIN$          IPC       IPC Service (fileserver)
Domain=[FILESERVER] OS=[Unix] Server=[Samba 3.0.14a-2]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------
       TRANSLINGUA          FILESERVER

което според мен означава, че сървъра е вдигнат успешно (imho).
---

файлът /etc/samba/lmhosts съдържа:

127.0.0.1    localhost
192.168.0.200    fileserver
192.168.0.11    primus
192.168.0.22    secundus
192.168.0.13    tertius
192.168.0.17    septimus
192.168.0.31    octopus
192.168.0.30    decimus
---

файлът smbusers съдържа:
translingua = *
---

а файлът /etc/hosts:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1    fileserver.translingua-bg.com fileserver
localhost.localdomain localhost
192.168.0.200    fileserver.translingua-bg.com fileserver
192.168.0.11    primus
192.168.0.22    secundus
192.168.0.13    tertius
...
---

файлът hosts.allow не е редактиран.

ако е необходима още информация, ще се опитам да я осигуря.

и накрая дойде време за въпросите:

о какво да се прави :о)
о какво и къде съм объркал в настройките?
о и дали проблемът е на сървъра или на клиентските машини?

благодаря предварително


Reply via email to