-   Linux - Newbie (
-   -   connecting to windows workgroup using samba? (

linoob 10-23-2002 03:38 PM

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???

pclark 10-23-2002 05:53 PM

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?

linoob 10-23-2002 07:01 PM

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

linoob 10-23-2002 07:01 PM

the other computer is using windows XP...

pclark 10-23-2002 07:13 PM

What version of Linux are you using and are you using a GUI such as KDE or GNOME?

pclark 10-23-2002 07:34 PM

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 (
# Date: 2002/10/23 18:44:05
# Global parameters
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
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
comment = Temporary Files
path = /tmp
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
comment = LNXSERVICE cdrom
path = /mnt/cdrom
comment = Lnxservice floppy
path = /mnt/floppy
read only = No

linoob 10-23-2002 08:51 PM

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

pclark 10-23-2002 09:17 PM

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.

All times are GMT -5. The time now is 06:38 AM.