LinuxQuestions.org
Register a domain and help support LQ
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 10-23-2002, 02:38 PM   #1
linoob
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 8.0
Posts: 14

Rep: Reputation: 0
connecting to windows workgroup using samba?


i just got samba installed, i was told to use it for file sharing on my home network with a workgroup...but now i want to know how to actually connect to the other computer on my network. Like what are some of the commands one would use to connect/browse???
 
Old 10-23-2002, 04:53 PM   #2
pclark
LQ Newbie
 
Registered: Oct 2002
Location: Franklin Lakes, NJ
Distribution: Redhat 7.2
Posts: 10

Rep: Reputation: 0
What operating systems are the other computers using? Have you set up your Samba configuration file? Have you added all the other computers as users on your Linux box in the same workgroup?
 
Old 10-23-2002, 06:01 PM   #3
linoob
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
how do add the other users to the workgroup?
im assuming in the smb.conf file, but what do you use? the computer name? or IP address or...???
btw im connected to the internet and just have one other computer connected to the workgroup thru a simple hub
thanks
 
Old 10-23-2002, 06:01 PM   #4
linoob
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
the other computer is using windows XP...
 
Old 10-23-2002, 06:13 PM   #5
pclark
LQ Newbie
 
Registered: Oct 2002
Location: Franklin Lakes, NJ
Distribution: Redhat 7.2
Posts: 10

Rep: Reputation: 0
What version of Linux are you using and are you using a GUI such as KDE or GNOME?
 
Old 10-23-2002, 06:34 PM   #6
pclark
LQ Newbie
 
Registered: Oct 2002
Location: Franklin Lakes, NJ
Distribution: Redhat 7.2
Posts: 10

Rep: Reputation: 0
I use the user manager in KDE on Redhat 7.2. You just open it and create a new group (same group as the XP box) and then add the XP box's computer name as a new user and in the properties for this user under groups check the group name you created. I say add the XP's computer name because the user name on the XP might not work. It didn't for me and I had to add a new user to the windows machines using the computer name.
I used Samba SWAT to set up my samba configuration file as it's the easiest, but don't edit the file manually if you use it as it will mess up the one created by SWAT. I have six Windows machines (Me and 2000 Pro) served by my Linux box using Samba. Below is my Samba configuration file if it will help.

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/23 18:44:05
# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
encrypt passwords = Yes
map to guest = Bad Password
root directory = /
password level = 8
username level = 10
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 should be on line above; no room)
domain logons = Yes
wins proxy = Yes
wins support = Yes
hosts allow = 192.168.0. 127.
hosts deny = none
printing = lprng
preserve case = No
short preserve case = No
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary Files
path = /tmp
[public]
comment = Public Stuff
path = /home/samba
username = DAD, MOKRAY, PHILIP, JMOKRAY, DANIELA, NATHANIEL (should be on line above; no room)
read only = No
guest ok = Yes
[cdrom]
comment = LNXSERVICE cdrom
path = /mnt/cdrom
[floppy]
comment = Lnxservice floppy
path = /mnt/floppy
read only = No
 
Old 10-23-2002, 07:51 PM   #7
linoob
LQ Newbie
 
Registered: Oct 2002
Distribution: Red Hat 8.0
Posts: 14

Original Poster
Rep: Reputation: 0
im using KDE RedHat 8.0
i had this all working before like a year ago, but i totally forget how to do everything, like what are some commands for SAMBA?
i cant remember anything
 
Old 10-23-2002, 08:17 PM   #8
pclark
LQ Newbie
 
Registered: Oct 2002
Location: Franklin Lakes, NJ
Distribution: Redhat 7.2
Posts: 10

Rep: Reputation: 0
Once you have Samba configured and running you don't command it to do anything. It just does it's thing in the background. I get my e-mail on a windows machine, but I have all my documentation for the Samba Server in Kword on my Linux box.
If you e-mail me and you have Kword on your machine I'll send it to you. Otherwise I'm putting into Word for another guy on the Newbie forum and I can send it to you as well.

clarkp@optonline.net
 
  


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
Connecting to Linux box from Windows with Samba Tylerious Linux - Software 7 10-04-2005 08:28 AM
Samba on a windows xp home workgroup eladla Linux - Networking 1 07-03-2004 03:09 PM
Can't browse Windows Workgroup due to Samba? CanadianSlacker Linux - General 4 05-07-2004 06:49 PM
Risking Death: Connecting to M$ Workgroup Ju Deddo Koinu Linux - Networking 13 05-03-2003 03:19 PM
Connecting to Samba Server from Windows explorer Linux - Networking 7 03-16-2003 05:26 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
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