problems with SGI boxen

David McWherter dtm at vramp.net
Tue Oct 26 12:00:12 GMT 1999


	I've got an interesting problem with the CVS ntdom 
samba and a couple of SGI 320 boxen (the sleek x86 boxes from
SGI).  I'm trying to use roaming profiles over these boxen and
a number of other NT boxes, but when you log into our domain
from one of the SGI's, your profile never gets uploaded to the
samba server.  What's worse, is that the SGI's proceed to then
delete the local cached copy of the profile (and along with
it, all changes that were made to it). Our other boxen, however,
work mostly fine, with some strange problems with setting 
desktop backgrounds and such (which seem to be more of minor
annoyances to me).

	I've gone through the logs of similar sessions conducted
between the two types of machines, and it seems that as things
go pretty much identically from login all the way through to
the SMBulogoff message. After the first ulogoff, the non-SGI
boxen reestablish a connection with the samba server, and upload
the profile files, it seems, with a sesssetup message.  The SGI's,
however, send a SMBtrans message, and then no more messages (I
have a feeling that this is happening after the profile sync on
the non-SGI's as well).  The NT machines provide no error messages
or warnings about detecting any problems.  

	I checked the system clocks on the machines, trying to move
them forward, backwards, using net time, etc. Might anybody have an
idea as to what might be the symptom?  I don't see anything that's
particularly obvious that's happening in the logs, which follow...


>From the end-game of the dialect with samba and an SGI box (filtered
somewhat):

  switch message SMBtdis (pid 7919)
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2496
  smb_bcc=0
  Transaction 42 of length 43
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2560
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=65535 (0xFFFF)
  smb_bcc=0
  switch message SMBulogoffX (pid 7919)
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2560
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=0 (0x0)
  smb_bcc=0
  Transaction 43 of length 356
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=1
  smb_pid=47072
  smb_uid=100
  smb_mid=2624
  smb_vwv[0]=0 (0x0)
  smb_vwv[1]=276 (0x114)
  smb_vwv[2]=0 (0x0)
  smb_vwv[3]=1024 (0x400)
  smb_vwv[4]=0 (0x0)
  smb_vwv[5]=0 (0x0)
  smb_vwv[6]=0 (0x0)
  smb_vwv[7]=0 (0x0)
  smb_vwv[8]=0 (0x0)
  smb_vwv[9]=0 (0x0)
  smb_vwv[10]=76 (0x4C)
  smb_vwv[11]=276 (0x114)
  smb_vwv[12]=76 (0x4C)
  smb_vwv[13]=2 (0x2)
  smb_vwv[14]=38 (0x26)
  smb_vwv[15]=28728 (0x7038)
  smb_bcc=285
  [000] 5C 50 49 50 45 5C 00 00  DD 05 00 00 03 10 00 00  \PIPE\..
........
  [010] 00 14 01 00 00 04 00 00  00 FC 00 00 00 00 00 03  ........
........
  [020] 00 70 AE 14 00 07 00 00  00 00 00 00 00 07 00 00  .p......
........
  [030] 00 5C 00 5C 00 46 00 41  00 43 00 45 00 00 00 88  .\.\.F.A
.C.E....
  [040] 8A E4 B7 1A 50 07 00 00  00 00 00 00 00 07 00 00  ....P...
........
  [050] 00 53 00 50 00 4C 00 49  00 4E 00 45 00 00 00 A0  .S.P.L.I
.N.E....
  [060] DC BC FC CA 00 7A D9 4C  D5 CE EC 86 68 4A 8E 15  .....z.L
....hJ..
  [070] 38 C8 FC CA 00 D0 BA 1A  50 06 00 07 00 58 DD 14  8.......
P....X..
  [080] 00 01 00 01 00 1C FD CA  00 18 00 1A 00 10 46 15  ........
......F.
  [090] 00 00 00 00 00 38 3E 01  00 00 00 00 00 06 00 08  .....8>.
........
  [100] 00 6D 00 00 00 07 00 00  00 00 00 00 00 06 00 00  .m......
........
  [110] 00 53 00 50 00 4C 00 49  00 4E 00 45 00           .S.P.L.I .N.E.
  switch message SMBtrans (pid 7919)
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=1
  smb_pid=47072
  smb_uid=100
  smb_mid=2624
  smb_vwv[0]=0 (0x0)
  smb_vwv[1]=44 (0x2C)
  smb_vwv[2]=0 (0x0)
  smb_vwv[3]=0 (0x0)
  smb_vwv[4]=56 (0x38)
  smb_vwv[5]=0 (0x0)
  smb_vwv[6]=44 (0x2C)
  smb_vwv[7]=56 (0x38)
  smb_vwv[8]=0 (0x0)
  smb_vwv[9]=0 (0x0)
  smb_bcc=45
  [000] 00 05 00 02 03 10 00 00  00 2C 00 00 00 04 00 00  ........
.,......
  [010] 00 14 00 00 00 00 00 00  00 01 00 00 00 33 EC B8  ........
.....3..
  [020] D1 89 63 9F C1 00 00 00  00 00 00 00 00           ..c..... .....

The end-game dialect between samba and an SGI:

  switch message SMBtdis (pid 7868)
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2496
  smb_bcc=0
  Transaction 42 of length 43
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2560
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=210 (0xD2)
  smb_bcc=0
  switch message SMBulogoffX (pid 7868)
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=2
  smb_pid=51966
  smb_uid=101
  smb_mid=2560
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=0 (0x0)
  smb_bcc=0
  Transaction 43 of length 197
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=0
  smb_pid=51966
  smb_uid=0
  smb_mid=2624
  smb_vwv[0]=117 (0x75)
  smb_vwv[1]=159 (0x9F)
  smb_vwv[2]=61440 (0xF000)
  smb_vwv[3]=50 (0x32)
  smb_vwv[4]=1 (0x1)
  smb_vwv[5]=7868 (0x1EBC)
  smb_vwv[6]=0 (0x0)
  smb_vwv[7]=24 (0x18)
  smb_vwv[8]=24 (0x18)
  smb_vwv[9]=0 (0x0)
  smb_vwv[10]=0 (0x0)
  smb_vwv[11]=212 (0xD4)
  smb_vwv[12]=0 (0x0)
  smb_bcc=98
  [000] 3F AD 45 20 5C F5 3C 57  F3 B2 CE B6 1C AC A0 77  ?.E \.<W
.......w
  [010] 08 9F D5 B1 55 FC CD CF  CB AA 46 99 48 26 EC 18  ....U...
..F.H&..
  [020] C0 F0 5C 76 E6 E3 39 69  ED D5 7D E9 E7 83 E1 81  ..\v..9i
..}.....
  [030] 64 74 6D 00 43 41 46 45  5F 4C 45 5F 47 49 43 4C  dtm.CAFE
