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???
|
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?
|
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 |
the other computer is using windows XP...
|
What version of Linux are you using and are you using a GUI such as KDE or GNOME?
|
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 |
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 |
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 |
All times are GMT -5. The time now is 12:23 AM. |