LinuxQuestions.org
Visit Jeremy's Blog.
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 05-03-2004, 08:27 PM   #1
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
browse linux files from windows.


Got my network up and now am in the process of configuring samba and ran into a problem.
I can view the files from the XP host while using the slackware machine, but not vice versa. What I want to be able to do is browse the slack machines files (my home directory [/home/floods]) while using windows. I've tried to setup my smb.conf and it all *looks* ok to me, but I could be skipping over something. Since I can't paste it all, here are the important parts.
Code:
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
   server string = SlackBox

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168. 127.
And here are my share definitions.

Code:
#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
 [netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/lib/netlogon
   guest ok = yes
   writable = no
   share modes = no

# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[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

# A publicly accessible directory
[public]
   comment = floods' home
   path = /home/floods/
   browseable = yes
   public = yes
   guest ok = yes
   writable = yes
   printable = no
The rest of everything is commented out.

As for samba users, I ran smbpasswd -a floods and added the same password as my windows machine uses. When I open all computers in the workgroup, it sees SlackBox (Floodsbox), but it can't browse any of the files, so best guess is something is wrong with the shares.
 
Old 05-03-2004, 09:57 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
It's been awhile since I've done any Samba, but I you used to have to add a line about using encrypted passwords... Windows does, but Samba didn't by default.

Try adding...

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

...to you [global] section.
 
Old 05-03-2004, 10:11 PM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ranger_nemo
It's been awhile since I've done any Samba, but I you used to have to add a line about using encrypted passwords... Windows does, but Samba didn't by default.

Try adding...

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

...to you [global] section.
That worked like a charm. I didn't have to add the smb passwd file = /etc/samba/smbpasswd, though. The file doesn't even exist in that directory on this system, but it doesn't seem like it's needed since i can browse all the files fine now.

Thanks a million!
 
  


Reply


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
windows browse linux partitions? jimjamjahaa Linux - Newbie 4 06-02-2005 06:24 AM
can not browse tomcat webserver on linux from windows Ibrahim Linux - Networking 0 03-24-2004 11:32 AM
How to browse Windows machines from Linux Fred Affe Linux - Networking 13 02-05-2004 02:39 PM
browse windows shares from linux system judemathias Linux - Software 1 09-29-2003 11:00 AM
Browse Linux Files From Windows iamunch Linux - Newbie 1 08-09-2003 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration