[Samba] Samba as PDC and Win XP Pro Machine Accounts

Brad Langhorst brad at langhorst.com
Mon May 6 07:19:03 GMT 2002


Fernando Maidana wrote:

> Hi Brad!
> Thanks for your help!!
> I try to configure de clientes to use the WINS server 192.168.1.1 in 
> the TCP/IP properties (Networking in the Control Panel) and the same 
> error occurs.  But I think that your method is pretty different.... 
> And I don't underestand it pretty well...
> The Machine IP (Windows XP Client) is 192.168.1.2 and is not using 
> DHCP, so the ip is Static.

not really - if you make all the settings manually then we should have 
the same result.

>  
>  
> How can I do to configure the DHCP as you suggest?

see below

>  
> option domain-name-servers 192.168.1.1;
> option subnet-mask 255.255.255.0;
> default-lease-time 6000;
> max-lease-time 72000;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
>   range 192.168.1.2 192.168.1.254;
>   option broadcast-address 192.168.1.255;
>   option routers 192.168.1.1;
>   option netbios-name-servers 192.168.1.1;
> }
> I don't underestand the previous statments... They are from the 
> smb.conf??? I think the answer is not.... But I'm newbie to Samba, 
> yesterday was my first day using it.... Is not bad for the first time 
> don't u think? :)

those statements are from dhcpd.conf - a separate program.
I didn't realize you were so new to things - you might have other 
simpler problems. See below for some suggestions

>  
> Another question, can I use Samba as DHCP server???
>  

Samba won't do DHCP by itself but's trivial to install a the dhcpd from 
the ISC for most distributions.
if you're using debian just type 'apt-get install dhcpd'
and modify the dhcpd.conf to look like the conf file I sent you.
You don't have to do this though - it should work fine with manual 
configuration.

> Well, thanks for your help again, and sorry to send you a personal 
> e-mail, but I can't find the way to post a reply in the mailing list!!! :(
>  

just do "reply all"
or type samba at samba.org in the cc line

> Fernando
>  
> Ps. Sorry about my english, is pretty bad.... Is not my native language.

I also speak spanish, but I think your english is better than my spanish

Are you "sure" that the registry patch worked?  It says that it does but 
I had to do it by hand using regedit
before.

Looking more carefully at your config file i think you need to set

domain logons=yes


brad

> Fernando Maidana wrote:
>
> >/Hi there!
> />/I'm having problems to join a Machine Acount to a Samba PDC using Samba
> />/2.2.3a
> />/Even if I apply the registry Patch XP reports the following error:
> />/
> />/-----------------
> />/Is possible that the Domain Name "FAMILIA" was a NetBios name.
> />/If is that the case, make sure that the Domain Name is correctly
> />/registred with WINS.
> />/
> />/If you're totaly sure that it isn't a NetBios name, the following
> />/information will help you to solve your DNS configuration problems.
> />/The following error was occured making a request to DNS for SRV used to
> />/find the Domain Controller in the FAMILIA Domain:
> />/
> />/The error was: (error code 0x000005B4 ERROR_TIMEOUT)
> />/
> />/ 
> />/
> /try configuring the clients to use the WINS server
> 192.168.1.1 as well
>
> you can do this by dhcp like this
>
> option domain-name-servers 192.168.1.1;
> option subnet-mask 255.255.255.0;
> default-lease-time 6000;
> max-lease-time 72000;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
>   range 192.168.1.2 192.168.1.254;
>   option broadcast-address 192.168.1.255;
>   option routers 192.168.1.1;
>   option netbios-name-servers 192.168.1.1;
> }
>
>







More information about the samba mailing list