From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alain M." Subject: Re: tcp/ip + samba + dosemu Date: Fri, 23 Jun 2006 17:10:34 -0300 Message-ID: <449C4ABA.1090604@pobox.com> References: <200606201508.12819.rafi@pers.pl> <200606221942.15850.zswi@pers.pl> <449B164E.30308@pobox.com> <200606230754.32500.zswi@pers.pl> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <200606230754.32500.zswi@pers.pl> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="utf-8"; format="flowed" To: dosEmu-list There is a file locking problem in FreeDOS which I believe that was=20 fixed, so i suggest: 1) use the latest FreeDOS kernel from http://fdos.org/kernel/ 2) test with MS-DOS. The test you reffer to bellow was with which DOS? The problem may not be in dosemu ;-) Alain Rafa=C5=82 Cygnarowski escreveu: >> > Now my problem is to get to those files in a safe way >=20 >> > (which seems to be using smb client under dos - of course end poi= nts run >=20 >> > linux so dos have to run under dosemu). >=20 >> >=20 >> Why is it not safe to run samba client under Linux? and doseemu on = top >=20 >> of that? >=20 > Locks are not "inherited". When dos under dosemu try to lock file or = region >=20 > of file these locks are not passed to samba server. >=20 >> > I have similar configurations already >=20 >> > running, but I use Novell Netware (and MarsNW) with ipx and Novel= l >=20 >> > Client. Unfrotunatelly this time I can't use Novell and have to s= olve >=20 >> > dosemu to samba connectivity problem. >=20 >> >=20 >> What go wrong if you use a linux-samba client on every machine and = use >=20 >> dosemu with lredir? Have you tried it? >=20 > I use http://www.burtonsys.com/download/TESTLOCK.ZIP for lock tests.=20 > Results of such solution are below: >=20 > test result (test description) >=20 > ------- ------- ------------------------------------------------= ----- >=20 > Test #1 Passed. (Creating & modifying & deleting files) >=20 > Test #2 FAILED! (Examining & modifying file attributes) >=20 > Test #3 FAILED! (Enforced exclusive access, and share errors) >=20 > Test #4 Passed. (Shared read access to files) >=20 > Test #5 FAILED! (Shared modify access to files) >=20 > Test #6 Passed. (File commit) >=20 > Test #7 FAILED! (File region locking, and lock errors) >=20 > ^^^^^^^^^^^^^^^^^^^ >=20 > Test #8 not run (Adjacent region locks, and lock/write conflicts= ) >=20 > Test #9 Passed. (Appending & verifying new file sizes [NT 3.5 bu= g]) >=20 > Test #10 Passed. (Appending & verifying file sizes w/ closes) >=20 > Test #11 Passed. (Appending & verifying file sizes w/ file commit= s) >=20 > Semaphore Passed. (semaphore-file kludge) >=20 > Test #3-A Passed. (Enforced exclusive access & share errors, 2-ses= sion) >=20 > Test #5&6-A FAILED! (Shared modify access & file commit, 2-session) >=20 > Test #7-A FAILED! (File region locking, 2-session) >=20 > ^^^^^^^^^^^^^^^^^^^ >=20 > The same test on the same resource with client directly connected to=20 > samba (eg. on XP) passes all tests. >=20 > --=20 >=20 > Rafa=C5=82 Cygnarowski >=20 > rafi@pers.pl >=20 - To unsubscribe from this list: send the line "unsubscribe linux-msdos" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html