[Samba] Samba closes my file session

Andrew Bartlett abartlet at samba.org
Mon Dec 5 22:00:39 GMT 2005


On Mon, 2005-12-05 at 12:25 +0000, Toni Casueps wrote:
> When I am working with MS Access and the mdb file is in a Samba share, when 
> I close it and Access compacts the file, I have to reenter my username and 
> password for that share.
> 
> These are the logs in /var/log/samba (the lib/util_sock.c errors are common, 
> I get them other times without having my session closed)
> 
> [2005/12/05 12:59:54, 1] smbd/service.c:close_cnum(833)
>   pablo-w (192.168.0.60) closed connection to service ARCHIVOS
> [2005/12/05 12:59:58, 1] smbd/service.c:make_connection_snum(645)
>   pablo-w (192.168.0.60) connect to service ARCHIVOS initially as user pablo 
> (uid=509, gid=505) (pid 7459)
> [2005/12/05 12:59:58, 1] smbd/service.c:close_cnum(833)
>   pablo-w (192.168.0.60) closed connection to service ARCHIVOS

I suggest you map the drive.  I think what is happening is that the
connection is reference counted, and you only have the access DB open on
the share.  When you compact, the files are closed (to then be re-opened
by the compactor), and the session goes away.  That's my best guess. (I
thought this had a grace period, but this is my theory anyway...).  

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051206/ac339804/attachment.bin


More information about the samba mailing list