Problem with VMS_SUPPORT.C

Peter Smode psmode at kitsnet.vancouver.bc.ca
Wed Mar 26 21:04:30 GMT 2003


Please check the doc for $GETDVI
(http://h71000.www7.hp.com/doc/731FINAL/4527/4527pro_053.html#jun_285) which
described the common arguments common with $GETDVIW. You'll see in the
description of the devnam argument how information additional to the device
name may be supplied. $GETDVI has no requirement of being fed a device name
only. Also, I don't believe the iosb reference in the call needed
"correcting", due to C language standards for array references.

It would be interesting to know what was reported in the error message about
the name being tested with $GETDVIW to see how the relative path ended up
getting translated into a absolute VMS path. Knowing the specification of
the share in the smb.conf would be helpful too. We won't know what kind of
problem you are having until we see the full error message reported.


Peter

> -----Original Message-----
> From: samba-vms-bounces+psmode=jeslacs.bc.ca at lists.samba.org
> [mailto:samba-vms-bounces+psmode=jeslacs.bc.ca at lists.samba.org]On Behalf
> Of B. Z. Lederman
> Sent: Wednesday, March 26, 2003 12:19 PM
> To: samba-vms at lists.samba.org
> Subject: Re: Problem with VMS_SUPPORT.C
>
>
>   In case it wasn't clear, I'm still seeing erros after changing
>  the call to what I posted in my first message: sys$getdviw and
>  the correct addressing mode.
>
>     The error message passed back says it's trying to do a GETDVI
>  with a "device" name that in fact contains a file specification
>  string.  It should be just a device name without any file or
>  directory information.  This has absolutely nothing to do with
>  logical names.  A GETDVI call has to be fed a device name only.
>  The code clearly indicates that it's being fed a file
>  specification.
>
>     I don't see how this call could ever have worked properly.
>
>
> PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>



More information about the samba-vms mailing list