Sunday, November 08, 2009  
Google
Web pcquest.com

CIOL Network sites

Search by Issue | Sitemap | Advanced Search

• For most updated version of DQ TOP 20 issue, visit dqindia.com • Ad : Play and Plug ERP by IBM


 
    Enterprise Solutions
    Hands On
    ITstrategy

    Developer

    Tech Forum

    SMB Forum

    Trends

    Shootout

    Reviews
    Editorials
    Linux and Open Source
    Technology
    Extraedge

    IT Careers

    Vertical Focus

Subscribe to Print magazine.


now!


Newsletter

 

Home > > Linux Hands On > CD-Writing


CD-Writing




Continued from Page 1

Interacting with NT

You might ask yourself why adding Win NT or 2000 machines should be any different from adding Win 9x machines. However, there are significant differences in the SMB implementations between versions of Microsoft’s own operating systems. Even the password algorithms used by the two operating systems are different. Win 9x machines don’t actually participate in a Win NT domain the way NT does. The domain controller in this case is used purely for authentication.

If you want to use Win 2000 machines in a Samba domain, you’ll need to upgrade to Samba 2.0.7 (Zoot ships with 2.0.6, so you’ll have to download the updated RPMs). There are a few subtle changes in 2000, most of which have been addressed in this release. There are a few outstanding bugs though, but no show-stoppers. Note that Win 2000 is currently only supported in the backwards compatibility (with NT PDC) mode, and not in its native domain controller mode.

Adding a Samba server to a Win NT domain

To get a Samba server to join a Win NT domain, you must first create a machine account for the server in the PDC’s SAM (Security Accounting Manager) database. You can do this using the "Server Manager for Domains" utility on the PDC. The machine account is created using the netbios name of the Samba server, which is usually, but not necessarily, its host name.

Once you’ve created the machine account, you need to configure the smb.conf file. Apart from the standard configuration, you need to make the following changes:

workgroup = NTDOM (Assume that the domain name is NTDOM)

security = domain

password server = NTDOMPDC NTDOMBDC1 NTDOMBDC2

where NTDOMPDC is the name of the domain controller, NTDOMBDC[1,2] are the names of the backup domain controllers, and SAMBA is the netbios name of the samba server.

Now, before restarting the smbd daemons, give the command

# smbpasswd -j NTDOM -r NTDOMPDC

This command will create a file called SAMBA.NTDOM.mac in your /etc/ directory, containing the machine account password for the Samba server.

Assuming all goes well, you should get a message saying

smbpasswd : Joined domain NTDOM



Adding an NT server

Page(s)   1   2   3   4   

End of the article

PC Problems? Get a solution in 24 hours. Ask Tech Expert

Related CIOL links   External links  

--None--

 

none



Read Previous Linux Hands On...

   




Untitled Document



ZTE:Leading CDMA Technology


Extraordinary Networks:Freedom of Choice





Previous Stories

Remote Logins

Backups and Disaster Recovery

Unix Through Windows

Message boards

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



   
 

 
 

Magazine Subscription | RQS | Contact Us | Team PCQuest | Advertising - Print | jobs@cybermedia