Integrate Lindows into your Windows network

When the Lindows OS developers were working with version 1.0 and readying version 2.0, I was extremely skeptical as to whether or not this operating system would find its way into the enterprise. With the release of Lindows OS 3.0, I think they've got a potential winner on their hands as long as it is approached with an open mind. Let's take a look at how you can slowly introduce this Linux-based operating system into your Windows environment without having a major upheaval of your existing infrastructure.

Join the Samba crowd
Lindows relies on an excellent open source package called Samba to interoperate with Windows domains. Samba is a mature offering and is able to offer a host of functionality ranging from making use of Windows resources with Linux machines to being able to replace Windows domain controllers in many instances.

Lindows comes with Samba installed and running. This fact allows you to browse the Windows network after a fresh installation. You will notice, however, that you are only able to browse workgroups. Your Windows domain is off limits to the default installation. To be able to browse the domain, you need to join the Lindows server to it. This is the same process that is required for Windows clients; to use the resources that a Windows domain has to offer, the client must join the domain.



Configuration changes are required
Before you can join the domain, you need to make some modifications to the Samba configuration file located at /etc/samba/smb.conf. Namely, Samba needs to be told to change its security mode to domain as well as the name of the domain of which it will become a member. I made changes to the smb.conf file using the nano editor, which I installed after the initial system setup. For your purposes, use any editor you like to make changes to the /etc/samba/smb.conf file. I recommend making a backup of the original just in case something goes wrong.

Lab configuration
For this article I am running a Windows 2000 Server as a domain controller for the domain named lab2kd.com. The server is named lab2k. On the workstation side, I am running a Lindows 3.0 OS on a 350-MHz Pentium II PC with 128 MB of RAM. The Lindows workstation is getting an IP address via a separate DHCP server, but both machines coexist on the 192.168.1.0/24 network.

Find the lines that begin with security, workgroup, and password server in the smb.conf file and change them to reflect the appropriate values as shown below.

security = domain
workgroup = LAB2KD
password server = *

The only difference between your installation and mine should be the workgroup because you will enter the name of your own Windows domain. If you are running Windows 2000 as a domain controller as I am, make sure to use the NetBIOS name rather than the fully qualified Windows 2000 domain name (in my case this is lab2kd.com). The password server = * line indicates that Samba will look for any domain controller in the domain. If you have problems, you can set this specifically to the name of a Windows 2000 domain controller.

Once these changes are made, the Samba services need to be restarted using the following entry from a command prompt:

/etc/init.d/samba restart

Join the domain
The previous steps prepared the Samba server for assimilation into the Windows collective. Now, it's time to actually join the domain. From a terminal window on the Lindows workstation, use the following command replacing LAB2KD with the name of your domain and LAB2K with the name of one of your Windows domain controllers. The -U indicates a Windows domain administrator account that is capable of adding machines to the domain. You will be prompted to enter this user's password during this process.

smbpasswd -j LAB2KD -r LAB2K -U administrator

Once you type in the password associated with the Windows administrator account, you should get a message that says something like "Joined domain LAB2KD." To make sure it worked, you can use Active Directory Users And Computers (ADUC) to see if there is a computer account listed for this domain

Browsing the Windows network
If you attempt to browse the Windows network from the Lindows workstation, it may still not work out as expected. Lindows needs to be told what Windows user to emulate. In other words, you need to be browsing with a user account that exists in the Windows domain. You can configure this information by choosing the Network File Sharing applet from the Lindows Start | Settings | Network menu as shown in Figure A.


Figure A
Starting the Network File Sharing applet on Lindows

The Network File Sharing applet takes three parameters: username, password, and domain name. For ease of demonstration, I will use the Windows administrator account from the Lindows machine, as shown in Figure B. Obviously, if you used Lindows on a user's desktop, you would want to use a less capable account.


Figure B
Configuring Lindows to browse with a Windows user account

Once you make this configuration change, you can browse the Windows domain as shown in Figure C. I have created a share on the Windows 2000 server named Shared for demonstration purposes.


Figure C
Browsing the Windows 2000 server lab2K

In this image, you can see that the Lindows machine is browsing the Windows server. One problem that I have yet to work out is the initial error message that comes up when I click on the Network Neighborhood icon on the Lindows workstation, which indicates that the Windows network (smb:/) is not available. However, typing smb://{workgroup | domain | server} does bring up the appropriate associated resources.

Printing
Right behind file sharing, printing is likely the second area in which administrators would like to be able to take advantage of existing Windows infrastructure while deploying an alternative operating system. Lindows can handle this as well by printing via a Windows print server just as a regular Windows client would do.

