samba 2.0b5 and NetworkApp Cifs

Danny Braniss danny at cs.huji.ac.il
Wed Jan 13 09:37:19 GMT 1999


In message <Pine.BSF.4.01.9901111404230.13430-100000 at mailhost.cb1.com>you write
:
}http://samba.org/cvs.html, use public cvs - no tag.  if you want the
}latest on the 2.0 beta INSTEAD (which is different) use a tag of
}SAMBA_2_0.  but that doesn't have the latest rpc code in it, it branched
}off about 2 months ago.
}

ok, i hope i got the correct source this time. After some local mods i almost 
have the pdc working, it now gets into an infinite loop :-).

as to the NetApp, it breaks early in the game:

  doing parameter log file = /var/samba/logs/log-%m
  doing parameter domain logons = yes
  doing parameter domain master = yes
  doing parameter hosts allow = 132.65.
  doing parameter invalid users = root register  administrator Administrator
  doing parameter encrypt passwords = yes
[1999/01/13 11:25:13, 3] ../param/loadparm.c:lp_load(2519)
  pm_process() returned Yes
[1999/01/13 11:25:13, 7] ../param/loadparm.c:lp_servicenumber(2597)
  lp_servicenumber: couldn't find homes
[1999/01/13 11:25:13, 3] ../param/loadparm.c:lp_add_ipc(1493)
  adding IPC service
[1999/01/13 11:25:13, 7] ../param/loadparm.c:lp_servicenumber(2597)
  lp_servicenumber: couldn't find printers
[1999/01/13 11:25:13, 7] ../param/loadparm.c:lp_servicenumber(2597)
  lp_servicenumber: couldn't find printers
[1999/01/13 11:25:13, 5] ../smbd/connection.c:claim_connection(127)
  trying claim /var/samba/locks STATUS. 100000
[1999/01/13 11:25:13, 8] ../lib/util.c:fcntl_lock(2716)
  fcntl_lock 7 9 0 1 3
[1999/01/13 11:25:13, 8] ../lib/util.c:fcntl_lock(2777)
  Lock call successful
[1999/01/13 11:25:13, 8] ../lib/util.c:fcntl_lock(2716)
  fcntl_lock 7 9 0 1 2
[1999/01/13 11:25:13, 8] ../lib/util.c:fcntl_lock(2777)
  Lock call successful
[1999/01/13 11:25:13, 5] ../smbd/reply.c:reply_special(192)
  init msg_type=0x81 msg_flags=0x0
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(185)
  write_socket(6,4)
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(188)
  write_socket(6,4) wrote 4
[1999/01/13 11:25:13, 10] ../lib/util_sock.c:read_smb_length_return_keepalive(4
45)
  got smb length of 178
[1999/01/13 11:25:13, 6] ../smbd/process.c:process_smb(564)
  got message type 0x0 of len 0xb2
[1999/01/13 11:25:13, 3] ../smbd/process.c:process_smb(565)
  Transaction 1 of length 182
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(494)
  size=178
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=32769
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(500)
  smb_tid=0
  smb_pid=4647
  smb_uid=0
  smb_mid=15617
  smt_wct=0
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(510)
  smb_bcc=143
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2916)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [010] 52 41 4D 20 31 2E 30 00  02 58 45 4E 49 58 20 43  RAM 1.0. .XENIX C
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [020] 4F 52 45 00 02 4D 49 43  52 4F 53 4F 46 54 20 4E  ORE..MIC ROSOFT N
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [030] 45 54 57 4F 52 4B 53 20  31 2E 30 33 00 02 4C 41  ETWORKS  1.03..LA
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [040] 4E 4D 41 4E 31 2E 30 00  02 57 69 6E 64 6F 77 73  NMAN1.0. .Windows
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [050] 20 66 6F 72 20 57 6F 72  6B 67 72 6F 75 70 73 20   for Wor kgroups 
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [060] 33 2E 31 61 00 02 44 4F  53 20 4C 4D 31 2E 32 58  3.1a..DO S LM1.2X
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [070] 30 30 32 00 02 44 4F 53  20 4C 41 4E 4D 41 4E 32  002..DOS  LANMAN2
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [080] 2E 31 00 02 4E 54 20 4C  4D 20 30 2E 31 32 00     .1..NT L M 0.12.
[1999/01/13 11:25:13, 3] ../smbd/process.c:switch_message(402)
  switch message SMBnegprot (pid 2018)
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [XENIX CORE]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN1.0]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [Windows for Workgroups 3.1a]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [DOS LM1.2X002]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [DOS LANMAN2.1]
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(332)
  Requested protocol [NT LM 0.12]
