VNC & keychain entries

View: New views
6 Messages — Rating Filter:   Alert me  

VNC & keychain entries

by Rudolf O. Durrer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This time I would need a little help in understanding keychain with VNC.

The thing is:
I run an Applescript from MacMini to start another Applescript on the  
remote computer, like this:

tell application "Finder" of machine "eppc://external_machine.local"
        open file "external_machine HD:Remotes:ext_script.app"
end tell

Runs perfectly as a script, no authentification needed
When I compile my local script to be a script.app, it also runs  
perfectly, but it asks me to authentificate.
OK, no problem so far, but it's a hassle to authentificate myself each  
time....
But that should not be a problem, b'cause the authentification window  
offers a checkbox, asking for "add to keychain".
OK, checked that box, and there is a new entry in my keychain.
But now, my little Applescript tells me each time, that the  
authentification failed. When I open the script.app with the editor  
and run it manually, it works, even without authentification.

What do I do wrong?

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Parent Message unknown Re: VNC & keychain entries

by Rudolf O. Durrer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am 05.11.2009 um 10.55 schrieb Macs R We:

>
> On Nov 4, 2009, at 3:08 PM, Rudolf O. Durrer wrote:
>
>> snip...snip...
>> I run an Applescript from MacMini to start another Applescript on  
>> the remote computer, like this:
>>
>> tell application "Finder" of machine "eppc://external_machine.local"
>> open file "external_machine HD:Remotes:ext_script.app"
>> end tell
>>
>> Runs perfectly as a script, no authentification needed
>> When I compile my local script to be a script.app, it also runs  
>> perfectly, but it asks me to authentificate.
>> OK, no problem so far, but it's a hassle to authentificate myself  
>> each time....
>> But that should not be a problem, b'cause the authentification  
>> window offers a checkbox, asking for "add to keychain".
>> OK, checked that box, and there is a new entry in my keychain.
>> But now, my little Applescript tells me each time, that the  
>> authentification failed. When I open the script.app with the editor  
>> and run it manually, it works, even without authentification.
>>
>> What do I do wrong?
>
> Did you examine the entry in your keychain to see what password was  
> stored there? snip...snip...

Yeah, that's what I had done in first place,but I have to admit: even  
if fields like Name, account or Password are understandable, I have  
not a clue, what fields like Type or Location are for.
So, I could not observe something weird, as far as my little knowledge  
about keychain entries is concerned. Only LOCATION seemed a little bit  
strange to me: it shows the following "eppc://ex._disk.local:3031". I  
can guess the first part of it, but I ignore for what the ":3031"  
stands.
_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Re: VNC & keychain entries

by Macs R We :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Nov 5, 2009, at 10:41 AM, Rudolf O. Durrer wrote:

> Am 05.11.2009 um 10.55 schrieb Macs R We:
>>
>> On Nov 4, 2009, at 3:08 PM, Rudolf O. Durrer wrote:
>>
>>> snip...snip...
>>> I run an Applescript from MacMini to start another Applescript on  
>>> the remote computer, like this:
>>>
>>> tell application "Finder" of machine "eppc://external_machine.local"
>>> open file "external_machine HD:Remotes:ext_script.app"
>>> end tell

>>> But that should not be a problem, b'cause the authentification  
>>> window offers a checkbox, asking for "add to keychain".
>>> OK, checked that box, and there is a new entry in my keychain.
>>> But now, my little Applescript tells me each time, that the  
>>> authentification failed. When I open the script.app with the  
>>> editor and run it manually, it works, even without authentification.

>> Did you examine the entry in your keychain to see what password was  
>> stored there? snip...snip...
>
> Yeah, that's what I had done in first place,but I have to admit:  
> even if fields like Name, account or Password are understandable, I  
> have not a clue, what fields like Type or Location are for.
> So, I could not observe something weird, as far as my little  
> knowledge about keychain entries is concerned. Only LOCATION seemed  
> a little bit strange to me: it shows the following "eppc://
> ex._disk.local:3031". I can guess the first part of it, but I ignore  
> for what the ":3031" stands.

3031 is the TCP port used by eppc (program linking).   Not sure why  
your keychain entry would reference your LOCAL disk, though.

--
   Macs R We -- Personal Macintosh Service and Support
     in the Wickenburg and far Northwest Valley Areas.
                             http://macsrwe.com

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Re: VNC & keychain entries

by steve harley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-11-05 14:34 , Macs R We wrote:
>
> On Nov 5, 2009, at 10:41 AM, Rudolf O. Durrer wrote:
>> Only LOCATION seemed a little bit
>> strange to me: it shows the following "eppc://ex._disk.local:3031". I
>> can guess the first part of it, but I ignore for what the ":3031" stands.
>
> 3031 is the TCP port used by eppc (program linking). Not sure why your
> keychain entry would reference your LOCAL disk, though.

.local means it has been discovered on the LAN (_local_ area network) by
Bonjour, not that it's a local disk; the word "_disk" may also be
misleading -- offhand i'd expect it to reference a machine, not a disk
-- maybe the machine's bonjour name is "_disk"?


_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Re: VNC & keychain entries

by Rudolf O. Durrer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 05.11.2009 um 23.24 schrieb steve harley:

On 2009-11-05 14:34 , Macs R We wrote:

On Nov 5, 2009, at 10:41 AM, Rudolf O. Durrer wrote:
Only LOCATION seemed a little bit
strange to me: it shows the following "eppc://ex._disk.local:3031". I
can guess the first part of it, but I ignore for what the ":3031" stands.

3031 is the TCP port used by eppc (program linking). Not sure why your
keychain entry would reference your LOCAL disk, though.

.local means it has been discovered on the LAN (_local_ area network) by Bonjour, not that it's a local disk; the word "_disk" may also be misleading -- offhand i'd expect it to reference a machine, not a disk -- maybe the machine's bonjour name is "_disk"?

Sorry to have led to confusion, but: the term "ex._disk" is replacing here only the real name used for my EXternal_hardDISK...:-).
This means, the keychain entry shows the following location: "eppc://name_of_my_external_disk.local:3031"

_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Re: VNC & keychain entries

by Rudolf O. Durrer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Am 05.11.2009 um 23.24 schrieb steve harley:

> On 2009-11-05 14:34 , Macs R We wrote:
>>
>> On Nov 5, 2009, at 10:41 AM, Rudolf O. Durrer wrote:
>>> Only LOCATION seemed a little bit
>>> strange to me: it shows the following "eppc://ex._disk.local:
>>> 3031". I
>>> can guess the first part of it, but I ignore for what the ":3031"  
>>> stands.
>>
>> 3031 is the TCP port used by eppc (program linking). Not sure why  
>> your
>> keychain entry would reference your LOCAL disk, though.
>
> .local means it has been discovered on the LAN (_local_ area  
> network) by Bonjour, not that it's a local disk; the word "_disk"  
> may also be misleading -- offhand i'd expect it to reference a  
> machine, not a disk -- maybe the machine's bonjour name is "_disk"?

Sorry to have led to confusion, but: the term "ex._disk" is replacing  
here only the real name used for my EXternal_hardDISK...:-).
This means, the keychain entry shows the following location: "eppc://
name_of_my_external_disk.local:3031"
_______________________________________________
MacOSX-talk mailing list
MacOSX-talk@...
http://www.omnigroup.com/mailman/listinfo/macosx-talk