[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59)
unix_mode(Desktop.ini) inheriting from .
[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67)
unix_mode(Desktop.ini) inherit mode 42775
[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59)
unix_mode(Desktop.ini) inheriting from .
[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67)
unix_mode(Desktop.ini) inherit mode 42775
[2003/05/29 08:05:11, 1] smbd/service.c:make_connection(636)
sambaclient(111.222.333.444) connect to service home as user sambauser(uid=772, gid=10772) (pid 4803)
[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(59)
unix_mode(Desktop.ini) inheriting from .
[2003/05/29 08:05:11, 2] smbd/dosmode.c:unix_mode(67)
unix_mode(Desktop.ini) inherit mode 42775
[2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(59)
unix_mode(.) inheriting from .
[2003/05/29 08:05:13, 2] smbd/dosmode.c:unix_mode(67)
unix_mode(.) inherit mode 42775
[2003/05/29 08:06:05, 1] smbd/service.c:close_cnum(677)
sambaclient(111.222.333.444) closed connection to service home
As you can see by the last log entry, samba blows the client off and closes the connection less than a minute after it was established. All on it's own.
My users simply will not tolerate having to remap drives umpteen times a day as doing so to an actual MS windows share does not require constant remapping. This behavior is unfortunately a showstopper and I would hate to loose the opportunity for samba to address our UNIX filesharing problems.
I've found slews of reports of this behavior on google, but all the proposed solutions appear to not provide an answer/resolution. Nada @ samba.org & docs (from my perspective).
Thoughts?
John H Terpstra wrote:
On Wed, 28 May 2003, Paul Trepanier wrote:
After awhile, my connections from my PC to my samba server end up with a red "X" in them (share disappeared) if I leave my explorer window open. If I click on these, they "wake up" and continue to function (and the red X's go away). If I close my explorer window (while the red X's are there) and reopen it , they are gone. An attempt to reestablish these dropped connections is immediately successful.
This is obviously a connection persistence issue and I've tried setting both keepalive= and SO_KEEPALIVE (individually, of course) to no avail.
Any ideas?
Your MS Windows client is the culprit - it is dropping idle connections as I recall. Also, you may find that there is a registry setting to turn that feature off.
- John T.
My installation is samba 2.2.8 running as a daemon (not inetd) on Solaris 8 configured to use a WINS server and provide authentication via a PDC (same host as WINS server). I do have an lmhosts file in the samba /lib directory with the PDC/WINS server address in it.
My globals section;
[global] workgroup = WORKGROUP netbios name = SAMBASERVER security = SERVER encrypt passwords = Yes password server = pdc lanman auth = No log level = 2 log file = /usr/local/depot/samba-2.2.8/var/%m.log deadtime = 5 max smbd processes = 5 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE load printers = No show add printer wizard = No preferred master = No local master = No domain master = No wins server = [IP address of WINS/PDC server] follow symlinks = No
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