[1999/01/13 11:25:13, 6] ../param/loadparm.c:lp_file_list_changed(1782)
  lp_file_list_changed()
  file /etc/samba/%m.conf -> /etc/samba/nafs-02.conf  last mod_time: Sat Jan  
9 13:50:51 1999
  
  file /etc/samba/samba.conf -> /etc/samba/samba.conf  last mod_time: Mon Jan 
11 14:42:28 1999
  
[1999/01/13 11:25:13, 6] ../param/loadparm.c:lp_file_list_changed(1782)
  lp_file_list_changed()
  file /etc/samba/%m.conf -> /etc/samba/nafs-02.conf  last mod_time: Sat Jan  
9 13:50:51 1999
  
  file /etc/samba/samba.conf -> /etc/samba/samba.conf  last mod_time: Mon Jan 
11 14:42:28 1999
  
[1999/01/13 11:25:13, 3] ../smbd/negprot.c:reply_negprot(409)
  Selected protocol NT LM 0.12
[1999/01/13 11:25:13, 5] ../smbd/negprot.c:reply_negprot(416)
  negprot index=7
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(494)
  size=86
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(500)
  smb_tid=0
  smb_pid=4647
  smb_uid=0
  smb_mid=15617
  smt_wct=17
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[0]=7 (0x7)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[1]=12803 (0x3203)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[2]=256 (0x100)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[3]=65280 (0xFF00)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[4]=255 (0xFF)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[5]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[6]=256 (0x100)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[7]=57856 (0xE200)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[8]=7 (0x7)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[9]=14592 (0x3900)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[10]=3 (0x3)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[11]=32768 (0x8000)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[12]=21666 (0x54A2)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[13]=54943 (0xD69F)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[14]=48702 (0xBE3E)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[15]=34817 (0x8801)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[16]=2303 (0x8FF)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(510)
  smb_bcc=17
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2916)
  [000] 4A 66 80 3B 62 1F 6F 94  45 4D 50 49 52 45 2D 32  Jf.;b.o. EMPIRE-2
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [010] 00                                                . 
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(185)
  write_socket(6,90)
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(188)
  write_socket(6,90) wrote 90
[1999/01/13 11:25:13, 10] ../lib/util_sock.c:read_smb_length_return_keepalive(4
45)
  got smb length of 186
[1999/01/13 11:25:13, 6] ../smbd/process.c:process_smb(564)
  got message type 0x0 of len 0xba
[1999/01/13 11:25:13, 3] ../smbd/process.c:process_smb(565)
  Transaction 2 of length 190
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(494)
  size=186
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=32769
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(500)
  smb_tid=65535
  smb_pid=4647
  smb_uid=0
  smb_mid=15618
  smt_wct=13
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[0]=117 (0x75)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[1]=142 (0x8E)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[2]=65535 (0xFFFF)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[3]=2 (0x2)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[4]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[5]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[6]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[7]=1 (0x1)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[8]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[9]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[10]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[11]=212 (0xD4)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[12]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(510)
  smb_bcc=81
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2916)
  [000] 00 00 00 00 00 4E 00 65  00 74 00 41 00 70 00 70  .....N.e .t.A.p.p
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [010] 00 20 00 52 00 65 00 6C  00 65 00 61 00 73 00 65  . .R.e.l .e.a.s.e
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [020] 00 20 00 34 00 2E 00 33  00 2E 00 35 00 00 00 00  . .4...3 ...5....
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [030] 00 57 00 69 00 6E 00 64  00 6F 00 77 00 73 00 20  .W.i.n.d .o.w.s. 
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [040] 00 4E 00 54 00 20 00 34  00 2E 00 30 00 00 00 00  .N.T. .4 ...0....
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [050] 00                                                . 
[1999/01/13 11:25:13, 3] ../smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 2018)
[1999/01/13 11:25:13, 3] ../smbd/reply.c:reply_sesssetup_and_X(625)
  Domain=[]  NativeOS=[] NativeLanMan=[]
[1999/01/13 11:25:13, 3] ../smbd/reply.c:reply_sesssetup_and_X(629)
  sesssetupX:name=[]
[1999/01/13 11:25:13, 6] ../param/loadparm.c:lp_file_list_changed(1782)
  lp_file_list_changed()
  file /etc/samba/%m.conf -> /etc/samba/nafs-02.conf  last mod_time: Sat Jan  
9 13:50:51 1999
  
  file /etc/samba/samba.conf -> /etc/samba/samba.conf  last mod_time: Mon Jan 
11 14:42:28 1999
  
[1999/01/13 11:25:13, 10] ../lib/domain_namemap.c:lookupsmbpwntnam(1074)
  lookupsmbpwntnam: nt user name \nobody
