Re: Linux & RLOCK() - Unix, Samba

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have no idea, but I'd be Talking To that network guy. <s>

I've never used Samba, but I know several who hang here have so maybe one of
them will chime in.

Dan

Debbie wrote:
Dan, my apologies, but...

We have just managed to track down the client's network engineer and
it seems our client misinformed us. They are not running a Linux
file server as we were originally told. They are running a Unix file
server and have Samba installed on top of that to interface with the
Windows OS workstations and run their Microsoft applications.

How would that setup affect my VFP RLOCK() code?

Thanks again - Debbie




"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:u3xrjbSSGHA.5728@xxxxxxxxxxxxxxxxxxxxxxx
Ummmm .... VFP runs in Windows. Only.

Do you mean they're running a Linux file server? I can see that being
problematic if the network redirector doesn't support locking the
same way for that Linux fileserver.

Dan


Debbie wrote:
Recently, a client changed his operating system to Linux. Since
then, they have started to get duplicate order numbers in the VFP
back-office system we designed for them. The system was written in
VFP 7.0 and uses RLOCK() in the code to get the next available order
number. The code used is as follows:

*-- Get next available number
DO WHILE !RLOCK("ordernumber")
LOOP
ENDDO
lcOrderNumber = ALLTRIM(STR(ordernumber.norder))
REPLACE ordernumber.norder WITH (ordernumber.norder + 1) in
ordernumber =TABLEUPDATE(0,.T.,"ordernumber")
UNLOCK IN ordernumber

It seems that RLOCK() might not be working as I expect it to under
this operating system, but I'm not sure why. I am not experiencing
this problem with any other clients, but none of my other clients
are running Linux. Does anyone here know of any problems with VFP
and Linux?

Thanks - Debbie


.



Relevant Pages

  • Re: [SLE] Networking - SuSE 9.3 & WinXPx2 - wireless and wired
    ... >> so with any of my Linux disks. ... I believe this is down to my samba ... I believe that what you may need to do is edit your samba config ... I need to get the network cards to see each other. ...
    (SuSE)
  • Re: Anyone Networking there ?
    ... Could anyone out there help me getting my network to run. ... I am new to Linux and NOT a troll!!! ... it runs in a dual boot with an old Windows and my Windows ... Now add your users to Samba. ...
    (alt.os.linux.suse)
  • Re: RH 9.0, Putting Samba on Linux with RPM?
    ... I'm using realtime Linux and the kernel ... >>Samba for the initial build. ... >>related to the network but gave me the choice to continue, ... > the time server, see 'man ntpd' without the quotes for the details. ...
    (linux.redhat.misc)
  • Re: [SLE] Printerserver
    ... > If from windows, I can use samba that is with in the Clarkconnect ... CC doesn't broadcast on internal network so requests have to ... I have before tried to use samba. ... SuSE Linux 8.2 Proff. ...
    (SuSE)
  • Re: Small Home Network - XP Network Place to Samba Share
    ... Share user permissions were set up on Fedora, and assigned to Samba ... Server and directory I'm trying to share. ... Network consists of 3 servers, DHCP, through a NetGear router. ... On Linux, create identical user account/passwords with your distro's ...
    (microsoft.public.windowsxp.network_web)