LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-16-2004, 07:24 AM   #1
Tendernuts
LQ Newbie
 
Registered: Aug 2003
Location: Leeds, UK
Posts: 5

Rep: Reputation: 0
Help a noob with samba! get good karma and free money*


*one part of this statement not true

OK then I've played about with samba but i'm stuck now.... I've read a couple of howto's and to be fair understood most of it but i'm still no wiser. I have a drive on my Linux Box (Mandrake 9.2) that i want to share with the windo$e boxes in the house (XP Pro mainly). Now the windo$e boxes can see the machine but cant see the shared drive. What do I need to add to the conf files to get it to work? the drive i need to share is /mnt/storage/ and all the folders files beneath it and it could do with being read write......

Ta in advance

Al (Noob)
 
Old 03-16-2004, 07:33 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
may we have a look at your /etc/samba/smb.conf? have you created valid users

smbpasswd -a username

if everything has been setup properly, it shouldn't be tough to share a directory.

[storage]
comment = storage
path = /mnt/storage
public = yes
browsable = yes
writeable = yes

hope that helps.
good luck.
 
Old 03-16-2004, 08:01 AM   #3
Tendernuts
LQ Newbie
 
Registered: Aug 2003
Location: Leeds, UK
Posts: 5

Original Poster
Rep: Reputation: 0
ahh a man who speaks sense i will try this as soon as i get back to that machine i'll keep you informed
Al
 
Old 03-16-2004, 04:51 PM   #4
Tendernuts
LQ Newbie
 
Registered: Aug 2003
Location: Leeds, UK
Posts: 5

Original Poster
Rep: Reputation: 0
it looks like this:

;*******************section global*****************
[global]
workgroup = linux
server string = LINUXBOX
printcap name = cups
load printers = yes
printing = cups
printer admin = @adm
log file = /var/log/samba/log.%m
max log size = 50
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = True
writable = no
;*******************section printers*****************
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
;*******************section print$*****************
[print$]
path = /var/lib/samba/printers
browseable = yes
read only = yes
write list = @adm root
guest ok = yes
;*******************section pdf-generator*****************
[pdf-generator]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I &
;*******************section pdf-screen*****************
[pdf-screen]
copy = pdf-generator
comment = PDF Generator - Screen quality (only valid users)
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
;*******************section pdf-printer*****************
[pdf-printer]
copy = pdf-generator
comment = PDF Generator - Print quality (only valid users)
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
;*******************section pdf-prepress*****************
[pdf-prepress]
copy = pdf-generator
comment = PDF Generator - PrePress quality (only valid users)
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
;***********************storage?**************************
[storage]
comment = storage
path = /mnt/storage
public = yes
browsable = yes
writeable = ye

Last edited by Tendernuts; 03-16-2004 at 04:53 PM.
 
Old 03-16-2004, 05:01 PM   #5
Tendernuts
LQ Newbie
 
Registered: Aug 2003
Location: Leeds, UK
Posts: 5

Original Poster
Rep: Reputation: 0
w00t an indeed yay it worked..... Thank you very much! Does tis mean I'm not a n00b anymore?
 
Old 03-16-2004, 05:31 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
your welcome. we are all noobs in one way or another. there's always something new to learn.
good luck.
 
  


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
Any good noob friendly reads? AlphaSigmaOne Slackware 9 09-18-2005 07:10 PM
Good Linux mag for a NOOB ? snjbrian Linux - General 8 10-01-2004 07:42 AM
Free, free,FREE=? no money, = Freedom? murshed Linux - Newbie 8 01-20-2003 08:01 AM
Free Software Foundation needs money? bxb32001 Linux - General 4 09-24-2002 09:24 AM
karma/voting system goneaway LQ Suggestions & Feedback 2 02-22-2002 09:02 AM


All times are GMT -5. The time now is 02:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration