LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-15-2004, 06:45 PM   #1
johnp
Member
 
Registered: Apr 2004
Distribution: Fedora Code 19
Posts: 30

Rep: Reputation: 15
Configuring Samba (Linux directory available on Windows XP)


I'm try to setup Samba to share the htdocs of my apache server on a Slackware computer over my network using the SMB protocol.

my smb.conf looks like this:
Code:
[global]
        workgroup = LONDON


[usr]
        browseable = yes
        guest ok = yes
        read only = no
        writable = yes
        create mode = 777
        directory = /var
I know that smb.conf probaly isn't right...so
What am I doing wrong? In XP when I go to "Microsoft Windows Network" I see "London"

WHen I click on it it tells me I don't have permission.
 
Old 05-15-2004, 07:13 PM   #2
Covel
Member
 
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116

Rep: Reputation: 16
Only that?

I used the smb.conf.example and edited some parts and it's working great. In the global section I added

Code:
netbios name = delphis
"delphis" is my computer's name.


As I wanted to share the folder /data/Rui as "Rui" I also added the following lines


Code:
[Rui]
comment = Rui's Directory
path = /data/Rui
valid users = rui
public = no
writeable = yes
printable = no
notice "valid users = rui"! I also had to add the user rui to my linux box

Code:
# adduser rui -g users
and permissions to that user to read/write the files in /data/Rui

Hope this helps

Last edited by Covel; 05-15-2004 at 07:14 PM.
 
Old 05-16-2004, 01:47 PM   #3
johnp
Member
 
Registered: Apr 2004
Distribution: Fedora Code 19
Posts: 30

Original Poster
Rep: Reputation: 15
I got it working with this

[global]

workgroup = ENGLAND
netbios name = London
server string = Samba
encrypt passwords = yes
security = user
wins support = yes
log file = /var/log/samba.log
log level = 1
os level = 255

[apache]

path = /var/www
read only = no
valid users = john
browseable = yes
 
  


Reply



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 Can't See Linux Machine After Configuring Samba! movanns Linux - Networking 6 02-13-2014 01:52 AM
connecting samba to a windows 2003 active directory domain Jcrofton Linux - Networking 8 09-17-2006 06:07 PM
Samba: Home directory files do not appear in windows ryan12345 Linux - Networking 1 05-14-2005 02:57 AM
Setting up SAMBA with ADS toa Windows Active Directory llyr Linux - Software 3 09-11-2004 10:20 PM
About configuring Samba to work w/ Windows 2000 paranoia1980 Linux - Networking 11 07-13-2003 06:08 PM

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

All times are GMT -5. The time now is 04:49 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
Open Source Consulting | Domain Registration