Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Using Linux & Samba as a PDC

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Using Linux & Samba as a PDC
Reply
 
Thread Tools
Old 07-11-2004, 16:16   #1
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Using Linux & Samba as a PDC

Hi, has anyone here had any experience of setting up Linux with Samba as a Primary Domain Controller for Windows XP systems and been sucessful? I would love to hear from you as I am trying to set it up right now, when trying to join the domain I get a box pop up asking for a username and password so I enter

username: graham
password: ****************************

and I get the error message:

---------------------------
Computer Name Changes
---------------------------
The following error occurred attempting to join the domain "HOME":
The RPC server is unavailable.
---------------------------
OK
---------------------------
It's obviously detecting the PDC there as Its asking for the username and password, and Im also able to get files off of it through My Network Places or by mapping a drive so my username and password must be correct. Has anyone any idea what is going on? smbd, nmbd and winbindd are the services running.

Thanks

Zeph
Graham M is offline   Reply With Quote
Advertisement
Old 07-11-2004, 17:20   #2
Plonking
Inactive
 
Join Date: Feb 2004
Location: Bournemouth
Age: 43
Services: BT Somethingorother
Posts: 470
Plonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to beholdPlonking is a splendid one to behold
Send a message via MSN to Plonking
Re: Using Linux & Samba as a PDC

I don't know much about setting it up as a PDC (having never tried it, lol), but have you tried the autoconfiguration program called SWAT? It runs from a web browser and there are lots of nice wizards and so on to help you set it up.

From memory, I think you can get to it by going to http://localhost:901, but SWAT needs to be running as a service first (I use xinetd in SuSE to do it, although in other distros I think it may be different).

Sorry I don't know anything more, hopefully this may be of some use

P
Plonking is offline   Reply With Quote
Old 07-11-2004, 22:39   #3
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

Yup ive tried SWAT, and Samba reckons its running as a PDC but I cant join the Domain
Graham M is offline   Reply With Quote
Old 07-11-2004, 23:27   #4
The_real_dj
Inactive
 
The_real_dj's Avatar
 
Join Date: Jun 2003
Location: Oldham
Age: 46
Services: 40 MB Sky BB with telephone and skyHD for TV :)
Posts: 320
The_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really nice
Re: Using Linux & Samba as a PDC

Its a long shot but you could give this a try, when xp tries to connect to a samba domain controller it kind of gets upset with security channels.
On the xp machine just edit the registry with the following key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Netlogon\Parameters]
"requiresignorseal"=dword:00000000
fingers crossed that should help.

If not have a nosey in your windows event logs and see if there is owt under there

DJ
The_real_dj is offline   Reply With Quote
Old 07-11-2004, 23:36   #5
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

OK this is odd, I already tried the above by the way but looking in my Event log I have the following:

Quote:
Warning - DHCP

Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 000D6107B0B9. The following error occurred:

The semaphore timeout period has expired. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Quote:
Error -DHCP

Your computer has lost the lease to its IP address 192.168.2.5 on the Network Card with network address 000D6107B0B9.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Both occur when I try to connect to the domain, any ideas? Why would joining an NT domain affect my DHCP configuration?
Graham M is offline   Reply With Quote
Old 07-11-2004, 23:45   #6
The_real_dj
Inactive
 
The_real_dj's Avatar
 
Join Date: Jun 2003
Location: Oldham
Age: 46
Services: 40 MB Sky BB with telephone and skyHD for TV :)
Posts: 320
The_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really niceThe_real_dj is just really nice
Re: Using Linux & Samba as a PDC

possible silly question but have you tried a static IP on the xp machine??
The_real_dj is offline   Reply With Quote
Old 08-11-2004, 11:08   #7
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

Woooooohooooo I love you DJ! Why does that work then?
Graham M is offline   Reply With Quote
Old 08-11-2004, 12:08   #8
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
Re: Using Linux & Samba as a PDC

doyou have a router serving your ip addys, is so could be that causing samba to hiccup.
Millay is offline   Reply With Quote
Old 08-11-2004, 12:18   #9
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

It must have been, as it's working now with a static address.
Graham M is offline   Reply With Quote
Old 08-11-2004, 13:13   #10
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
Re: Using Linux & Samba as a PDC

You may find that your linux samba box - win xp cant do the security unless linux is used as the DHCP server or you use static ip addys... im just guessing as never used samba before, always use windows for my PDC's
Millay is offline   Reply With Quote
Old 08-11-2004, 14:52   #11
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

OK next question maybe someone can help with?

How can I create a user called "Administrator" or whatever that has Administrator rights on the domain and on all the workstations?
Graham M is offline   Reply With Quote
Old 08-11-2004, 15:18   #12
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
Re: Using Linux & Samba as a PDC

Well as far as i remeber, if you are connected to the domain, the local machine picks up your user level from A/D (or whatevar samba uses) so if you are domain admin you will also be admin on that pc if looged on as such....
Millay is offline   Reply With Quote
Old 08-11-2004, 15:20   #13
JohnHorb
Guest
 
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
Re: Using Linux & Samba as a PDC

...I think only if Domain Admins are in the local admins group (which I think they are by default)
  Reply With Quote
Old 08-11-2004, 21:00   #14
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Using Linux & Samba as a PDC

Hmm no cant get it to work

Any more input please?
Graham M is offline   Reply With Quote
Old 09-11-2004, 11:55   #15
Millay
Inactive
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
Re: Using Linux & Samba as a PDC

What cant you get to work zeph... mind reading is not one of my skills.... is it the logging in problem still? if so whats hpaeening
Millay is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:42.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum