LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-13-2008, 04:27 AM   #1
Nicolice
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Rep: Reputation: 15
Samba - Unable to view other computers


Hello, I'm still trying to get used with linux world, and I'm only know the basics.

Anyway, here's my problem.

I've multiple Windows computer in a network, and each of them have folder sharing enabled.

I'm currently using Fedora 9 and I can share my own folders and files. The other computers that are using Windows Vista and XP able to browse to my Fedora 9 pc without any problems.

But when I try to browse the network using my Fedora 9 computer, I can't see any shared network.

It's blank/empty after I clicked on the WORKGROUP icon.

Places->Network->Windows Network->WORKGROUP->[blank...nothing]

I've disabled SELINUX and firewall, and even updated the samba packages...and it's still the same thing??

The others can connect and retrieves the shared files/folders from the Fedora 9 pc, but I can't browse other's shared files/folders at my Fedora 9 pc.

Any helps?

Thanks!
 
Old 10-13-2008, 05:29 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,848

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Have you got a machine set to be the master browser? If not, you may find it takes a long time to find resources on the network.

To set your samba server as master, edit the /etc/samba/smb.conf file as root, and add the line

Quote:
preferred master = Yes
to the global section. Restart samba, and try again.
 
Old 10-13-2008, 10:31 PM   #3
Nicolice
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Original Poster
Rep: Reputation: 15
No helps, it just taking some time to searches for the resources and end up with blank screen, the other computers that are using Windows XP/Vista able to view the computer and get the shared files/folders from the Fedora pc.

Here's my smb.conf, which I've already removed the remarks.


PHP Code:
#======================= Global Settings =====================================

[global]
    
log file = /var/log/samba/log.%m
    cups options 
raw
    netbios name 
miyuki_linux
    server string 
Miyuki's Fedora PC
    os level = 20
    username map = /etc/samba/smbusers
    security = share
    preferred master = Yes
    passdb backend = tdbsam
    max log size = 1024

# ----------------------- Netwrok Related Options -------------------------


;    netbios name = MYSERVER

;    interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 
;    hosts allow = 127. 192.168.12. 192.168.13.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

    # logs split per machine
    # max 50KB per log file, then rotate

# ----------------------- Standalone Server Options ------------------------




# ----------------------- Domain Members Options ------------------------

;    realm = MY_REALM

;    password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------

;    domain master = yes 
;    domain logons = yes

    # the login script name depends on the machine name
;    logon script = %m.bat
    # the login script name depends on the unix user used
;    logon script = %u.bat
;    logon path = \\%L\Profiles\%u
    # disables profiles support by specifing an empty path
;    logon path =          

;    add user script = /usr/sbin/useradd "%u" -n -g users
;    add group script = /usr/sbin/groupadd "%g"
;    add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
;    delete user script = /usr/sbin/userdel "%u"
;    delete user from group script = /usr/sbin/userdel "%u" "%g"
;    delete group script = /usr/sbin/groupdel "%g"


# ----------------------- Browser Control Options ----------------------------

;    local master = no
;    os level = 33
;    preferred master = yes

#----------------------------- Name Resolution -------------------------------

;    wins support = yes
;    wins server = w.x.y.z
;    wins proxy = yes

;    dns proxy = yes

# --------------------------- Printing Options -----------------------------

;    load printers = yes

;    printcap name = /etc/printcap
    #obtain list of printers automatically on SystemV
;    printcap name = lpstat
;    printing = cups

# --------------------------- Filesystem Options ---------------------------

;    map archive = no
;    map hidden = no
;    map read only = no
;    map system = no
;    encrypt passwords = yes
;    guest ok = no
;    guest account = nobody
;    store dos attributes = yes


#============================ Share Definitions ==============================

[homes]
    comment = Home Directories
    browseable = no
    writable = yes
;    valid users = %S
;    valid users = MYDOMAIN\%S

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
;    guest ok = no
;    writable = No
    printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;    [netlogon]
;    comment = Network Logon Service
;    path = /var/lib/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 = /var/lib/samba/profiles
;    browseable no
;    guest ok 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

[Software]
    
comment Miyukis File Sharing
    
public = yes
    path 
= /media/d_drive/Misc/Anything to Share 
Thanks in advance!
 
Old 10-14-2008, 08:54 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,848

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
I don't think the problem is with your server. Others can connect to you.

Open a konsole, and run the command 'smbtree -b' ( without the quotes ) and see if that identifies any of the resources that should be there. This is a command line tool, it should list the shares, here is what it looks like...

Quote:
Connecting to host=MRBURNIE
resolve_lmhosts: Attempting lmhosts lookup for name MRBURNIE<0x20>
resolve_wins: Attempting wins lookup for name MRBURNIE<0x20>
resolve_wins: using WINS server 127.0.0.1 and tag '*'
Got a positive name query response from 127.0.0.1 ( 192.168.1.20 )
Connecting to 192.168.1.20 at port 445
Doing spnego session setup (blob length=16)
server didn't supply a full spnego negprot
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
rpc_pipe_bind: Remote machine MRBURNIE pipe \srvsvc fnum 0x4000 bind request returned ok.
\\MRBURNIE\mom-enfield
\\MRBURNIE\LexmarkX83 Lexmark X83
\\MRBURNIE\My Pictures
\\MRBURNIE\scanned-pdf
\\MRBURNIE\Sheenas_Music
\\MRBURNIE\sheenas_files
\\MRBURNIE\sounds
\\MRBURNIE\My Music
\\MRBURNIE\print$ Printer Drivers
\\MRBURNIE\SharedDocs
\\MRBURNIE\IPC$ Remote IPC
\\MRBURNIE\scanner
These are the shares on one host only. If the machines are being seen, this may produce a long list. If you get nothing, then try selecting one host you want to ping it. 'ping hostip' This has to work first.
 
Old 10-19-2008, 05:50 AM   #5
Nicolice
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Sorry for my late replies and also thanks for all the replies.

I do searched a bit regarding these problems at google, it seems other fedora 9 users faces the same problem?

I will try as what camorri next morning since the fedora box isn't with me now.

Hopefully it's not fedora's problem.
 
  


Reply

Tags
can


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I view other computers on a mixed OS Network? geotev Linux - Networking 2 07-13-2007 01:44 AM
Unable to share files from my linux to windows computers through samba Niceman2005 Linux - Software 5 05-21-2006 08:19 PM
How do you view Linux computers on a home network? dlackovic Linux - Newbie 8 01-10-2006 11:41 AM
How to view other computers in the network skie_knite007 Linux - Networking 1 07-14-2005 12:32 PM
how to view windows computers in redhat 8.0 higunj1 Linux - Networking 2 03-14-2004 03:15 PM


All times are GMT -5. The time now is 01:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration