Solved

Linux File sharing on windows

Posted on 2004-04-19
4
524 Views
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.....
0
Comment
Question by:abbas1982
4 Comments
 

Accepted Solution

by:
gbusardo earned 25 total points
Comment Utility
Abbas1982,

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
0
 
LVL 1

Expert Comment

by:roeleboel
Comment Utility
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.
0
 
LVL 1

Expert Comment

by:Sachin_Yash
Comment Utility
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 :-
        smb:///
                 will show u what u shared by u'r m/c as well as other too..

                Try it ...
0
 

Author Comment

by:abbas1982
Comment Utility
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.......
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now