Setting up a printer device on Lindows to print to a physical printer on a Windows network was a very simple process. In fact, I was stunned at how easily and how quickly the process went. For starters, I have a Windows 2000 Server with an HP LaserJet 5000 Postscript printer configured and shared as HP5000PS. From there, everything happens on the Lindows box. From the Lindows desktop, open the printer wizard by double-clicking the Printers icon. Next, click on the Add Printer icon in the upper left hand corner of the window.

After the welcome screen, a screen will appear and you will be asked to choose the back-end selection. This determines how the Lindows machine will connect to the printer you wish to use. For my example, I chose the third option on the list, SMB Shared Printer (Windows), as shown in Figure D.


Figure D
Choosing the print method

The next step asks for a username and password combination to use in conjunction with the print method selected previously. Since most Windows 2000 installations disable the guest account as a security measure, you need to enter the username and password of a user who has rights to print on the Windows server. For my demonstration, I will use the administrator user as shown in Figure E.


Figure E
Provide a username and password for a Windows user.


After entering a username and password, you will be asked to provide the SMB printer settings for the printer you want to use. You will need to provide the workgroup/domain name, the server the printer is using, and the share name of the printer on that server (Figure F). If you can't remember all of the details, click the Scan button and browse the Windows network.

Figure F
Choosing the printer from the list of shared Windows printers

The next screen asks you to choose the printer manufacturer and model from a list. Not every printer is supported under Linux, but many are, as Figure G illustrates. For information on how HP printers are supported under Linux, visit the HP and Linux printing resource site.


Figure G
Select the right make and model of your printer.

Moving on, you will get to a screen that lets you test the printer and verify the settings. Clicking the Test button sends a test page to the printer. In my lab, this worked without a hitch. The next few screens of the printer wizard allow you to define banners, set quota limits, and assign access to the printer. Keep in mind that these settings only affect users printing from the Lindows system and don't affect the settings of the printer share on the Windows server. When the wizard is completed, you will be presented with a screen confirming the choices that you made in the wizard.

How about Office?
I was skeptical about Office integration, even after being told that both Office 97 and Office 2000 will run under Lindows using Wine. I downloaded and installed Wine using the Lindows Click-N-Run feature and then put my copy of Office 2000 Small Business into the Lindows machine's CD-ROM drive. I chose a typical installation and the installer started its tasks. When the process completed, icons for Word, Excel, and Outlook were placed on my Lindows programs menu.

Playing nice with Windows
The key to a successful desktop Linux rollout is getting it to play nice with the current Windows environment. This means being able to join Windows domains, use Windows resources, such as file shares and printers, and being able to share documents between Windows and Lindows systems without inconveniencing your users.

TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.

©2003 TechRepublic, Inc.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Refund for some Facebook investors http://t.co/tUUxRbJd

RT @zdnetaustralia: Is Windows Phone really the third challenger to Android and iOS? http://t.co/2V9xgN6d

Cloud inefficiency - Bad habits are hard to break | ZDNet http://t.co/j4pda3KC

30 servers to 7: BUPA redoes virtualisation http://t.co/EPL5pPpl via @zdnetaustralia

Refund for some Facebook investors http://t.co/TdKeV7y0

Research key to good apps: Westpac CIO http://t.co/tqHNyHs5

by http://t.co/vmlLt4bh: Refund for some Facebook investors: Morgan Stanley, the lead investment bank in Facebook... http://t.co/TZuND7bC

Refund for some Facebook investors: Morgan Stanley, the lead investment bank in Facebook's troubled initial publ... http://t.co/tmiz9zwu

Refund for some Facebook investors: Morgan Stanley, the lead investment bank in Facebook's troubled initial publ... http://t.co/g1t9N5Pb

IT Priorities: servers and storage http://t.co/E1U97jCk

RT @rladvisory: Video - Rob Livingstone @EVOLVECloud 'Getting cloud adoption right' - @zdnetaustralia http://t.co/G6GwvJCp http://t.co/nJrIY3vA @rladvisory

What's happening now with storage and servers? We delved into the area in our IT Priorities webinar series. http://t.co/XmLAsln8 ^ST

RT @rladvisory: ZDNet Video of my recent Executive Keynote presentation delivered at the EVOLVE.Cloud conference entitled...: http://t.co/2h9hEno2

IT Priorities: servers and storage: In November 2011, ZDNet Australia published the results of its IT Priorities... http://t.co/uOxpN90t

IT Priorities: servers and storage http://t.co/iQ6oT7qe

Accelerator targets 'clean-tech' start-ups http://t.co/8kGTxJGp via @zdnetaustralia

Westpac board goes paperless with iPads http://t.co/kdm26Ewr via @zdnetaustralia

Cloud TVRs stop in wake of TV Now ruling http://t.co/2hLRUvt6 via @zdnetaustralia

RT @WauloK: Two cloud-based TV recording services have been suspended after Optus TV Now. http://t.co/VomMRrRs // @techwebcast Beem is dead.

ZDNet Patch Monday ep137 - Removing the anonymity from Anonymous: http://t.co/E6Tn8vJr

ZDNet Patch Monday ep138 - Anonymous 'crippled': where to for hacktivism?: http://t.co/lbKew6Bo

ZDNet Patch Monday ep139 - War talk dominates AusCERT 2012: http://t.co/rUm22Zjm

ZDNet Patch Monday ep135 - iiNet wards off AFACT, but what next?: http://t.co/0xVdYm6i

ZDNet Patch Monday ep136 - Blackhole crimeware as a service here to stay: http://t.co/evnCUlsX

GoogleTV will revolutionize television once viewers understand it http://t.co/c4lEyb3a

Reading this article is like stepping back in time. If I was Paul Berryman I would hang my head in shame. How embarrassing!!! I can’t b...

1 hour ago by MikeSkoey on 30 servers to 7: BUPA redoes virtualisation

Phone cloning, maybe, but bill duplication? Tech-heads give verdict
http://t.co/aw5SNigN
#ozpolitics

The registration sticker provided a visual reminder to the driver to renew regardless of what happened to the renewal letter. The experie...

2 hours ago by dccharron on NSW ditches rego stickers for tech

"xfire: Why is telecommunications being treated different to roads, water and electricity?" Good question, my guess is AUS is far behind...

2 hours ago by ngoctranminh on Five pros and cons of the NBN

“@zdnetaustralia: Is Windows Phone really the third challenger to Android and iOS? http://t.co/Tr7ASra0 ”. It's different but fast and good

Can HP bounce back? http://t.co/TSlWjmrA

Thanks for the response Luke, Given that the quotes are accurate, then the person in charge of the Vic Health App needs to find another j...

2 hours ago by butterflyeffecs on Android fragmentation steers Vic Health

Social business in Australia http://t.co/aBuXFy40 . Australian businesses still laging behind with social business. Time to catch up!

Can Windows Phone bring a new challenge? #WindowsPhone http://t.co/m82nU7hK

Nice analogy. Another factor is whether you can find 50 people with powerful enough weapons. Minassian's argument is essentially that the...

2 hours ago by Mukimu on National Botnet Network coming: Earthwave

RT @digitaltasmania: @ZDNetAustralia #NBN's Tassie upgrade to cost $1.3m http://t.co/1nTbLUJv -Countdown begins for 1st Oppn. MP to misconstrue per unit cost

@ZDNetAustralia #NBN's Tassie upgrade to cost $1.3m http://t.co/1nTbLUJv -Countdown begins for 1st Oppn. MP to misconstrue per unit cost

RT @mosfreshmedia: Start-up accelerator targets cleantech 'Atlassians, BigCommerce' via @zdnetaustralia http://t.co/oho3oQSK @atpinnovations @hamishhawthorn

Can #HP bounce back?: HP's move to cut 27,000 jobs, reinvest in research and development (R&D) and generally get... http://t.co/dlgAhwxb

Can HP bounce back? http://t.co/qLlHB5FV

It's nice to see Tas finally get some decent internet connectivity, for too long Tas has been stooged on decent internet connectivity but...

2 hours ago by Jingles on NBN's Tassie upgrade to cost $1.3 million

Who is Luke Hartsuyker? He must be the Apprentice FUDster. As PaulPC has already said regional consumers want, deserve and are entitled...

3 hours ago by dickster on Regional review highlights NBN, mobile

Its good to see the NBN keeping up with the latest equipement & letting the people benefit from it. After all thats why it was a trial, ...

3 hours ago by fibretech on NBN's Tassie upgrade to cost $1.3 million

Shadow Minister for Regional Communications Luke Hartsuyker has got it wrong. Regional consumers want improved mobile services AND the NB...

4 hours ago by PaulPC on Regional review highlights NBN, mobile

Just remember that Google haven't broken any laws here, they're just doing what all their other multinational competitiors do; minimise t...

4 hours ago by Pachanga on Much ado about Google's tax

ルイヴィトン バッグ : http://www.lovebagjp.com/ Louis Vuitton bags, Louis Vuitton pretension nose about,Louis Vuitton daydre...

5 hours ago by bundLourb on Reservoir blogs: Fan fakes Tarantino diary

シャネル バッグ : http://www.bagssalejp.org/ Chanel trap,chanel shekels,gucci bags,direct purse,poor recent Louis Vuitton keep...

7 hours ago by bybrinkLync on Reservoir blogs: Fan fakes Tarantino diary

I guess but in both cases, dead body!

17 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

17 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

17 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

18 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

18 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

18 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

19 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

19 hours ago by Beta on Regional review highlights NBN, mobile

This story has been voted 12000 times in the last 24 hours!

23 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar