LinuxQuestions.org
Review your favorite Linux distribution.
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 10-01-2003, 06:33 AM   #1
MattLaw
Member
 
Registered: Sep 2003
Posts: 34

Rep: Reputation: 15
smb.conf file


Hi, i have a network set up and i want to use samba to share the home directories between 3 different computers. I was wondering if anyone would know what would need to go into the smb.conf file in order to do this? And also would i need to edit the smbpasswd or any other file?

Thanks for any help,
Matthew
 
Old 10-01-2003, 10:09 AM   #2
rufius
Member
 
Registered: Oct 2002
Location: Miami, FL
Distribution: Ubuntu
Posts: 184

Rep: Reputation: 30
PHP Code:

[global]
    
workgroup blackbox
    netbios name 
black
    domain logons 
yes
    dns proxy 
no
    security 
user
    encrypt passwords 
yes
    server string 
Samba Server %v
    log file 
= /var/log/samba/log.m%
    
max log size 50
    log level 
2
    socket options 
TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
    wins support 
true
    smb passwd file 
= /etc/samba/smbpasswd
    load printers 
yes
    printing 
cups 
    printcap name 
cups
    lock directory 
= /var/lock/samba
    
use client driver yes
[homes]
    public = 
no
    browseable 
no
[you]
    
dir = /home/you
    valid users 
you
    browseable 
no
    create mask 
0755 
And you'll need to create the equivalent users in Linux as well as sync them to the smbpasswd file as well as make them samba users. How to do this escapes me at the moment but just google the samba docs.
 
Old 10-01-2003, 10:26 AM   #3
MattLaw
Member
 
Registered: Sep 2003
Posts: 34

Original Poster
Rep: Reputation: 15
Smile

Thanks a million rufius, will try
 
  


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
Help w/ smb.conf file spelltoronto Linux - Newbie 8 08-27-2005 08:35 AM
What is wrong with my smb.conf file? Razbad Linux - Networking 7 04-22-2005 08:07 AM
Promblem with the smb.conf file Junior24 Linux - Newbie 3 10-27-2004 04:52 PM
smb.conf file. vexer Linux - Networking 2 10-17-2004 03:42 AM
Can I still use my old smb.conf file? jspaceman Linux - Networking 2 10-01-2003 11:55 PM

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

All times are GMT -5. The time now is 06:26 AM.

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