Adding a NT BDC to the Samba PDC

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Apr 13 03:09:16 GMT 2000


oh, that's funny.  sorry, i never tried that.  i _think_ we are missing
some of the sam sync APIs.

On Thu, 13 Apr 2000, Oliver Stockhammer wrote:

> Hello,
> 	I am attempting to install a windows NT BDC on my Samba Controlled
> domain.  When I install the NT BDC, it crashes hard when I add the machine
> to the domain.  Basically it gives me a fatal error during
> installation.  When I add the NT box to the domain (HYDRANET), and submit
> the administrative user name and password (smbroot), NT gives back an
> application error has occurred and reboots.  Any ideas?
> 	We are attempting to run Samba as a PDC for our NT servers and
> therefore would like them to act as BDCs to the sambe run domain.
> 
> I have provided a tcpdump and the log.smb below.
> 
> tcpdump:
> ---Cut Text---
> 13:00:31.924234 < 192.168.1.97.rdpsig > 192.168.1.76.netbios-ssn: S
> 1743106:1743106(0) win 8192 <mss 1460> (DF) (ttl 128, id 9216)
> 13:00:31.924282 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpsig: S
> 2368684107:2368684107(0) ack 1743107 win 32120 <mss 1460> (DF) (ttl 64, id
> 49771)
> 13:00:31.924472 < 192.168.1.97.rdpsig >
> 192.168.1.76.netbios-ssn: . 1:1(0) ack 1 win 8760 (DF) (ttl 128, id 9472)
> 13:00:31.924489 < 192.168.1.97.rdpsig > 192.168.1.76.netbios-ssn: P
> 1:73(72) ack 1 win 8760>>> NBT (DF) (ttl 128, id 9728)
> 13:00:31.924551 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpsig: . 1:1(0) ack 73 win 32120 (DF) (ttl 64, id 49772)
> 13:00:31.934316 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpsig: P
> 1:5(4) ack 73 win 32120>>> NBT (DF) (ttl 64, id 49787)
> 13:00:31.934633 < 192.168.1.97.rdpsig > 192.168.1.76.netbios-ssn: P
> 73:247(174) ack 5 win 8756>>> NBT (DF) (ttl 128, id 9984)
> 13:00:31.937167 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpsig: P
> 5:95(90) ack 247 win 32120>>> NBT (DF) (ttl 64, id 49788)
> 13:00:31.938809 < 192.168.1.97.rdpsig > 192.168.1.76.netbios-ssn: P
> 247:444(197) ack 95 win 8666>>> NBT (DF) (ttl 128, id 10240)
> 13:00:31.940940 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpsig: . 95:95(0) ack 444 win 32120 (DF) (ttl 64, id 49792)
> 13:00:31.955024 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpsig: P
> 95:134(39) ack 444 win 32120>>> NBT (DF) (ttl 64, id 49800)
> 13:00:31.955277 < 192.168.1.97.rdpsig > 192.168.1.76.netbios-ssn: F
> 444:444(0) ack 134 win 8627 (DF) (ttl 128, id 10496)
> 13:00:31.955320 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpsig: . 134:134(0) ack 445 win 32120 (DF) (ttl 64, id
> 49801)
> 13:00:31.955569 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpsig: F
> 134:134(0) ack 445 win 32120 (DF) (ttl 64, id 49802)
> 13:00:31.955738 < 192.168.1.97.rdpsig >
> 192.168.1.76.netbios-ssn: . 445:445(0) ack 135 win 8627 (DF) (ttl 128, id
> 10752)
> 13:00:49.890805 < 192.168.1.97.netbios-dgm > 192.168.1.76.netbios-dgm: NBT
> UDP (138) (ttl 128, id 11008)
> 13:00:49.891719 > 192.168.1.76.netbios-dgm > 192.168.1.97.netbios-dgm: NBT
> UDP (138) (ttl 64, id 49813)
> 13:00:49.899222 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: S
> 1761082:1761082(0) win 8192 <mss 1460> (DF) (ttl 128, id 11264)
> 13:00:49.899271 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: S
> 2393645878:2393645878(0) ack 1761083 win 32120 <mss 1460> (DF) (ttl 64, id
> 49815)
> 13:00:49.899489 < 192.168.1.97.rdpdata >
> 192.168.1.76.netbios-ssn: . 1:1(0) ack 1 win 8760 (DF) (ttl 128, id 11520)
> 13:00:49.899507 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1:73(72) ack 1 win 8760>>> NBT (DF) (ttl 128, id 11776)
> 13:00:49.899565 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpdata: . 1:1(0) ack 73 win 32120 (DF) (ttl 64, id 49816)
> 13:00:49.909134 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 1:5(4) ack 73 win 32120>>> NBT (DF) (ttl 64, id 49831)
> 13:00:49.909449 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 73:247(174) ack 5 win 8756>>> NBT (DF) (ttl 128, id 12032)
> 13:00:49.911725 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpdata: . 5:5(0) ack 247 win 32120 (DF) (ttl 64, id 49832)
> 13:00:49.911997 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 5:95(90) ack 247 win 32120>>> NBT (DF) (ttl 64, id 49833)
> 13:00:49.913473 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 247:441(194) ack 95 win 8666>>> NBT (DF) (ttl 128, id 12288)
> 13:00:49.921722 > 192.168.1.76.netbios-ssn >
> 192.168.1.97.rdpdata: . 95:95(0) ack 441 win 32120 (DF) (ttl 64, id 49840)
> 13:00:49.980151 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 95:184(89) ack 441 win 32120>>> NBT (DF) (ttl 64, id 49860)
> 13:00:50.017614 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 441:536(95) ack 184 win 8577>>> NBT (DF) (ttl 128, id 12544)
> 13:00:50.020325 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 184:291(107) ack 536 win 32120>>> NBT (DF) (ttl 64, id 49861)
> 13:00:50.020750 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 536:688(152) ack 291 win 8470>>> NBT (DF) (ttl 128, id 12800)
> 13:00:50.025510 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 291:419(128) ack 688 win 32120>>> NBT (DF) (ttl 64, id 49862)
> 13:00:50.025857 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 688:836(148) ack 419 win 8342>>> NBT (DF) (ttl 128, id 13056)
> 13:00:50.031181 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 419:611(192) ack 836 win 32120>>> NBT (DF) (ttl 64, id 49863)
> 13:00:50.031526 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 836:882(46) ack 611 win 8150>>> NBT (DF) (ttl 128, id 13312)
> 13:00:50.032414 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 611:650(39) ack 882 win 32120>>> NBT (DF) (ttl 64, id 49864)
> 13:00:50.037042 < 192.168.1.97.netbios-dgm > 192.168.1.76.netbios-dgm: NBT
> UDP (138) (ttl 128, id 13568)
> 13:00:50.037849 > 192.168.1.76.netbios-dgm > 192.168.1.97.netbios-dgm: NBT
> UDP (138) (ttl 64, id 49865)
> 13:00:50.062002 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 882:975(93) ack 650 win 8111>>> NBT (DF) (ttl 128, id 13824)
> 13:00:50.064685 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 650:757(107) ack 975 win 32120>>> NBT (DF) (ttl 64, id 49866)
> 13:00:50.065058 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 975:1127(152) ack 757 win 8004>>> NBT (DF) (ttl 128, id 14080)
> 13:00:50.069877 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 757:885(128) ack 1127 win 32120>>> NBT (DF) (ttl 64, id 49867)
> 13:00:50.070208 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1127:1275(148) ack 885 win 7876>>> NBT (DF) (ttl 128, id 14336)
> 13:00:50.074752 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 885:993(108) ack 1275 win 32120>>> NBT (DF) (ttl 64, id 49868)
> 13:00:50.075563 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1275:1370(95) ack 993 win 7768>>> NBT (DF) (ttl 128, id 14592)
> 13:00:50.078327 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 993:1100(107) ack 1370 win 32120>>> NBT (DF) (ttl 64, id 49869)
> 13:00:50.078660 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1370:1522(152) ack 1100 win 7661>>> NBT (DF) (ttl 128, id 14848)
> 13:00:50.083534 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 1100:1228(128) ack 1522 win 32120>>> NBT (DF) (ttl 64, id 49870)
> 13:00:50.083855 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1522:1694(172) ack 1228 win 7533>>> NBT (DF) (ttl 128, id 15104)
> 13:00:50.088394 > 192.168.1.76.netbios-ssn > 192.168.1.97.rdpdata: P
> 1228:1336(108) ack 1694 win 32120>>> NBT (DF) (ttl 64, id 49871)
> 13:00:50.088734 < 192.168.1.97.rdpdata > 192.168.1.76.netbios-ssn: P
> 1694:1820(126) ack 1336 win 7425>>> NBT (DF) (ttl 128, id 15360)
> ---END CUT---
> 
> log.smb :
> ---CUT TEXT---
> [2000/04/12 13:00:31, 6] param/loadparm.c:lp_file_list_changed(1855)
>   lp_file_list_changed()
>   file /etc/smb.conf -> /etc/smb.conf  last mod_time: Wed Apr 12 10:34:08
> 2000
>   
> [2000/04/12 13:00:31, 10] lib/genrand.c:do_reseed(135)
>   do_reseed: got 40 bytes from /dev/urandom.
> [2000/04/12 13:00:31, 6] param/loadparm.c:lp_file_list_changed(1855)
>   lp_file_list_changed()
>   file /etc/smb.conf -> /etc/smb.conf  last mod_time: Wed Apr 12 10:34:08
> 2000
>   
> [2000/04/12 13:00:31, 2] smbd/server.c:main(735)
>   Changed root to /
> [2000/04/12 13:00:31, 3] smbd/oplock.c:open_oplock_ipc(86)
>   open_oplock_ipc: opening loopback UDP socket.
> [2000/04/12 13:00:31, 3] lib/util_sock.c:open_socket_in(865)
>   bind succeeded on port 0
> [2000/04/12 13:00:31, 3] smbd/oplock.c:open_oplock_ipc(114)
>   open_oplock ipc: pid = 13474, global_oplock_port = 1073
> [2000/04/12 13:00:31, 4] lib/time.c:TimeInit(110)
>   Serverzone is 14400
> [2000/04/12 13:00:31, 10]
> lib/util_sock.c:read_smb_length_return_keepalive(599)
>   got smb length of 68
> [2000/04/12 13:00:31, 1] lib/util_sock.c:client_name(997)
>   Gethostbyaddr failed for 192.168.1.97
> [2000/04/12 13:00:31, 2] lib/access.c:check_access(258)
>   Allowed connection from 192.168.1.97 (192.168.1.97)
> [2000/04/12 13:00:31, 6] smbd/process.c:process_smb(614)
>   got message type 0x81 of len 0x44
> [2000/04/12 13:00:31, 3] smbd/process.c:process_smb(615)
>   Transaction 0 of length 72
> [2000/04/12 13:00:31, 2] smbd/reply.c:reply_special(97)
>   netbios connect: name1=NYCSERV1         name2=WS             
> [2000/04/12 13:00:49, 10] lib/genrand.c:do_reseed(135)
>   do_reseed: got 40 bytes from /dev/urandom.
> [2000/04/12 13:00:49, 6] param/loadparm.c:lp_file_list_changed(1855)
>   lp_file_list_changed()
>   file /etc/smb.conf -> /etc/smb.conf  last mod_time: Wed Apr 12 10:34:08
> 2000
>   
> [2000/04/12 13:00:49, 2] smbd/server.c:main(735)
>   Changed root to /
> [2000/04/12 13:00:49, 3] smbd/oplock.c:open_oplock_ipc(86)
>   open_oplock_ipc: opening loopback UDP socket.
> [2000/04/12 13:00:49, 3] lib/util_sock.c:open_socket_in(865)
>   bind succeeded on port 0
> [2000/04/12 13:00:49, 3] smbd/oplock.c:open_oplock_ipc(114)
>   open_oplock ipc: pid = 13475, global_oplock_port = 1074
> [2000/04/12 13:00:49, 4] lib/time.c:TimeInit(110)
>   Serverzone is 14400
> [2000/04/12 13:00:49, 10]
> lib/util_sock.c:read_smb_length_return_keepalive(599)
>   got smb length of 68
> [2000/04/12 13:00:49, 1] lib/util_sock.c:client_name(997)
>   Gethostbyaddr failed for 192.168.1.97
> [2000/04/12 13:00:49, 2] lib/access.c:check_access(258)
>   Allowed connection from 192.168.1.97 (192.168.1.97)
> [2000/04/12 13:00:49, 6] smbd/process.c:process_smb(614)
>   got message type 0x81 of len 0x44
> [2000/04/12 13:00:49, 3] smbd/process.c:process_smb(615)
>   Transaction 0 of length 72
> [2000/04/12 13:00:49, 2] smbd/reply.c:reply_special(97)
>   netbios connect: name1=NYCSERV1         name2=WS             
> ---END CUT---
> 
> 
> -- 
> ,,,,,,,,                    ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
> '   Oliver Stockhammer     /      Hydraweb Technologies       '
>       Unix Sys Admin      / 40 Broad St., ste2175 NY,NY,10004 
> ,  oliver at hydraweb.com   /   ph.212.809.5900 fx.212.809.5932  ,
> '''''''''''''''''''''''''                             '''''''''
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list