[Samba] win2k + sp4, fedora core 2, samba-3.0.3-5 peer-to-peer workgroup (home network

john airey jmairey at hotmail.com
Fri Oct 22 20:05:35 GMT 2004


We have asimple home peer-to-peer workgroup wireless home network with 2 
win2k  + sp4 machines.
linksys wireless router.

it was DHCP based, but I converted tostatic IP to help get things to work.

tried to add new linux laptop to network.   Fedora Core 2, samba 3.0.3-5.

I can put and get files from linux laptop with smbclient  but I can't  find 
the
linux machine from the win2k machines via network neighborhood.
likewise, I can't browse to the win2k machines from nautilus browser on 
linux machine.

I would like to be able to find the linux laptop in the network neighborhood 
on the win2k machine,
or at least hear about some diagnostic tools I can use.

I'm a programmer, but I always had a sysadmin to handle network stuff for 
me.  New to
linux on PC's, but not to unix in general. So I'm ignorant, but capable.

smb.conf:
[global]
   workgroup = LINDBLOOM-AIREY
   server string = Samba Server
   hosts allow = 192.168.1. 127.
   printcap name = /etc/printcap
   load printers = yes

log file = /var/log/samba/%m.log
   max log size = 50

   security = user
  password level = 8
  username level = 8

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   dns proxy = no

   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /bin/false
   winbind use default domain = no
[homes]
   comment = Home Directories
   browseable = no
   writable = 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
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

# Share web page
[BigTrip]
   comment = Big Trip Web Page directory
   path = /home/BigTrip.040903
   public = yes
   read only = yes
   printable = no


testparm says it is okay.

I can connect with smbclient to both machines (after entering a password):

[jairey at linuxlap jairey]$ smbclient -L linuxlap
Password:
Domain=[LINUXLAP] OS=[Unix] Server=[Samba 3.0.3-5]

        Sharename       Type      Comment
        ---------       ----      -------
        tmp             Disk      Temporary file space
        BigTrip         Disk      Big Trip Web Page directory
        IPC$            IPC       IPC Service (Samba Server)
        ADMIN$          IPC       IPC Service (Samba Server)
        jairey          Disk      Home Directories
Domain=[LINUXLAP] OS=[Unix] Server=[Samba 3.0.3-5]

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

        Workgroup            Master
        ---------            -------
        LINDBLOOM-AIREY      LINUXLAP
[jairey at linuxlap jairey]$ smbclient -L win2klap
Password:
Domain=[WIN2KLAP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        photos          Disk
        hooked          Disk
        IPC$            IPC       Remote IPC
        music           Disk
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
Domain=[WIN2KLAP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

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

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

I have a smbpasswd file in /etc/

here's pinging win2k lap from linuxlap:

[jairey at linuxlap jairey]$ ping win2klap
PING win2klap (192.168.1.4) 56(84) bytes of data.
64 bytes from win2klap (192.168.1.4): icmp_seq=0 ttl=128 time=8.56 ms

here's pinging linuxlap from the win2k machine:
C:\>ping linuxlap

Pinging linuxlap [192.168.1.6] with 32 bytes of data:

Reply from 192.168.1.6: bytes=32 time<10ms TTL=64


So?   this should be cake for somebody out there.   thanks in advance 
(perhaps a
pizza voucher?), email to
jmairey at hotmail.com appreciated.













john m. airey jmairey at hotmail.com




More information about the samba mailing list