| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Strange Error in Database Links
Hi,
I'm not sure whether you should use NTS authentication services, as the password of user SH is entered in the creation of the DB-link. Try removing (or commenting with #) this line in SQLNET.ORA. Not sure if this helps, but no harm done.
HTH, Henk
"Marco Costa" <mcosta_at_criticalsoftware.com> wrote in message
news:d62b0292.0211060336.3c7fbd1a_at_posting.google.com...
> After some tries I removed the default domain and the sqlnet.ora files
> as only the following:
>
> SQLNET.AUTHENTICATION_SERVICES= (NTS)
>
> Even more strange,
> When I connect to my DB in machine1 using SQLPlus and try to access
> the DB in machine2 using DBLINK1 I got the error "ORA-12631Username
> retrieval failed"... BUT if someone in machine2 connects to my
> database using SQLPlus, and uses the same Database Link I used
> (DBLINK1) it works fine!!!
>
>
> The same is true in the other direction: if I log into a remote
> database I'm able to access mine through a dblink, if someone logs
> localy in the db I've logged remotely and uses the same dblink I used,
> he's not able to see my database.
>
> Thanks
> Marco
>
> TurkBear <john.greco_at_dot.state.mn.us> wrote in message
news:<543gsukp7cgq7h2t849kr98a7lctbtluqp_at_4ax.com>...
> > Check the sqlnet.ora files on the server from which you are issuing the
query ( and on the target server as well)
> > and be sure that the authentication parameter is not what is causing
the problem..This is an authentication service error:
>
> --------------------------------------------------------------------------
![]() |
![]() |