[Samba] 3.0.9 and macro %f
Thomas Bork
tombork at web.de
Tue Dec 7 07:28:22 GMT 2004
Gerald (Jerry) Carter schrieb:
> | samba 3.0.9 cannot expand %f anymore:
> |
> | Sending a netbios message to the samba server himself
> |
> | test2 # echo test | /usr/bin/smbclient -U 'eisfair Samba Server on
> | TEST2' -M TEST2 -I 192.168.0.6
> | Connected. Type your message, ending it with a Control-D
> | sent 6 bytes
> |
> | From smb.conf:
> |
> | message command = /bin/mail -s 'message from %f' root < %s; rm %s
> |
> | And this is the mail (see Subjekt):
> |
> ...
> | To: root at tommaik.de
> | Subject: message from ______________2___
>
> The code hasn't changed. have you looked at a level 10
> debug log for clues?
[2004/12/07 08:19:29, 5] smbd/connection.c:claim_connection(170)
claiming 0
[2004/12/07 08:19:29, 5] smbd/reply.c:reply_special(284)
init msg_type=0x81 msg_flags=0x0
[2004/12/07 08:19:29, 6] lib/util_sock.c:write_socket(449)
write_socket(24,4)
[2004/12/07 08:19:29, 6] lib/util_sock.c:write_socket(452)
write_socket(24,4) wrote 4
[2004/12/07 08:19:29, 10]
lib/util_sock.c:read_smb_length_return_keepalive(505)
got smb length of 73
[2004/12/07 08:19:29, 6] smbd/process.c:process_smb(1091)
got message type 0x0 of len 0x49
[2004/12/07 08:19:29, 3] smbd/process.c:process_smb(1092)
Transaction 1 of length 77
[2004/12/07 08:19:29, 5] lib/util.c:show_msg(461)
[2004/12/07 08:19:29, 5] lib/util.c:show_msg(471)
size=73
smb_com=0xd5
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=51201
smb_tid=65535
smb_pid=2117
smb_uid=0
smb_mid=2
smt_wct=0
smb_bcc=38
[2004/12/07 08:19:29, 10] lib/util.c:dump_data(1899)
[000] 04 65 69 73 66 61 69 72 20 53 61 6D 62 61 20 53 .eisfair Samba S
[010] 65 72 76 65 72 20 6F 6E 20 54 45 53 54 32 00 04 erver on TEST2..
[020] 54 45 53 54 32 00 TEST2.
[2004/12/07 08:19:29, 3] smbd/process.c:switch_message(887)
switch message SMBsendstrt (pid 2118) conn 0x0
[2004/12/07 08:19:29, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/12/07 08:19:29, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/07 08:19:29, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/12/07 08:19:29, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/12/07 08:19:29, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2004/12/07 08:19:29, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/12/07 08:19:29, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 65534
Primary group is 65534 and contains 0 supplementary groups
[2004/12/07 08:19:29, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2004/12/07 08:19:29, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.0.6)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(eisfair Samba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(sfair Samba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(air Samba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(r Samba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(Samba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(mba Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(a Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(Server on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(rver on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(er on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence( on TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(n TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(ST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(TEST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte
sequence(EST2)
[2004/12/07 08:19:29, 3] lib/charcnv.c:convert_string_internal(247)
convert_string_internal: Conversion error: Illegal multibyte sequence(T2)
[2004/12/07 08:19:29, 3] smbd/message.c:reply_sendstrt(175)
SMBsendstrt (from ______________2___ to )
der tom
More information about the samba
mailing list