_LE_GICL
  [040] 00 57 69 6E 64 6F 77 73  20 4E 54 20 31 33 38 31  .Windows  NT
1381
  [050] 00 00 57 69 6E 64 6F 77  73 20 4E 54 20 34 2E 30  ..Window s NT
4.0
  [060] 00 00                                             .. 
  switch message SMBsesssetupX (pid 7868)
  sesssetupX:name=[dtm]
  lookupsmbpwntnam: nt user name CAFE_LE_GICL\dtm
  name 'CAFE_LE_GICL\dtm' split into domain:CAFE_LE_GICL and nt name:dtm'
  getpwnam(dtm)
  Found: dtm:v.0fdxOcVrC12:2006:2006::/home/dtm:/bin/bash
  getpwnam(dtm)
  Found: dtm:v.0fdxOcVrC12:2006:2006::/home/dtm:/bin/bash
  getpwnam(dtm)
  Found: dtm:v.0fdxOcVrC12:2006:2006::/home/dtm:/bin/bash
  getpwnam(dtm)
  Found: dtm:v.0fdxOcVrC12:2006:2006::/home/dtm:/bin/bash
  getpwnam(dtm)
  Found: dtm:v.0fdxOcVrC12:2006:2006::/home/dtm:/bin/bash
  search by name: dtm
....
...
.. [ snip snip snip ]
  switch message SMBclose (pid 7868)
  dtm closed file dtm/NTUSER.DAT (numopen=0)
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=2
  smb_pid=51966
  smb_uid=102
  smb_mid=20096
  smb_bcc=0
  Transaction 317 of length 43
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=1
  smb_pid=51966
  smb_uid=102
  smb_mid=20160
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=65535 (0xFFFF)
  smb_bcc=0
  switch message SMBulogoffX (pid 7868)
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=1
  smb_pid=51966
  smb_uid=102
  smb_mid=20160
  smb_vwv[0]=255 (0xFF)
  smb_vwv[1]=0 (0x0)
  smb_bcc=0
  Transaction 318 of length 348
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
  smb_tid=1
  smb_pid=38656
  smb_uid=100
  smb_mid=20224
  smb_vwv[0]=0 (0x0)
  smb_vwv[1]=268 (0x10C)
  smb_vwv[2]=0 (0x0)
  smb_vwv[3]=1024 (0x400)
  smb_vwv[4]=0 (0x0)
  smb_vwv[5]=0 (0x0)
  smb_vwv[6]=0 (0x0)
  smb_vwv[7]=0 (0x0)
  smb_vwv[8]=0 (0x0)
  smb_vwv[9]=0 (0x0)
  smb_vwv[10]=76 (0x4C)
  smb_vwv[11]=268 (0x10C)
  smb_vwv[12]=76 (0x4C)
  smb_vwv[13]=2 (0x2)
  smb_vwv[14]=38 (0x26)
  smb_vwv[15]=28728 (0x7038)
  smb_bcc=277
  [000] 5C 50 49 50 45 5C 00 00  00 05 00 00 03 10 00 00  \PIPE\..
........
  [010] 00 0C 01 00 00 04 00 00  00 F4 00 00 00 00 00 03  ........
........
  [020] 00 A0 AE 14 00 07 00 00  00 00 00 00 00 07 00 00  ........
........
  [030] 00 5C 00 5C 00 46 00 41  00 43 00 45 00 00 00 88  .\.\.F.A
.C.E....
  [040] 8A E4 B7 1A 50 05 00 00  00 00 00 00 00 05 00 00  ....P...
........
  [050] 00 42 00 4F 00 44 00 59  00 00 00 A6 7B BC FC CA  .B.O.D.Y
....{...
  [060] 00 E4 16 86 4D 1B 05 2F  02 5E 8D 15 38 C8 FC CA  ....M../
.^..8...
  [070] 00 D0 BA 1A 50 04 00 05  00 58 6B 15 00 01 00 01  ....P...
.Xk.....
  [080] 00 1C FD CA 00 18 00 1A  00 10 42 15 00 00 00 00  ........
..B.....
  [090] 00 68 2E 06 00 00 00 00  00 06 00 08 00 08 42 15  .h......
......B.
  [100] 00 05 00 00 00 00 00 00  00 04 00 00 00 42 00 4F  ........
.....B.O
  [110] 00 44 00 59 00                                    .D.Y. 
 switch message SMBtrans (pid 7868)
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
  smb_tid=1
  smb_pid=38656
  smb_uid=100
  smb_mid=20224
  smb_vwv[0]=0 (0x0)
  smb_vwv[1]=44 (0x2C)
  smb_vwv[2]=0 (0x0)
  smb_vwv[3]=0 (0x0)
  smb_vwv[4]=56 (0x38)
  smb_vwv[5]=0 (0x0)
  smb_vwv[6]=44 (0x2C)
  smb_vwv[7]=56 (0x38)
  smb_vwv[8]=0 (0x0)
  smb_vwv[9]=0 (0x0)
  smb_bcc=45
  [000] 00 05 00 02 03 10 00 00  00 2C 00 00 00 04 00 00  ........
.,......
  [010] 00 14 00 00 00 00 00 00  00 01 00 00 00 B1 C3 29  ........
.......)
  [020] D9 41 A1 B6 43 00 00 00  00 00 00 00 00           .A..C... .....




More information about the samba-ntdom mailing list