[Samba] can't smbmount a Windows share

Pablo Graziano pablo at compugenic.com
Sat Dec 24 00:15:30 GMT 2005


Dennis B. Hopp wrote:

> Quoting Pablo Graziano <pablo at compugenic.com>:
>
>> Client OS: Slackware 10.2
>> Server OS: Windows 2003 Server sp1
>> Samba version: 3.0.20
>>
>> Actually, it will mount, but I have to way of viewing or browsing the 
>> mounted contents.
>>
>> Here are the commands and their status:
>> smbmount //192.168.0.1/share /mnt/share -o 
>> ro,username=administrator,password=secret  (successful)
>> ls /mnt/share  (fails with access denied message).
>>
>> So once it's mounted, can't do a thing with it. Very frustrating.
>>
>> I've run into a few users on the linux forums with the exact same 
>> issue, but no solution that we've found yet.
>>
>> Notes:
>> I am logged in as root on Slackware.
>> linux box is a member of the domain.
>> authentication succeeds.
>>
>> Any ideas would be much appreciated.
>>
>> Thanks in advance to all helpers
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>>
>
>
> Anything in /var/log/samba/smbd.log ?
>
> --Dennis
>
Here's a snippet of /var/log/samba/log.smbd:

[2005/12/13 02:01:34, 0] lib/util_sock.c:write_data(554)
  write_data: write failure in writing to client 192.168.0.1. Error 
Connection reset by peer
[2005/12/13 02:01:34, 0] lib/util_sock.c:send_smb(762)
  Error writing 4 bytes to client. -1. (Connection reset by peer)

And I don't know if this helps, but here's /var/log/samba/log.wb-DOMAIN:
[2005/12/15 03:06:56, 0] lib/util_sock.c:write_data(556)
  write_data: write failure. Error = Connection reset by peer
[2005/12/15 03:06:56, 0] libsmb/clientgen.c:write_socket(138)
  write_socket: Error writing 138 bytes to socket 13: ERRNO = Connection 
reset by peer
[2005/12/15 03:06:56, 0] libsmb/clientgen.c:cli_send_smb(168)
  Error writing 138 bytes to client. -1 (Connection reset by peer)
[2005/12/15 03:06:56, 0] rpc_client/cli_pipe.c:rpc_api_pipe(438)
  cli_pipe: return critical error. Error was Write error: Connection 
reset by peer
[2005/12/15 03:06:56, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
  cli_rpc_open failed on pipe \samr to machine SBS.  Error was Write 
error: Connection reset by peer
[2005/12/15 03:06:56, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
  cli_rpc_open failed on pipe \lsarpc to machine SBS.  Error was Write 
error: Connection reset by peer
[2005/12/15 03:06:56, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
  cli_rpc_open failed on pipe \NETLOGON to machine SBS.  Error was Write 
error: Connection reset by peer
[2005/12/15 03:06:56, 0] rpc_client/cli_pipe.c:cli_rpc_close(1767)
  cli_rpc_open failed on pipe \NETLOGON to machine SBS.  Error was Write 
error: Connection reset by peer


Any ideas what I can try?

BTW: using smbclient works fine for ftp-like access.






More information about the samba mailing list