Using Linux & Samba as a PDC
07-11-2004, 16:16
|
#1
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
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
|
|
|
07-11-2004, 17:20
|
#2
|
|
Inactive
Join Date: Feb 2004
Location: Bournemouth
Age: 43
Services: BT Somethingorother
Posts: 470
|
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
|
|
|
07-11-2004, 22:39
|
#3
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
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
|
|
|
07-11-2004, 23:27
|
#4
|
|
Inactive
Join Date: Jun 2003
Location: Oldham
Age: 46
Services: 40 MB Sky BB with telephone and skyHD for TV :)
Posts: 320
|
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
|
|
|
07-11-2004, 23:36
|
#5
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
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?
|
|
|
07-11-2004, 23:45
|
#6
|
|
Inactive
Join Date: Jun 2003
Location: Oldham
Age: 46
Services: 40 MB Sky BB with telephone and skyHD for TV :)
Posts: 320
|
Re: Using Linux & Samba as a PDC
possible silly question but have you tried a static IP on the xp machine??
|
|
|
08-11-2004, 11:08
|
#7
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: Using Linux & Samba as a PDC
Woooooohooooo I love you DJ!  Why does that work then?
|
|
|
08-11-2004, 12:08
|
#8
|
|
Inactive
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
|
Re: Using Linux & Samba as a PDC
doyou have a router serving your ip addys, is so could be that causing samba to hiccup.
|
|
|
08-11-2004, 12:18
|
#9
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: Using Linux & Samba as a PDC
It must have been, as it's working now with a static address.
|
|
|
08-11-2004, 13:13
|
#10
|
|
Inactive
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
|
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
|
|
|
08-11-2004, 14:52
|
#11
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
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?
|
|
|
08-11-2004, 15:18
|
#12
|
|
Inactive
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
|
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....
|
|
|
08-11-2004, 15:20
|
#13
|
|
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)
|
|
|
|
08-11-2004, 21:00
|
#14
|
|
Inactive
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: Using Linux & Samba as a PDC
Hmm no cant get it to work
Any more input please?
|
|
|
09-11-2004, 11:55
|
#15
|
|
Inactive
Join Date: Oct 2003
Location: Portsmouth
Age: 48
Posts: 1,689
|
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
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 23:55.
|