[1999/01/13 11:25:13, 10] ../lib/sids.c:split_domain_name(596)
  name 'nobody' split into domain:EMPIRE-2 and nt name:nobody'
[1999/01/13 11:25:13, 10] ../lib/domain_namemap.c:load_name_map(526)
  initialising map 
[1999/01/13 11:25:13, 3] ../lib/util.c:get_unixgroups(2377)
  nobody is in 2 groups: 32766, 32766
[1999/01/13 11:25:13, 3] ../smbd/password.c:register_vuid(221)
  uid 32767 registered to name nobody
[1999/01/13 11:25:13, 3] ../smbd/password.c:register_vuid(223)
  Clearing default real name
[1999/01/13 11:25:13, 6] ../smbd/reply.c:reply_sesssetup_and_X(803)
  Client requested max send size of 65535
[1999/01/13 11:25:13, 3] ../smbd/process.c:chain_reply(715)
  Chained message
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(494)
  size=186
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=32769
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(500)
  smb_tid=65535
  smb_pid=4647
  smb_uid=100
  smb_mid=15618
  smt_wct=4
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[0]=255 (0xFF)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[1]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[2]=0 (0x0)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[3]=1 (0x1)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(510)
  smb_bcc=33
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2916)
  [000] 00 5C 00 5C 00 50 00 45  00 45 00 54 00 4F 00 4F  .\.\.P.E .E.T.O.O
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [010] 00 5C 00 49 00 50 00 43  00 24 00 00 00 49 50 43  .\.I.P.C .$...IPC
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [020] 00                                                . 
[1999/01/13 11:25:13, 3] ../smbd/process.c:switch_message(402)
  switch message SMBtconX (pid 2018)
[1999/01/13 11:25:13, 4] ../smbd/reply.c:reply_tcon_and_X(336)
  Got device type \
[1999/01/13 11:25:13, 10] ../lib/domain_namemap.c:lookupsmbpwntnam(1074)
  lookupsmbpwntnam: nt user name EMPIRE-2\
[1999/01/13 11:25:13, 10] ../lib/sids.c:split_domain_name(596)
  name 'EMPIRE-2\' split into domain:EMPIRE-2 and nt name:'
[1999/01/13 11:25:13, 7] ../param/loadparm.c:lp_servicenumber(2597)
  lp_servicenumber: couldn't find 
[1999/01/13 11:25:13, 3] ../smbd/service.c:find_service(108)
  checking for home directory  gave (NULL)
[1999/01/13 11:25:13, 7] ../param/loadparm.c:lp_servicenumber(2597)
  lp_servicenumber: couldn't find printers
[1999/01/13 11:25:13, 3] ../smbd/service.c:find_service(180)
  find_service() failed to find service 
[1999/01/13 11:25:13, 0] ../smbd/service.c:make_connection(210)
  nafs-02 (132.65.16.4) couldn't find service 
[1999/01/13 11:25:13, 3] ../smbd/error.c:error_packet(138)
  error packet at line 207 cmd=117 (SMBtconX) eclass=2 ecode=6
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(494)
  size=79
  smb_com=0x73
  smb_rcls=2
  smb_reh=0
  smb_err=6
  smb_flg=136
  smb_flg2=1
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(500)
  smb_tid=65535
  smb_pid=4647
  smb_uid=100
  smb_mid=15618
  smt_wct=3
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[0]=117 (0x75)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[1]=76 (0x4C)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(505)
  smb_vwv[2]=1 (0x1)
[1999/01/13 11:25:13, 5] ../lib/util.c:show_msg(510)
  smb_bcc=35
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2916)
  [000] 55 6E 69 78 00 53 61 6D  62 61 20 32 2E 31 2E 30  Unix.Sam ba 2.1.0
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [010] 2D 70 72 65 61 6C 70 68  61 00 45 4D 50 49 52 45  -prealph a.EMPIRE
[1999/01/13 11:25:13, 10] ../lib/util.c:dump_data(2924)
  [020] 2D 32 00                                          -2. 
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(185)
  write_socket(6,83)
[1999/01/13 11:25:13, 6] ../lib/util_sock.c:write_socket(188)
  write_socket(6,83) wrote 83
[1999/01/13 11:25:13, 10] ../lib/util_sock.c:receive_smb(493)
  receive_smb: length < 0!
[1999/01/13 11:25:13, 3] ../smbd/process.c:smbd_process(806)
  end of file from client
[1999/01/13 11:25:13, 2] ../smbd/server.c:exit_server(406)
  Closing connections
[1999/01/13 11:25:13, 3] ../smbd/server.c:exit_server(431)
  Server exit (normal exit)




More information about the samba-technical mailing list