Re: Linux / Window Samba share (newbie to samba)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antonio Montagnani wrote:

I have a small network with 3 PC's :
Contec (Linux Redhat 9, 192.168.0.1)
PentiumHp (Window98SE, 192.168.0.3)
Celeron (Windows XP Home, 192.168.0.2)

My workgroup is Workgroup.


If I digit from the Linux machine:


smbclient -L PentiumHp

I get

I get the following
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.254.2 bcast=192.168.254.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
error connecting to 192.168.0.3:445 (Connection refused)
Password:


       Sharename      Type      Comment
       ---------      ----      -------
       ALL USERS      Disk
       SHAREDDOCS     Disk
       DRIVEPSON      Disk
       PRINTER$       Disk
       EPSON          Printer
       CDHP           Disk      Cd su Pentium Hp
       DOCUMENTI      Disk
       IPC$           IPC       Comunicazioni remote tra processi

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

       Workgroup            Master
       ---------            -------

What is the meaning of the connectio errot to 192.168.0.3:445?? _____________________________________________________

If I digit :
smbclient -L Celeron

I get:

added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.254.2 bcast=192.168.254.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.2 ( 192.168.2.2 192.168.0.2 )
Password:
Doing spnego session setup (blob length=16)
OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]


       Sharename      Type      Comment
       ---------      ----      -------
       cd celeron     Disk
       IPC$           IPC       IPC remoto
       print$         Disk      Driver della stampante
       Condivisi      Disk
       Epson          Printer   \\192.168.0.3\Epson
       HPLaserJ       Printer   HP LaserJet 1200 Series PCL

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

       Workgroup            Master
       ---------            -------



Why the Server, comment, Workgroup, Master items are blank???--

Tnx
Antonio

================================================
Written with  Mozilla 1.4RC1 on Linux RedHat 8.0
================================================



This is my smb.conf file...

[global]
log file = /var/log/samba/%m.log
load printers = yes
guest account = pcguest
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/user.map
null passwords = yes
encrypt passwords = yes
public = yes
passwd program = /usr/bin/passwd %u
allow hosts = 192.168.0. 127.
dns proxy = no
server string = Server Linux
printing = lprng
unix password sync = yes
workgroup = Workgroup
printcap name = /etc/printcap
security = user
max log size = 0
pam password change = yes


[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

[Scambio]
    writable = yes
    printable = no
    public = yes
    path = /home/samba/public


[Aurat] path = /home/antoniomontagnani/Aurat


Tnx

Antonio

--


================================================ Written with Mozilla 1.4RC1 on Linux RedHat 8.0 ================================================





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux