LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2003, 05:04 AM   #1
scialom
LQ Newbie
 
Registered: Jul 2003
Posts: 29

Rep: Reputation: 15
Samba question


Hi I set up Samba.

I try to share the /etc folder

I put in the conf file this:
[etc]
read only = No
browseable = Yes


On my win machine I see a the etc folder, but it is not the one that I want.

Any ideas?
Assaf
 
Old 08-14-2003, 05:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you have not provided a path.

but can i just try and stop you now... this is a VERY VERY VERY bad idea.... please please stop trying to share your critical information on a network.
 
Old 08-14-2003, 05:28 AM   #3
scialom
LQ Newbie
 
Registered: Jul 2003
Posts: 29

Original Poster
Rep: Reputation: 15
I try also /etc and it is still not working.

I know it is not the best idea, but this is internal network behind firewall, and I need it for backup. I have a daily task that backup the mysql db. And I want to backup this backup on the main backup server (running on windows)

A
 
Old 08-14-2003, 06:03 AM   #4
Bikerpete
Member
 
Registered: Jun 2003
Location: Germany
Distribution: OpenSuSE, SLES, Debian, Ubuntu, Eisfair
Posts: 79

Rep: Reputation: 15
Try out this:

[global]
workgroup = MYNET.ALL #Name of workgroup
interfaces = eth1 192.168.1.1/255.255.255.0 #NIC for Net
os level = 65 #Important for Windows XP
server string = Samba Server
encrypt passwords = Yes
security = SHARE
smb passwd file = etc/samba/smbpasswd
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
load printers = No
kernel oplocks = No
guest account = yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
path = /home/user/public #user = login-name of user
read only = No
create mask = 0640
directory mask = 0750
guest ok = Yes



[gast]
comment = Gastverzeichnis
path = /tmp/gast/
read only = No
guest ok = Yes


but never share the /etc folder !!!

Remember, that the user must have the rights to get access to that folder.

CU
Pete
 
  


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 smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Samba question Ryknow215 Linux - General 3 02-23-2004 06:11 PM
Samba question Marklar Linux - Networking 30 01-02-2004 03:44 PM
A Samba Question? gsmonk Linux - Networking 2 08-20-2003 09:14 AM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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