strange problem with receiving messages

Ilia Chipitsine ilia at cgu.chel.su
Sun Dec 10 13:50:58 GMT 2000


Dear Sirs,

I wish to receive messages like WinPopup does.
Operating system is FreeBSD-4.2, Samba is 2.0.7
when I send a message it is lost.
I attached smb.conf and log fragment.
Anybody knows what did I do wrong ?
Anybody knows how to translate 1251 <-> koi8 on the fly ?

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)
-------------- next part --------------
[global]
        netbios name = JANE
	workgroup	= UFO
	server string	= UFO Mumba Yumba Server
	log file	= /var/log/log.%m
	max log size	= 50
	security	= user
        remote    announce   =   192.168.203.255/UFO
#	encrypt passwords = yes
	socket options	= TCP_NODELAY 
;	logon script	= %m.bat
;	logon script	= %U.bat
;	logon path	= \\%L\Profiles\%U
	dns proxy	= yes
	client code page = 866
	character set	= koi8-r
        interfaces = 192.168.203.1/255.255.255.0
        message command = /bin/mail -s 'message from %s on %m' ilia < %s; rm %s
        debug level = 30


;[netlogon]
;	comment		= Network Logon Service
;	path		= /usr/local/samba/lib/netlogon
;	guest ok	= yes
;	writeable	= no
;	share modes	= no

;[Profiles]
;	path		= /usr/local/samba/profiles
;	browseable	= no
;	guest ok	= yes

;[printers]
;	comment		= All Printers
;	path		= /var/spool/samba
;	browseable	= no
;	guest ok	= no
;	writeable	= no
;	printable	= yes

[cdrom]
	comment = Public Stuff
	path = /mnt2
	public = yes
	writeable = yes
	printable = no
        guest ok = yes

[09]
        comment = Public Stuff
        path = /mnt/dos/09
        public = yes
        writeable = yes
        printable = no
        guest ok = yes
        write list = igor
   create mode = 0775
   force create mode = 0775
   directory mode = 0775
   force directory mode = 0775


-------------- next part --------------
[2000/12/10 18:46:16, 6] param/loadparm.c:lp_file_list_changed(1789)
  lp_file_list_changed()
  file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf  last mod_time: Sun Dec 10 18:44:53 2000
  
[2000/12/10 18:46:16, 5] smbd/connection.c:claim_connection(127)
  trying claim /var/spool/lock STATUS. 100000
[2000/12/10 18:46:16, 8] lib/util.c:fcntl_lock(2632)
  fcntl_lock 8 9 0 1 3
[2000/12/10 18:46:16, 8] lib/util.c:fcntl_lock(2693)
  Lock call successful
[2000/12/10 18:46:16, 8] lib/util.c:fcntl_lock(2632)
  fcntl_lock 8 9 0 1 2
[2000/12/10 18:46:16, 8] lib/util.c:fcntl_lock(2693)
  Lock call successful
[2000/12/10 18:46:16, 5] smbd/reply.c:reply_special(147)
  init msg_type=0x81 msg_flags=0x0
[2000/12/10 18:46:16, 6] lib/util_sock.c:write_socket(185)
  write_socket(6,4)
[2000/12/10 18:46:16, 6] lib/util_sock.c:write_socket(188)
  write_socket(6,4) wrote 4
[2000/12/10 18:46:16, 10] lib/util_sock.c:read_smb_length_return_keepalive(449)
  got smb length of 47
[2000/12/10 18:46:16, 6] smbd/process.c:process_smb(564)
  got message type 0x0 of len 0x2f
[2000/12/10 18:46:16, 3] smbd/process.c:process_smb(565)
  Transaction 1 of length 51
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(459)
  size=47
  smb_com=0xd5
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=1
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=0
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(475)
  smb_bcc=12
[2000/12/10 18:46:16, 10] lib/util.c:dump_data(2832)
  [000] 04 49 4C 49 41 00 04 6A  61 6E 65 00              .ILIA..j ane.
[2000/12/10 18:46:16, 3] smbd/process.c:switch_message(402)
  switch message SMBsendstrt (pid 575)
[2000/12/10 18:46:16, 3] smbd/message.c:reply_sendstrt(151)
  SMBsendstrt (from ILIA to jane)
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(459)
  size=37
  smb_com=0xd5
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=1
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(470)
  smb_vwv[0]=0 (0x0)
