Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xffm doesn't show all computers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jochus
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 77
Location: Aalter (Belgium)

PostPosted: Sun Jun 25, 2006 8:33 pm    Post subject: xffm doesn't show all computers? Reply with quote

Hi!

I have a Samba server running. Perfectly working like it should!
But I have a small detail that I would like to fix.

a) I start xffm
b) Main Menu
c) Open => Xfsamba4

When I look into my workgroup, I can only see my window 2003 server, but not my XP workstations ...

But, when I do:

Code:
jochus@bacardi ~ $ smbclient -L 192.168.2.101
Password:
Domain=[JOCHUS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        A-schijf        Disk     
        E$              Disk      Standaard-share
        Gezin           Disk     
        IPC$            IPC       Externe IPC
        D$              Disk      Standaard-share
        print$          Disk      Printerstuurprogramma's
        C-schijf        Disk     
        Jochen$         Disk     
        ADMIN$          Disk      Beheer op afstand
        E-schijf        Disk     
        C$              Disk      Standaard-share
        D-schijf        Disk     
session request to 192.168.2.101 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[JOCHUS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

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

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


... my Gentoo pc could actually see my computers. And my XP pc's can access my Samba server. I just want them to see in my xffm. Is that possbile?

Samba version: 3.0.14a-r2

smb.conf:

Code:


# For jochus@bacardi ~ $ cat /etc/samba/smb.conf
[global]

# Replace MYWORKGROUPNAME with your workgroup/domain
workgroup = MSHOME

# Of course this has no REAL purpose other than letting
# everyone know its not Windows!
# %v prints the version of Samba we are using.
server string = Laptop (Samba Server %v)

# We are going to use cups, so we are going to put it in here ;-)
printcap name = lpstat
printing = cups
load printers = yes

#Encrypt paswords (van 't forum)
encrypt passwords = yes

# We want a log file and we do not want it to get bigger than 50kb.
log file = /var/log/samba/log.%m
max log size = 50

# We are going to set some options for our interfaces...
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# This is a good idea, what we are doing is binding the
# samba server to our local network.
# For example, if eth0 is our local network device

interfaces = lo eth0
bind interfaces only = yes

local master = yes

# Now we are going to specify who we allow, we are afterall
# very security conscience, since this configuration does
# not use passwords!
hosts allow = 127.0.0.1 192.168.2.1 192.168.2.100 192.168.2.101 192.168.2.102 19
2.168.2.103
hosts deny = 0.0.0.0/0

# Other options for this are USER, DOMAIN, ADS, and SERVER
# stond op user //
# The default is user
security = user

# No passwords, so we're going to use a guest account!
guest account = samba
guest ok = yes

# We now will implement the on access virus scanner.
# NOTE: By putting this in our [Global] section, we enable
# scanning of ALL shares, you could optionally move
# these to a specific share and only scan it.

Samba 3.x
#vfs object = vscan-clamav
#vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

# For Samba 2.2.x
#vfs object = /usr/lib/samba/vfs/vscan-clamav.so
#vfs options = config-file = /etc/samba/vscan-clamav.conf

passdb backend = tdbsam

# Now we setup our print drivers information!
[print$]
comment = Printer Drivers
path = /etc/samba/printer
# this path holds the driver structure
guest ok = yes
browseable = yes

# // stond op no
read only = no

# Now we setup our printers share.  This should be
# browseable, printable, public.
[printers]   
comment = All Printers
browseable = no
printable = yes   
writable = yes
# public stond uncomment //
public = yes   
guest ok = yes
path = /var/spool/samba
# Modify this to "username,root" if you don't want root to
# be the only printer admin)
printer admin = jochus,root,administrator,masterken,samba
create mode = 0700
print command = lpr -P %p -o raw %s -r



# // stond niet-comment
#use client drivers = yes

# We create a new share that we can read/write to from anywhere
# This is kind of like a public temp share, anyone can do what
# they want here.
[Jochus]
comment = test
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/jochus
writable = yes

_________________
"Vrouwelijk schoon kan je nooit precies in cijfers achter de komma uitdrukken,want juist de afronding maakt het zo mooi"
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sun Jun 25, 2006 8:42 pm    Post subject: Reply with quote

A couple of things to try,

1. Put all your machines in the same workgroup/domain
2. Run a wins server on your network.

For number 1, your XP machine seems to be in the workgroup/domain JOCHUS, your samba server is in the MSHOME domain.

For number 2 you can either put the wins server on the 2003 server, or the samba server. Make sure that all devices on the network know where the samba server is.
Back to top
View user's profile Send private message
Jochus
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 77
Location: Aalter (Belgium)

PostPosted: Sun Jun 25, 2006 9:14 pm    Post subject: Reply with quote

nobspangle wrote:
your XP machine seems to be in the workgroup/domain JOCHUS, your samba server is in the MSHOME domain.


Hmm, good remark!

But if I look in windows, I am in the MSHOME workgroup. What the hell could that be? :s
_________________
"Vrouwelijk schoon kan je nooit precies in cijfers achter de komma uitdrukken,want juist de afronding maakt het zo mooi"
Back to top
View user's profile Send private message
celestialwizard
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2006
Posts: 81
Location: Brisbane, Australia

PostPosted: Tue Jun 27, 2006 3:48 am    Post subject: Reply with quote

What you are displaying is the master browse list. Win2k and win2k3 will show up because they are the local browse master.

to display your workstations you will need to configure a wins server (samba can do this for you) and then get your workstations to register themselves with the wins server. you can achieve this via two methods.

statically assigned IPs - just set the wins server address in your windows networking settings
dhcp assigned IPs - set the wins server option in your dhcp server of choice
Back to top
View user's profile Send private message
Jochus
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 77
Location: Aalter (Belgium)

PostPosted: Tue Jun 27, 2006 9:12 am    Post subject: Reply with quote

On my samba server, I've added:

Code:
wins support = yes


I restarted samba

On my XP computers, I added the IP-adres of the samba - server at the WINS-tabpage.

But still no success :( ...
_________________
"Vrouwelijk schoon kan je nooit precies in cijfers achter de komma uitdrukken,want juist de afronding maakt het zo mooi"
Back to top
View user's profile Send private message
celestialwizard
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2006
Posts: 81
Location: Brisbane, Australia

PostPosted: Wed Jun 28, 2006 6:11 am    Post subject: Reply with quote

I take it your PC is named JOCHUS?

what happens if you run nbtstat -c, nbtstat -s and nbtstat -n from your windows xp machine
Back to top
View user's profile Send private message
Jochus
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2004
Posts: 77
Location: Aalter (Belgium)

PostPosted: Sat Jul 01, 2006 9:44 am    Post subject: Reply with quote

I'm sitting here on my dad's XP machine:

Code:
C:\Documents and Settings\Masterken>nbtstat -c

LAN-verbinding (Home):
IP-adres van knooppunt: [192.168.2.100] Scope-ID: []

                  NetBIOS-tabel met externe cachenamen

        Naam              Type           Hostadres      Duur [sec]
   ------------------------------------------------------------------
    BACARDI        <20>  Uniek           192.168.2.102       567
    WINDOWS-SERVER <20>  Uniek           192.168.2.103       567
    SMIRNOFF       <20>  Uniek           192.168.2.101       567
    JOCHUS         <20>  Uniek           192.168.2.101       520
    JOCHUS         <00>  Uniek           192.168.2.101       520

C:\Documents and Settings\Masterken>nbtstat -s

LAN-verbinding (Home):
IP-adres van knooppunt: [192.168.2.100] Scope-ID: []

    Geen verbindingen

C:\Documents and Settings\Masterken>nbtstat -n

LAN-verbinding (Home):
IP-adres van knooppunt: [192.168.2.100] Scope-ID: []

                Tabel met lokale NetBIOS-namen

       Naam               Type         Status
    ---------------------------------------------
    MASTER         <00>  Uniek       Geregistreerd
    MSHOME         <00>  Groep       Geregistreerd
    MASTER         <20>  Uniek       Geregistreerd
    MSHOME         <1E>  Groep       Geregistreerd

_________________
"Vrouwelijk schoon kan je nooit precies in cijfers achter de komma uitdrukken,want juist de afronding maakt het zo mooi"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum