LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-27-2004, 10:33 PM   #1
benobi
LQ Newbie
 
Registered: May 2004
Posts: 18

Rep: Reputation: 0
Samba Primary Domain Controller for a Windows XP network


Currently, I'm having a problem with my Windows XP workgroup. I have several computers in my household (around 9 or 10 at times). I have a print server on this workgroup as well. Hardware wise, I have a router that does all the DHCP stuff, and a bunch of 4 or 5 port switches connected to it splitting off connections throughout the house. I have a Mandrake box that I use to play around with Linux, which is connected to this network as well.

My uncle travels back and forth between home and his work. At work, he has to join a different workgroup at work. When he comes home, he switches back to our workgroup. When he does this, he somehow loses access to all our shared folders as well as the print server, which is bs because when I shared my folders I made sure that folder had "Everyone" access. On top of that, he can't print which is his primary concern. He does however have Internet access when he jacks into our network.

Anyway, my friend said windows workgroups suck and suggested I set up a primary domain controller, and switch from a workgroup to a domain. He told me windows server 2003 can do this pretty easily with a wizard. However I don't feel like shelling out thousands of bucks for the server edition of windows. I then found out Samba can become the PDC for a windows xp domain. I found a few walkthroughs and I'm almost ready to try to set it up. Before I attempt to set up a PDC with Samba, I have a few concerns:

1. Will this even solve my problem?

2. I'm assuming the PDC has to be sucking electricity 24/7, if the PDC goes down, will the people in my household still be able to log into their respective computers? If they can't log in, can they still use their computers to do word processing, etc? Will they still have Internet access through the router?

3. My printer connected to the print server is not supported by Mandrake. It is supported in Windows. Currently I can print to this printer through my Windows boxes. If I set up a PDC using Mandrake with Samba installed, can I still print to my print server?
 
Old 10-28-2004, 02:02 AM   #2
neilman
Member
 
Registered: Oct 2004
Location: Northville, MI
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
Just to be clear, your main problem at hand is: your uncle logs off his work network, and when he comes over to your house and connect to your home network, he cannot access certain resources, like shared drives and printers, correct?

What is the name of the workgroup that he joins at work? Is it named WORKGROUP? Also, what is the name of your Windows workgroup -- is it WORKGROUP? Also, what current solves the problem for your uncle? Does he have to do a reboot/restart of his notebook in order to access your resources, or is he cut off all together regardless of what you try?

When you mention that your uncle still has Internet access, that simply means that he is being granted a DHCP lease by your router. The gateway IP is being set, and he can reach the outside world. The crux of your problem lies in the fact that Windows sharing is unpredictable, regardless of hetero or homogeneous network (same client OS intalls or not) [that is my finding, at least .. I'm sure you've all experienced the I can't print over the network problem].
 
Old 10-28-2004, 02:36 AM   #3
benobi
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Yah pretty much. Our workgroup name is WORKGROUP. Not sure what his workgroup name is at work. He switches back and he doesn't have access to public (stuff with "everyone" access) resources (sometimes it takes a while before he can even see stuff in "My Network Places", he can't access the stuff even after seeing it). To fix it, basically involves a lot of random stuff. I run the "set up home or office network" wizard a few times, repair his IP, etc. I'm not sure exactly which step fixes it, which is quite irritating.

So I'm thinking of setting up a Domain instead of a Workgroup. And I'm really concerned about 3 things:

1. Will this even solve my problem?

2. I'm assuming the PDC has to be sucking electricity 24/7, if the PDC goes down, will the people in my household still be able to log into their respective computers? If they can't log in, can they still use their computers to do word processing, etc? Will they still have Internet access through the router?

3. My printer connected to the print server is not supported by Mandrake. It is supported in Windows. Currently I can print to this printer through my Windows boxes. If I set up a PDC using Mandrake with Samba installed, can I still print to my print server?
 
Old 10-28-2004, 08:11 AM   #4
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Quote:
Originally posted by benobi

1. Will this even solve my problem?

2. I'm assuming the PDC has to be sucking electricity 24/7, if the PDC goes down, will the people in my household still be able to log into their respective computers? If they can't log in, can they still use their computers to do word processing, etc? Will they still have Internet access through the router?

3. My printer connected to the print server is not supported by Mandrake. It is supported in Windows. Currently I can print to this printer through my Windows boxes. If I set up a PDC using Mandrake with Samba installed, can I still print to my print server?
1. If you put shareable files on the PDC then you can control access to these using Samba very effectively. For XP to be able to log into domain it has to be XP Pro - XP Home doesn't have the domain stuff in it, however, you can still browse and attach to domain resources with Network Neighbourhood using a valid username/password so it's not the end of the world.

2. What the domain does is add another object to log into - you still have local users and passwords so you can still use your PCs with the PDC off but obviously can't access resources on the PDC.

3. You can still use Windows sharing on your printers - all you do is to define the allowable users as 'validated domain members' which then allows other machines to use it provided they are logged into the domain. You only need linux drivers if you want to print from the PDC itself.

I use Samba 2.2.8a as a PDC on a mixed WinMe/Win2K/WinXP network - there are a few gotchas you need to know before you start.

Good luck
 
Old 11-19-2004, 03:21 PM   #5
FiveFlat
Member
 
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Rep: Reputation: 15
On a side note - you can print from your linux box if you have a dedicated print server (i.e. linksys or netgear print server box)
Just use CUPS and type in the IP address you assigned the server box and you're all set.
I've done it several times.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows primary domain controller with samba 3.x giorgiotheone Mandriva 1 07-04-2011 07:02 AM
RedHat Primary Domain controller Prakaash Linux - Networking 4 07-04-2011 07:00 AM
Samba as Primary Domain Controller for windows network hamish Linux - Networking 5 07-26-2005 01:54 PM
Samba Domain Controller for windows XP dickohead Linux - Networking 9 05-08-2004 11:11 PM
Samba as a windows domain controller twsnnva Linux - Networking 1 10-30-2003 03:26 PM


All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration