LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba question (https://www.linuxquestions.org/questions/linux-software-2/samba-question-81877/)

scialom 08-14-2003 05:04 AM

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

acid_kewpie 08-14-2003 05:13 AM

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.

scialom 08-14-2003 05:28 AM

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

Bikerpete 08-14-2003 06:03 AM

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 !!!:tisk:

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

CU
Pete


All times are GMT -5. The time now is 07:32 PM.