LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2004, 07:30 AM   #1
sibtay
Member
 
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
Configuring Samba


I want to share files on a network between linux and windows systems

I have samba software but i dont know how to configure it can any one plz tell me
How is samba configured?

Thank you
 
Old 10-04-2004, 09:56 AM   #2
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
I think no one is going to tell u step by step procedure to configure samba , it is ever not good to learn in this way,

read the docs available at http://us1.samba.org/samba/ and man pages,

and then ask your queries?


return back??
 
Old 10-04-2004, 10:56 AM   #3
jackasslinux
LQ Newbie
 
Registered: Oct 2004
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
Something to get you started but it is important you just read up and it and learn.


1. Install Samba
2. edit the smb.conf file
3. add your workgroup name example ( MYGROUP)
4. add your name for the samba server ) netbios name = whatever
5. Set up a test share folder called myshare in the smb.conf (see smb.sample.conf file)
[global]

workgroup = MYGROUP
encrypt passwords = yes
netbios name = samtheserver

[myshare]

comment = home
path = /home/you can finish the path to any folder on your box
browseable = yes
writable = yes
create mode = 775
valid users = a user on your samba computer

Note: webmin or swat is an easy to use interface to set up run samba

6. Add a samba user or convert unix users to samba
# Create samba password file
File path is specified in smb.conf, or /etc/smbpasswd.

# cat /etc/passwd |sh mksmbpasswd.sh >/etc/smbpasswd
# smbpasswd -a username

7. Start the samba server.

1. Log in to a terminal as root.
2. Type: /etc/init.d/smb restart


8. Jump over to Window's land to access the drive remotely.(make sure you have Client for Microsoft Networks install and not family logon.

1. Fire up "Network Neighbourhood" (or "My Network Places").
2. Double-click on "Entire Network".
3. Double-click on "Microsoft Windows Network".
4. You should see the workgroup name "MYGROUP".
5. Double-click on the folder and explore
6. You should now see "home/your path".
7. Right-click on the home directory and select "Map Network Drive...".
8. This will choose a default network drive location (e.g. Z. Select "Reconnect at logon" and then click the link to " Connect using a different user name".
9. Enter the samba user name and password

_____________________________________________________________________
www.jackasslinux.com
 
Old 10-04-2004, 12:21 PM   #4
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Even an easier way to access folders with Samba is this: download webmin from www.webmin.com Install it on your fedora box (rpm -i <package>.rpm) and then open a browser from your windows box. enter the ip number of your linux box in the address bar. login as root with your root password. click on servers then on windows file sharing (samba). Create a file share folowing the instructions. Then in your linux box create a user (i.e. user) without password and then type form a console this command:
Code:
smbpasswd -a user
enter a password and then return to your windows pc. allow this user to access the made file share and - theoretically - it will work.

Let me know!
 
  


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
Configuring Samba alexr186 SUSE / openSUSE 1 10-18-2005 09:19 AM
Need ur help in configuring Samba safrout Linux - Networking 3 06-24-2004 04:04 AM
samba configuring nizmo Linux - Newbie 4 02-05-2003 02:03 PM
configuring samba raven Linux - Software 1 06-10-2002 07:56 AM
configuring samba gxd2639 Linux - Networking 2 03-13-2001 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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