[Samba] Problem with smbclient and tar archive

kurt weiss input.maillists at kwnet.at
Thu Sep 25 14:58:07 GMT 2003



Leonardo F. Dan schrieb:

> yes, but smbtar can't estabilish connection with a server...
> 
> smbtar command: smbtar -v -s server_name -x share -u windows_user -p 
> password -t file.tar
> 
> command results:
> [2003/09/25 11:38:11, 2] lib/interface.c:add_interface(79)
>  added interface ip=172.16.2.11 bcast=172.16.15.255 nmask=255.255.240.0
> [2003/09/25 11:38:11, 2] lib/util_sock.c:open_socket_out(726)

seems, your network does not run ok, or the windows client denies the 
connection. - have u a firewall between?
was smbtar running as root? (a.f.a.i.k. mount and tar have to)

>  error connecting to 172.16.1.202:445 (Connection refused)
> Anonymous login successful
> [2003/09/25 11:38:14, 1] client/client.c:do_connect(2598)
>  Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> [2003/09/25 11:38:14, 2] lib/util_sock.c:open_socket_out(726)
>  error connecting to 172.16.1.202:445 (Connection refused)
> Anonymous login successful
> [2003/09/25 11:38:17, 1] client/client.c:do_connect(2598)
>  Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> 
> kurt weiss wrote:
> 
>> did u try smbtar??
>>
>> Leonardo F. Dan schrieb:
>>
>>> Hi,
>>>
>>> when I connect on Windows machine with smbclient, my terminal display 
>>> the file's
>>> names correctly, but when I make a tar archive with this files, the 
>>> names of this
>>> files with accentuation change to a characters �
>>>
>>> command used: smbclient //machine/share password -U windows_user -Tc 
>>> file_name
>>>
>>> Any idea?
>>>
>>> Thanks.
>>>
>>>
>>
> 




More information about the samba mailing list