#1  
Old 6th March 2008, 08:19
pravinkharche pravinkharche is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Post how to make share folder

how can i make share folder on command line in linux.
so that the folder can see on lan
Reply With Quote
Sponsored Links
  #2  
Old 6th March 2008, 14:11
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default

Quote:
Originally Posted by pravinkharche
how can i make share folder on command line in linux.
so that the folder can see on lan
You will need to configure samba give a name like "public". Then give it the appropriate permissions.
Reply With Quote
  #3  
Old 6th March 2008, 14:36
pravinkharche pravinkharche is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Post make share folder

thank u pcburner
i m new to samba and i dont know how to configure it.. can u tell me more detail
thanks
pravin
Reply With Quote
  #4  
Old 6th March 2008, 14:59
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default A very simple but unsecure script for samba

First things first, copy your original smb.conf to your home directory
( this is Fedora core not sure if works for all Distro's)
cp /etc/samba/smb.conf /home/<your username>/smb.conf.old

then edit smb.conf with what I provided below


# Global parameters

[global]
workgroup = <your workgroup name>
netbios name = < the name that you call this server>
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = 192.168.1. /255.255.255.0
encrypt passwords = no
smb passwd file = /etc/smbpasswd
wins support = yes
name resolve order = wins hosts lmhosts bcast


[Public Folder]
comment = Public Stuff
path = /home/public
guest ok =yes
public = yes
writable = yes
printable = no

Also make sure that samba is running /etc/init.d/smb start and if it is running then restart it
/etc/init.d/smb restart
and also make sure the firewall is configured to permit samba

If this doesn't work for you then use google and this site for more information.

Last edited by pcburner; 6th March 2008 at 15:03.
Reply With Quote
  #5  
Old 6th March 2008, 15:08
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
 
Default

Quote:
Originally Posted by pravinkharche
thank u pcburner
i m new to samba and i dont know how to configure it.. can u tell me more detail
thanks
pravin
here check out this site as well.

http://www-jerry.oit.duke.edu/linux/...mba_howto.html
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make visible folder on the web? lano Server Operation 2 7th October 2007 19:52
make single folder viewable omni General 1 11th July 2007 17:18
share /var/spool/mail folder zaqavis Server Operation 7 28th June 2007 21:09
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55


All times are GMT +2. The time now is 06:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.