[2000/12/10 18:46:16, 5] lib/util.c:show_msg(475)
  smb_bcc=0
[2000/12/10 18:46:16, 6] lib/util_sock.c:write_socket(185)
  write_socket(6,41)
[2000/12/10 18:46:16, 6] lib/util_sock.c:write_socket(188)
  write_socket(6,41) wrote 41
[2000/12/10 18:46:21, 10] lib/util_sock.c:read_smb_length_return_keepalive(449)
  got smb length of 47
[2000/12/10 18:46:21, 6] smbd/process.c:process_smb(564)
  got message type 0x0 of len 0x2f
[2000/12/10 18:46:21, 3] smbd/process.c:process_smb(565)
  Transaction 2 of length 51
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(459)
  size=47
  smb_com=0xd7
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(470)
  smb_vwv[0]=0 (0x0)
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(475)
  smb_bcc=10
[2000/12/10 18:46:21, 10] lib/util.c:dump_data(2832)
  [000] 01 07 00 31 32 33 34 35  0D 0A                    ...12345 ..
[2000/12/10 18:46:21, 3] smbd/process.c:switch_message(402)
  switch message SMBsendtxt (pid 575)
[2000/12/10 18:46:21, 3] smbd/message.c:reply_sendtxt(180)
  SMBsendtxt
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(459)
  size=35
  smb_com=0xd7
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=0
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(475)
  smb_bcc=0
[2000/12/10 18:46:21, 6] lib/util_sock.c:write_socket(185)
  write_socket(6,39)
[2000/12/10 18:46:21, 6] lib/util_sock.c:write_socket(188)
  write_socket(6,39) wrote 39
[2000/12/10 18:46:21, 10] lib/util_sock.c:read_smb_length_return_keepalive(449)
  got smb length of 37
[2000/12/10 18:46:21, 6] smbd/process.c:process_smb(564)
  got message type 0x0 of len 0x25
[2000/12/10 18:46:21, 3] smbd/process.c:process_smb(565)
  Transaction 3 of length 41
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(459)
  size=37
  smb_com=0xd6
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(470)
  smb_vwv[0]=0 (0x0)
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(475)
  smb_bcc=0
[2000/12/10 18:46:21, 3] smbd/process.c:switch_message(402)
  switch message SMBsendend (pid 575)
[2000/12/10 18:46:21, 3] smbd/message.c:reply_sendend(199)
  SMBsendend
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(459)
  size=35
  smb_com=0xd6
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(465)
  smb_tid=65535
  smb_pid=574
  smb_uid=0
  smb_mid=1
  smt_wct=0
[2000/12/10 18:46:21, 5] lib/util.c:show_msg(475)
  smb_bcc=0
[2000/12/10 18:46:21, 6] lib/util_sock.c:write_socket(185)
  write_socket(6,39)
[2000/12/10 18:46:21, 6] lib/util_sock.c:write_socket(188)
  write_socket(6,39) wrote 39
[2000/12/10 18:46:21, 10] lib/util_sock.c:receive_smb(497)
  receive_smb: length < 0!
[2000/12/10 18:46:21, 3] smbd/process.c:timeout_processing(755)
  end of file from client
[2000/12/10 18:46:21, 2] smbd/server.c:exit_server(406)
  Closing connections
[2000/12/10 18:46:21, 5] locking/shmem.c:smb_shm_close(582)
  smb_shm_close
[2000/12/10 18:46:21, 8] lib/util.c:fcntl_lock(2632)
  fcntl_lock 5 9 0 1 3
[2000/12/10 18:46:21, 8] lib/util.c:fcntl_lock(2693)
  Lock call successful
[2000/12/10 18:46:21, 5] locking/shmem.c:smb_shm_close(593)
  calling smb_shm_unregister_process(/var/spool/lock/SHARE_MEM_FILE.processes, 575)
[2000/12/10 18:46:21, 0] locking/shmem.c:smb_shm_unregister_process(435)
  ERROR smb_shm_unregister_process : processreg_file open failed with code Permission denied
[2000/12/10 18:46:21, 8] lib/util.c:fcntl_lock(2632)
  fcntl_lock 5 9 0 1 2
[2000/12/10 18:46:21, 8] lib/util.c:fcntl_lock(2693)
  Lock call successful
[2000/12/10 18:46:21, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)


More information about the samba mailing list