Winbind/NT Problems
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Feb 15 14:41:20 GMT 2001
Hi!
I've got a problem to get winbind to work. Compiling is no problem, but trying
to join the domain turns out to be somewhat difficult.
I try to use
createuser linux$ -j schulung -L
but it will not work. Sniffing reveals that samedit sends the following packet
FROM port 1054, but my NT4SP6 PDC answers TO port 138. So samedit correctly
says that it can not find the domain controller. If I run the TNG nmbd then it
works, probably due to a mechanism to distribute the datagram packets.
If I try to set up an appliance box, do I have to run the tng nmbd, and can I
run it together with the 2.2 smbd to get the advanced printing stuff?
15:29:37.200046 192.168.1.119.1054 > 192.168.1.1.netbios-ssn: . 854:854(0) ack 803 win 32120 (DF)
15:29:37.450666 192.168.1.119.1082 > 192.168.1.1.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x101A ID=0x7E5E IP=192.168.1.119 Port=1082 Length=228 Res2=0x0
SourceName=LINUX NameType=0x00 (Workstation)
DestName=SCHULUNG NameType=0x1B (Domain Controller)
SMB PACKET: SMBtrans (REQUEST)
SMB Command = 0x25
Error class = 0x0
Error code = 0
Flags1 = 0x0
Flags2 = 0x0
Tree ID = 0
Proc ID = 0
UID = 0
MID = 0
Word Count = 17
TotParamCnt=0
TotDataCnt=54
MaxParmCnt=0
MaxDataCnt=0
MaxSCnt=0
TransFlags=0x0
Res1=0x0
Res2=0x0
Res3=0x0
ParamCnt=0
ParamOff=0
DataCnt=54
DataOff=92
SUCnt=3
Data: (6 bytes)
[000] 01 00 01 00 02 00 ......
Name=\MAILSLOT\NET\NETLOGON
Data Data: (54 bytes)
[000] 07 00 4C 49 4E 55 58 00 5C 4D 41 49 4C 53 4C 4F ..LINUX. \MAILSLO
[010] 54 5C 4E 45 54 5C 47 45 54 44 43 33 32 33 35 30 T\NET\GE TDC32350
[020] 00 00 4C 00 49 00 4E 00 55 00 58 00 00 00 01 00 ..L.I.N. U.X.....
[030] 00 00 FF FF FF FF ......
15:29:37.451115 192.168.1.1.netbios-dgm > 192.168.1.119.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x1002 ID=0x8850 IP=192.168.1.1 Port=138 Length=220 Res2=0x0
SourceName=NT-SERVER NameType=0x00 (Workstation)
DestName=LINUX NameType=0x00 (Workstation)
SMB PACKET: SMBtrans (REQUEST)
SMB Command = 0x25
Error class = 0x0
Error code = 0
Flags1 = 0x0
Flags2 = 0x0
Tree ID = 0
Proc ID = 0
UID = 0
MID = 0
Word Count = 17
TotParamCnt=0
TotDataCnt=58
MaxParmCnt=0
MaxDataCnt=0
MaxSCnt=0
TransFlags=0x0
Res1=0x3E8
Res2=0x0
Res3=0x0
ParamCnt=0
ParamOff=0
DataCnt=58
DataOff=94
SUCnt=3
Data: (6 bytes)
[000] 01 00 01 00 02 00 ......
Name=\MAILSLOT\NET\GETDC32350
Data Data: (58 bytes)
[000] 0C 00 4E 54 2D 53 45 52 56 45 52 00 4E 00 54 00 ..NT-SER VER.N.T.
[010] 2D 00 53 00 45 00 52 00 56 00 45 00 52 00 00 00 -.S.E.R. V.E.R...
[020] 53 00 43 00 48 00 55 00 4C 00 55 00 4E 00 47 00 S.C.H.U. L.U.N.G.
[030] 00 00 01 00 00 00 FF FF FF FF ........ ..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 289 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20010215/b02189a2/attachment.bin
More information about the samba-technical
mailing list