LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   networking linux to a windows network? (https://www.linuxquestions.org/questions/linux-newbie-8/networking-linux-to-a-windows-network-137413/)

farneyboy 01-22-2004 07:42 AM

networking linux to a windows network?
 
I feel like an idiot asking this question. I am trying to network a linux box to a windows network. Is there a step-by-step guide to doing this.

I know I have to edit the samba file by using webmin. But what do I do before this. Is there a fool proof guide (tutorials etc) to networking linux to windows?

Would appreciate any feedback. Cheers.

Ostemanden 01-22-2004 08:04 AM

I am having the same problem... Just following along here :)

ter_roshak 01-22-2004 08:19 AM

I think you might mean edit your Samba file using SWAT, (samba web administration tool). What you would do in that case is connect to your localhost on port 901. I would recommend that you take a look at the SWAT interface and see if you can't figure some of it out, it's very well done.

Josh

I've never used webmin, so I don't know if it has some Samba admin capabilities.

sick-o-windoze 01-22-2004 08:37 AM

Suggestions:
1. put your distribution in your user profile so others can see what you're working with.
2. Ask a more specific question so we can help. Are you sharing a resource from Linux or trying to connect from Linux to a Windows box. Very different things.
3. Lots and lots of stuff on the web. Google Linux +network +share +setup
4. try Linneighborhood

farneyboy 01-22-2004 09:27 AM

Want to use the Linux box as server
 
Want to use the Linux box as a test server for websites - for the small Windows network only. Want to be able to transfer files from windows machines to Linux box. The office runs a small Windows network and I want to add a Linux box. Is it just a matter of getting a network card and using SWAT to edit Samba?

slapshotct 01-22-2004 09:51 AM

If you are just trying to create a share, locate the /etc/samba/smb.conf file and open it for editing. The descriptions for each option in that file are very good! Look to change the following:

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = mycowrkgrp

# server string is the equivalent of the NT Description field
server string = Samba Server

hosts allow = 192.168.1. 192.168.2. 127.
#The above only allows internal clients||change this to reflect your ip scheme - Notice for 192.168.1.0/24, I only needed to put in 192.168.1. -- keep that in mind when changing these values

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = 192.168.1.250/24 192.168.2.1/24

-----------------
And here is a share definition to create a share called media
-----------------
[media]
path = /usr/public/media
public = yes
writable = yes
printable = no


---------------------------------------------------

Ok, if you just change the above in your smb.conf file to look like mine (with your data provided) you should be fine. Create some users in Samba with smbadduser and smbpasswd, restart samba and you are good to go.

Remember.. what I just gave you really provides no user level security! This will give you a share so you can get started.


All times are GMT -5. The time now is 11:19 PM.