Wednesday, May 16, 2012  
Google
Web pcquest.com

CIOL Network sites

Search by Issue | Sitemap | Advanced Search




 
    Enterprise Solutions
    IT Projects
    Hands On
    ITstrategy
    Developer
    Tech Forum
    SMB Forum   
    Trends
    Shootout
    Reviews
    Editorials
    Linux and Open Source
    Technology
    Extraedge
    IT Careers
    Vertical Focus
    News & Launches
    Hot downloads
Untitled-2


 

Home > Linux > Linux File and Print Server


Linux File and Print Server

Continued from Page 3

Note: This is only one of many steps to get password encryption to work. The simplest way to get around this issue (if you don’t have a Win NT server in your network) is to disable the encrypted passwords option in Windows. To do this, insert a Windows or DOS formatted floppy disk into the A drive (OK, the /dev/fd0 drive), and run the following command: This is only one of many steps to get password encryption to work. The simplest way to get around this issue (if you don’t have a Win NT server in your network) is to disable the encrypted passwords option in Windows. To do this, insert a Windows or DOS formatted floppy disk into the A drive (OK, the /dev/fd0 drive), and run the following command:

mcopy /usr/doc/samba-2.0.2/docs/Win95_PlainPassword.reg a:

Now insert this disk in drive A of every Win 9x machine, open the drive through My Computer and double click on the .reg file. Then reboot the machine, and Windows will no longer use encrypted passwords by default (though it will use them if a server requests it).

  • Save the file by pressing Ctrl-KX.
    You will be returned to the shell prompt You will be returned to the shell prompt

And that’s it. Now all you need to do is restart the SMB services with the command:

/etc/rc.d/init.d/smb restart

Your server is now ready for business.

The setup outline above is suitable for LANs where you don’t have a Win NT machine acting as a PDC. If you already have a domain logon by a Win NT machine, you can set up your Samba server to participate in the network with full authentication being performed by the PDC. Adding support for this involves a few additional steps, which we’ll get to in a moment.

Using SWAT

SWAT is a Web-based, fully graphical interface to the Samba configuration file. It’s available only on Samba version 2 and above. Once you have Samba installed, you can access it at http://<yourmachinename>:901.

Once you have SWAT running in front of you, spend some time reading the various articles that are available from the first (home) page. Pay attention to the article "Joining an NT Domain with Samba 2.0" appearing at the bottom of the list. It details the steps you need to take to make your Linux machine and Samba join the Win NT domain, so that users are validated not by the Linux box but by the Win NT server.

SWAT additionally allows you to perform tasks such as restarting the Samba daemons remotely each time you modify the configuration file.

SWAT provides two basic views to each set of entries it allows you to edit: default and advanced. In many cases, you’ll be able to make configuration changes from within the default view, but a new setup generally requires that you modify settings in the advanced view. Don’t feel intimidated by the sheer number of options available in the advanced view. The essential changes that you are required to make to a default configuration have been outlined above. Once you have made the necessary changes, click on the "commit changes" button, and restart the smb daemon.

Samba is an extremely complex piece of software, and it will take you time to learn the intricacies of it. What is described here is no more than a kick-start to get you going the first time. Extensive documentation is available, on the Web as well as with your Red Hat 5.2 installation in the /usr/doc directory.


Page(s)   1   2   3   4   

End of the article

Related CIOL Network links   External links  

None

 

none



Read Previous Linux...

   







PCQuest Fourm






Previous Stories

Backup in Linux

A Transparent Proxy With Squid

Linux@Play

Message boards

Discuss this and many other IT topics at the
CIOL message board






   
 

 
 

Magazine Subscription | RQS | Contact Us | Team PCQuest | Media Kit | jobs@cybermedia