[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-vms
Subject:    RE: share modes problem?
From:       Eckart Meyer <meyer () ifn ! ing ! tu-bs ! de>
Date:       1998-07-13 11:58:22
[Download RAW message or body]

>[...]
> The first application I tested is a dBase IV 2.0 for DOS application.  I
> set up a share on the Samba server, and installed the software.  It can
> be run by a single user.  However, when a second user tries to start the
> software, it fails because it is unable to open a network lock file.
> Apparently dBase requires that this file be opened for read/write access
> by more than one user.  Note that I tested the same application on a
> Samba share on a Linux machine (Slackware), and was able to access dBase
> by 2 users.
> 
> So, it seems that I'm encountering a problem due to the fact that the
> Samba "share mode" is disabled in the OpenVMS port, as documented in the
> readme file.  Is this the case?

	Yes. Currently there is no share mode support, simply because
	the DEC C runtime library does not support locking (technical:
	fcntl() does not support the locking functions).

> If so, does anyone know whether there is a workaround?  If not, is there
> a plan to implement "share mode" in the OpenVMS port in an upcoming
> version?

	Unfortunately there is no workaround. I hope (and someone from
	Digital told me so some months ago) that DEC C RTL will eventually
	support a full fcntl().

	The only other solution would be that someone contributes his own
	fcntl() implementation, but that's not an easy task.

	Eckart

-----------------------------------------------------------------------------
For newest imformation on Samba for VMS see:
http://www.ifn.ing.tu-bs.de/ifn/sonst/samba-vms.html. This page also shows
how to subscribe to the samba-vms mail list.
-----------------------------------------------------------------------------
Eckart Meyer                                     Address:  Schleinitzstr.  22
Institute for Communications Technology                    38092 Braunschweig
Technical University of Braunschweig                                  Germany
                                                 Phone:      +49 531 391 2454
E-Mail:   meyer@ifn.ing.tu-bs.de                 FAX:        +49 531 391 5192
ICQ:      3745252
-----------------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic