LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-18-2003, 11:18 AM   #1
Flipn
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Samba on mandrake 9.2


Hey guys.. Newbie question.. What is the easiest and best way to setup Samba on Mandrake 9.2 .... I want Madrake to be the server.. Thanks in advance



Flipn
 
Old 12-18-2003, 11:26 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Install samba from CD if not already.
Install swat webserver application from CD if not already.

Use Mandrake control center to start services at boot.

Configure smb.conf file using swat from your web browser.

See www.samba.org for documentation.
 
Old 12-18-2003, 01:30 PM   #3
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
I was given an example of a working smb.conf file to place in the /etc/samba directory. Here is a copy of my samba file. This will also allow your printing to be done from a windows machine. Replace all item between ( and ) and the ( and ) with the text you want to use.
---------------------------------------------
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
[global]
workgroup = (The workgroup name you want to use)
server string = (Your Server Description)
security = share
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
force group = (One of Your Groups)
force user = (One of Your Users)
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
# wins server = 192.168.0.250
printing = cups

# 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
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

; public = yes
; writable = true
; browseable = no
; available = ye

[Music]
browseable = true
path = /Music
public = true
guest only = true
writable = true
only user = no
comment = All Accounts

[Home]
browseable = true
path = /home
public = true
guest only = true
writable = true
only user = no
comment = All Accounts

[Backup]
browseable = true
path = /Backup
public = true
guest only = true
writable = true
only user = no
comment = All Accounts
 
  


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
samba for mandrake 10.1 jmill_1 Linux - Networking 1 09-04-2005 08:25 AM
Samba 3 on Mandrake 10 ffcnick Linux - Networking 6 10-18-2004 01:47 AM
samba and Mandrake 10.0 just_dan Linux - Newbie 2 09-12-2004 06:18 PM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 01:55 PM
Samba Mandrake 9.1 SchwipSchwap Linux - Newbie 2 05-11-2003 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:44 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