Linux File sharing on windows

Posted on 2004-04-19
Medium Priority
Last Modified: 2010-03-18
I am using Red Hat Linux 8.0. In my office every PC is running windows 98/2000 and the server(domain) is running windows 2000 server. I want to share files on my linux system with the windows PC's. I cannot logon to the windows domain but my linux system is receiving IP from the domain. Please help.....
Question by:abbas1982

Accepted Solution

gbusardo earned 100 total points
ID: 10859853

You should use Samba - which is included with Red Hat Linux 8.0

To get you started:

1) Edit smb.conf in (most likely) your /etc/samba/ directory.
2) Near the top of the smb.conf file, there is a declaration for your workgroup name.
3) On the bottom of the smb.conf file, there are some sample shares.
4) Once at least one share is activated, you can start samba by typing (as root) service smb start
5) Once samba is started, you can browse the network neighborhood and you will most likely see your shares.

For an in-detail reference on Samba, check out http://linux.web.cern.ch/linux/cel3/docs/rhel-sag-en-3/ch-samba.html
Despite the different distribution, you should find that reference useful.

Let me know if you need more help.

- Gerry

Expert Comment

ID: 10860962
Do also fill in the wins-settings in smb.conf: enable samba as a wins-client & give it the ip of the wins-server, this should resolve problems with shares on other subnets.

Expert Comment

ID: 10866902
HI Abbas !!!

              For the file sharing on diff. platform with Linux u have to use SAMBA. For the Samba configuration u have to make few changes ....these changes r as follows :-

               1. edit .conf file
                    a. Change workgroup = "u'r_workgpname".
                    b. remove comment from host allow (i.e. allow hosts which u want example 192.168.0. 245 (just leave a space in bet'wn your m/c no. in this case before 245.
                    c. goto [home] & uncomment total [tmp] this is your name which will display on the screen when u start network nebourhood & in additional give the permission say:-    browseable=yes & read only=yes

             2. Normally create the samba user by using
                   #smbpasswd -q "username"
                      Linux will ask u for the password give it.
             3. Start the SAMBA Service...
               To see what is shared by your m/c just give command:
                    #smbclient -L localhost

               4. INTO GUI just press ' Alt+F2 ' & type 'Nautilus'
 will open the browser
                  Here u have to type simply :-
                 will show u what u shared by u'r m/c as well as other too..

                Try it ...

Author Comment

ID: 10880458
ThankYou Gerry and all of you for helping.
I'll be very happy if you also tell me how to make the Red Hat Linux 8.0 a domain and Client PC's running Windows 98/2000 log on to it with user name and password. Also if you can tell me some Linux to Windows and Windows to Linux networking web sites which can tell me what ADS is used in Linux or equivalent.

Thanks Again.......

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question