dbTalk Databases Forums  

VOC pointer to letter-mapped Network Drive

comp.databases.pick comp.databases.pick


Discuss VOC pointer to letter-mapped Network Drive in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
frosty
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-14-2011 , 04:16 PM






On 9/13/11 2:22 PM, frosty wrote:
Quote:
In UniData 7.2 I am trying to build a VOC pointer
to a file on a different computer (a mac) than the
computer hosting UniData (a PC) but I get:
errno=2: No such file or directory
Open directory file BP error.
Open file error.

The VOC pointer looks like:
001 DIR
002 M:
003 D_BP

Works fine when 002 is "C:" but no joy for "M:".

understatement
The UniData documentation is not helpful.
/understatement

Anybody been down this road before?

Can I get there from here?
Update: Got it working, but not via a letter-mapped
drive. Got the \\computername\sharename\directoryname
version to work, after (1) adding a new User on the
Win server; (2) Logging into Windose as that User;
(3) Going to Control Panel > User Accounts, selecting
the new user, and clicking "Manage my Network Passwords";
(4) Clicking the "Add" button to add a password for a
User on the Mac (which was already set up on the Mac);
(5) In Computer Management > Services and Applications >
Services, double-clicking "UniData Database Services 7.2"
and clicking the "Logon" tab; (7) Changing the radio
button to "This Account:" (8) Inserting the new User
from step 1 and the password; (9) Restarting Unidata
Service. A few restarts here and there, some wailing
and gnashing of teeth.

Thanks to all who contributed!

--
frosty

Reply With Quote
  #12  
Old   
Colin
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-14-2011 , 04:35 PM






Exactly. Net USE will show the mappings currently defined.

I find the full UNC path works better than the sharename. Not sure how
well that will work across to a Mac. IIRC you can setup a mapping
using !net use... that will work - but only for that session. You may
be able to put it into the users environment to make it consistent
(not sure how). Of course, anything that ends up prompting for user/
password will fail as the UDT session can't interpret it. It's easiest
if the user you logged into UD with has the proper permissions on the
remote system as they are used when connecting.

Good luck.
Colin
Calgary, Canada

On Sep 14, 10:10*am, frosty wrote:
Quote:
On 9/14/11 7:40 AM, Colin wrote:

Ditto - the UNC path should work. Remember the UDT process that you
are running likely doesn't have access to all of your maps. Do a !CMD
to get to the shell prompt - then you can see your mappings etc that
are available.

