Samba caching directory handles? (Writes to incorrect home dir)

Richard Sharpe sharpe at ns.aus.com
Tue May 15 13:03:52 GMT 2001


At 05:06 AM 5/15/01 -0700, Andrew Tridgell wrote:
>> What I am wondering is if samba does any caching of directory handles or
>> the like, and whether samba could be mis-translating //servername/homes
>> to the wrong user, using the directory from a previous user.  Is this at
>> all possible?  
>
>don't use \\server\homes, use \\server\USERNAME instead. NT caches
>connections by share name. It does this even *after* the user logs off
>the client. You can only tell its happening by looking in smbstatus
>and seeing that the client has kept the connection open.
>
>I wonder, should we bight the bullet and finally get rid of
>\\server\homes ? It will break a lot of systems, but it will also save
>a lot of anguish.

If we do this, we should give people lots of warning.

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list