I type "m:" at the command line (D'Oh) and got:
"The system cannot find the drive specified."

That's what you meant by "mappings... that are available" ?

--
frosty

Reply With Quote
  #13  
Old   
frosty
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-14-2011 , 04:50 PM



On 9/14/11 3:16 PM, frosty wrote:
Quote:
On 9/13/11 2:22 PM, frosty wrote:
In UniData 7.2 I am trying to build a VOC pointer
to a file on a different computer (a mac) than the
computer hosting UniData (a PC) but I get:
errno=2: No such file or directory
Open directory file BP error.
Open file error.

The VOC pointer looks like:
001 DIR
002 M:
003 D_BP

Works fine when 002 is "C:" but no joy for "M:".

understatement
The UniData documentation is not helpful.
/understatement

Anybody been down this road before?

Can I get there from here?

Update: Got it working, but not via a letter-mapped
drive. Got the \\computername\sharename\directoryname
version to work, after (1) adding a new User on the
Win server; (2) Logging into Windose as that User;
(3) Going to Control Panel > User Accounts, selecting
the new user, and clicking "Manage my Network Passwords";
(4) Clicking the "Add" button to add a password for a
User on the Mac (which was already set up on the Mac);
(5) In Computer Management > Services and Applications
Services, double-clicking "UniData Database Services 7.2"
and clicking the "Logon" tab; (7) Changing the radio
button to "This Account:" (8) Inserting the new User
from step 1 and the password; (9) Restarting Unidata
Service. A few restarts here and there, some wailing
and gnashing of teeth.

Thanks to all who contributed!
Update to the update:

It turns out that running the uniData service as the
privileged User is not necessary; only logging into
uniData as that User. So ignore steps 5--9. And add
"Log into uniData as the privileged User".


--
frosty

Reply With Quote
  #14  
Old   
frosty
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-14-2011 , 04:55 PM



On 9/14/11 3:35 PM, Colin wrote:
Quote:
Net USE will show the mappings currently defined.
"!net USE" returns "There are no entries in the list."
Which is not a problem as I'm not using the letter-
mapped drive.

Quote:
I find the full UNC path works better than the sharename.
I find the same, thanks.

Quote:
Not sure how well that will work across to a Mac.
Works great, thanks. Looks like the uniData permissions
don't have anything to do with how the uniData service is
run and everything to do with the (Windows) User. So all
I have to do is log into uniData as a Windows User that
can see the Mac share at \\computername\sharename\directory
and all's well.

--
frosty

Reply With Quote
  #15  
Old   
wjhonson
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-15-2011 , 11:55 AM



On Sep 14, 2:55*pm, frosty <fros... (AT) bogus (DOT) invalid> wrote:
Quote:
On 9/14/11 3:35 PM, Colin wrote:

Net USE will show the mappings currently defined.

"!net USE" returns "There are no entries in the list."
Which is not a problem as I'm not using the letter-
mapped drive.

I find the full UNC path works better than the sharename.

I find the same, thanks.

*> Not sure how well that will work across to a Mac.

Works great, thanks. *Looks like the uniData permissions
don't have anything to do with how the uniData service is
run and everything to do with the (Windows) User. *So all
I have to do is log into uniData as a Windows User that
can see the Mac share at \\computername\sharename\directory
and all's well.

--
frosty

This is probably a stupid suggestion but....

Your mv database is running on server / machine X and you are sitting
at PC Y
If you are connected to your mv database and go to DOS *through your
connection* then Net Use ONLY sees the drives that that server has
mapped.
It cannot see the drives that your local PC has mapped for itself.

That is I'm at the '>' TCL prompt, I type DOS or whatever I pop to the
D:\UV\Account
prompt

I now type NET USE at that point. It does not query my *locally
defined* mapped drives.
It queries those drives you've mapped by going into the computer room,
logging into that server / PC running the actual MV and mapping drives
by typing on *that* keyboard.

W

Reply With Quote
  #16  
Old   
frosty
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-15-2011 , 01:04 PM



On 9/15/11 10:55 AM, wjhonson wrote:
Quote:
This is probably a stupid suggestion but....

Your mv database is running on server / machine X and you are sitting
at PC Y
If you are connected to your mv database and go to DOS *through your
connection* then Net Use ONLY sees the drives that that server has
mapped.
It cannot see the drives that your local PC has mapped for itself.

That is I'm at the '>' TCL prompt, I type DOS or whatever I pop to the
D:\UV\Account
prompt

I now type NET USE at that point. It does not query my *locally
defined* mapped drives.
It queries those drives you've mapped by going into the computer room,
logging into that server / PC running the actual MV and mapping drives
by typing on *that* keyboard.
What is this "DOS" to which you refer? =`;^> (j/k)

I've had (limited) success using \\computername\sharename\directory
style of path, and no success using the letter mapped drive, so
have given up on the latter.

--
frosty

Reply With Quote
  #17  
Old   
frosty
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-15-2011 , 01:06 PM



On 9/15/11 10:55 AM, wjhonson wrote:
Quote:
This is probably a stupid suggestion but....

Your mv database is running on server / machine X and you are sitting
at PC Y
If you are connected to your mv database and go to DOS *through your
connection* then Net Use ONLY sees the drives that that server has
mapped.
It cannot see the drives that your local PC has mapped for itself.

That is I'm at the '>' TCL prompt, I type DOS or whatever I pop to the
D:\UV\Account
prompt

I now type NET USE at that point. It does not query my *locally
defined* mapped drives.
It queries those drives you've mapped by going into the computer room,
logging into that server / PC running the actual MV and mapping drives
by typing on *that* keyboard.
What is this "DOS" to which you refer? =`;^> (j/k)

I've had (limited) success using \\computername\sharename\directory
style of path, and no success using the letter mapped drive, so
have given up on the latter.

--
frosty

Reply With Quote
  #18  
Old   
wjhonson
 
Posts: n/a

Default Re: VOC pointer to letter-mapped Network Drive - 09-16-2011 , 11:27 AM



On Sep 15, 11:06*am, frosty <fros... (AT) bogus (DOT) invalid> wrote:
Quote:
On 9/15/11 10:55 AM, wjhonson wrote:





This is probably a stupid suggestion but....

Your mv database is running on server / machine X and you are sitting
at PC Y
If you are connected to your mv database and go to DOS *through your
connection* then Net Use ONLY sees the drives that that server has
mapped.
It cannot see the drives that your local PC has mapped for itself.

That is I'm at the '>' TCL prompt, I type DOS or whatever I pop to the
D:\UV\Account
prompt

I now type NET USE at that point. *It does not query my *locally
defined* mapped drives.
It queries those drives you've mapped by going into the computer room,
logging into that server / PC running the actual MV and mapping drives
by typing on *that* keyboard.

What is this "DOS" to which you refer? *=`;^> *(j/k)

I've had (limited) success using \\computername\sharename\directory
style of path, and no success using the letter mapped drive, so
have given up on the latter.

--
frosty
DOS was created by some pointy-nosed smarmy-faced upstart now nouveau
rich billionaire and the people he stepped on, on the way up. Unix on
the other hand was created by some guy hiding in a closet who no one's
ever heard of since.

You're also going to have permission issues with various directories
depending on how you've setup both the directory permission and your
user groups.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.