REMOTE PC NAME

When I used owa_util.get_cgi_env('REMOTE_ADDR') I can get the PC IP ADDRESS.
Is there any possibility to get PC NAME with using owa_util function?
Thank you!

More information there is my script:
CREATE OR REPLACE
PROCEDURE "PRC_IPADDR_PCNAME"
IS
     error_code number;
     error_msg varchar2(300);
     ipaddress varchar2(30):=NULL;
     pcname           varchar2(30):=NULL;
     pcname_sub varchar2(4):=NULL;
BEGIN
ipaddress:=owa_util.get_cgi_env('REMOTE_ADDR');
pcname:=OWA_SEC.GET_CLIENT_HOSTNAME ; -- PC (Client) NAME
pcname:=LTRIM(upper(pcname));
pcname_sub:=substr(pcname,1,4);
IF ipaddress IN '150.11.25.1','510.18.3.122')
THEN
owa_util.redirect_url('http://www.web1......./');
ELSE
IF pcname_sub = 'KTL-'
THEN
owa_util.redirect_url('http://www.web2.........');
ELSE
owa_util.redirect_url('http://www.web3....../');
END IF;
END IF;
EXCEPTION
WHEN OTHERS THEN
     error_code           := SQLCODE;
     error_msg           := SQLERRM;
     htp.print('** ERROR: '||to_char(error_code)||' : '||error_msg);
END;
/

Similar Messages

  • Remote LAN Name Resolution on VPN not working after upgrading to iOS8

    Has anyone come across the problem since upgrading to iOS8 where remote LAN name resolution does not work when connected to the remote LAN with VPN.  Everything worked fine on iOS7 and continues to work okay on devices that have not been upgraded.
    If I'm connected with WiFi on the local network, I am able to resolve the FQDN to a local IP address.  The problem arises when I'm away from the office, on either LTE or another WiFi and I start a VPN connection to the office.  The VPN connects without any problems.  If I try to connect to a desktop with the FQDN it never connects.  I will work if I connect with the IP address.  If I try to do an nslookup of the FQDN, I don't get a response.  I am however able to get a response when performing an nslookup for google.com.
    The VPN we are using is PPTP to a Windows network.

    Has anyone come across the problem since upgrading to iOS8 where remote LAN name resolution does not work when connected to the remote LAN with VPN.  Everything worked fine on iOS7 and continues to work okay on devices that have not been upgraded.
    If I'm connected with WiFi on the local network, I am able to resolve the FQDN to a local IP address.  The problem arises when I'm away from the office, on either LTE or another WiFi and I start a VPN connection to the office.  The VPN connects without any problems.  If I try to connect to a desktop with the FQDN it never connects.  I will work if I connect with the IP address.  If I try to do an nslookup of the FQDN, I don't get a response.  I am however able to get a response when performing an nslookup for google.com.
    The VPN we are using is PPTP to a Windows network.

  • Add Timestamp to Remote File Name in Output Tab

    Hi,
    Is it possible to add a timestamp to the Remote File Name in the Destination part of the Output tab?
    E.g. If I have an FTP as the desgination, can I have a file name as dailyReport20130227.pdf, where the date part is generated dynamically on every run?
    Thanks and Regards
    JB

    For everyone's reference, this is possible using the below delimiters.
    http://docs.oracle.com/cd/E15586_01/bi.1111/e18861/T539768T541118.htm
    Expression     Description
    %y     Displays the year in four digits: Example: 2011
    %m     Displays the month in two digits: 01-12 (where 01 = January)
    %d     Displays the date in two digits: 01-31
    %H     Displays the hour in two digits based on 24-hour day: 00-24
    %M     Displays the minute in two digits: 00 - 59
    %S     Displays the number of seconds in two digits: 00 - 59
    %l     Displays milliseconds in three digits: 000 - 999
    In this case, we just need to set up the file name as "+dailyReport%y%m%d.pdf+"

  • LDAP Profile Source - "Remote Unique Name" oddity

    We have an Active Directory that I've set up to use as an Authentication Source, and it also retrieves a few properties from there - not a problem.
    We also have an LDAP directory which contains other attributes of users that I need to retrieve.
    I set everything up as I thought it should be, however it's querying the LDAP server with the wrong parameters!
    An example user I have is IUSER\803244205. ALUI is showing the Login Name as "IUSER\803244205", the Remote Unique Name as "137eb349-7579-4b15-9a68-b1bff296d933" and the Remote Authentication Name as "803244205@IUSER".
    When I look at the LDAP job, the error log is showing that it's trying to sync using the Remote Unique Name -
    Unable to attach to user 137eb349-7579-4b15-9a68-b1bff296d933, user not found
    My LDAP directory only holds (and is keyed on) the numeric portion of the login name (known as EIN to us) - 803244205. I have got this EIN as a property of the user (a seperate Property that I have mapped to the User object), which is held as a seperate attribute on the Active Directory.
    So how do I tell the sync job to use the EIN (which happens to be the "User Name Attribute" on the Authentication Source - samAccountName), rather than trying to use the "Remote Unique Name", which it appears to have generated for itself!
    Cheers

    Arrgh! Just found the option for myself, seconds after posting this! Cheers anyway.

  • Get Remote Machine Name and SerialNumber

    Hi -
    Looking to get remote machines name and serial number using computer names in a text file. THis is what I have but it's not working. ANy suggestions? TIA
    $computers = Get-Content c:\GETSN\computerlist.txt
    $computers | foreach { Get-WmiObject -ComputerName computers -Class Win32_BIOS | Select -Property PSComputerName,SerialNumber}

    Are you sure that all of the machines are online and you can run remote WMI queries against them?
    This should try to take some of that error handling into account:
    Get-Content .\computerList.txt | ForEach {
    $props = @{
    ComputerName = $_
    SerialNumber = ''
    Status = 'OFFLINE'
    If (Test-Connection -ComputerName $_ -Count 1 -Quiet) {
    $props.Status = 'Online'
    try {
    $bios = Get-WmiObject Win32_BIOS -ComputerName $_ -ErrorAction Stop
    $props.SerialNumber = $bios.SerialNumber
    } catch {
    $props.SerialNumber = 'ERROR retrieving value'
    New-Object PsObject -Property $props
    } | Select ComputerName,SerialNumber,Status | Sort ComputerName
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • COM+ Application Update Activation Remote Server Name

    Hello all
    We have a 3rd party application during installation it asks for a server name then it creates a COM+ application that registers the server name in the Activation tab for Remote Server Name.
    I've found the Remote Server Name in the registry to change however that doesn't change the value in the Activation tab for the COM+ application. My question is: Is there a way to change the value in the Remote Server Name without having to manually
    change it on each computer? I can't find any other keys in the Registry to change the Remote Server Name.

    Hi Jack,
    Unfortunately since Group policy object or Group policy group policy preferences won’t affect 3rd party application configurations, I am afraid that If we cannot find relevant Registry entry, there might be no way to get that goal by using
    building feature in Windows. Since we are not expert about this application, I’d suggest contact with this app vendor/developer check if there is any .conf file for deploy, there you might get more effective suggestion by experts who familiar with
    practice on this.
    Also you could try to change the value from application interface, and at the same time using process monitor to check that if any registry value modification occurs.
    For more information about process monitor
    https://technet.microsoft.com/en-us/library/bb896645.aspx
    Best Regards,
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 10.3.1 remote using name

    Hi Guys,
    Since we have updated our primaries to 10.3.1, we are unable to remote control any client running 10.3.1 by device name. If we choose the machine IP address from the drop down instead of the name, we can remote control the device just fine. Machines running older clients are unaffected, it is only machines running the newer clients.
    I should add I can resolve the IP address of the device from the name on my PC without any problems, and I guess the server must be able to as well if its giving me the ip address in the drop down.
    All the clients i'm trying it on are XP
    Anyone else having the same issue? Its not the end of the world, just a bit weird.
    Thanks
    Dave

    Hi,
    You can try disable at ZCC - Configuration -Remote Management ==> Look up viewer DNS name at the start of remote session

  • Dynamic Remote File Name for delivering report via FTP

    As many of the threads had the same query about how to pass dynamic filename while scheduling a report using ftp option.
    My requirement is to append the 'ID' which is the identifier of the report with the template name in the Remote Filename section.
    Eg. if ID is 1-34RT5 and the filename should be 1-34RT5_abc.pdf
    I tried appending date(%m%d%y) and it worked for me, but how can I append a parameter?
    Is it possible in stand alone BI Publisher 10.1.3.4?
    Pls let me knw if someone has implemented this. Would really Appreciate.

    for bursting, can I change dinamically the file name?
    I have to burst an invoice report to send to different customer and store to a FTP archive folder.....
    can I change dinamically this name?
    can I select fields to name the pdf file name?
    can I change object and text of the e-mail?
    tks a lot to all
    Andrea

  • BIND appends my domain to remote host names when querying

    I'm running BIND v9.3.0 on Solaris 8.
    All the zone files, named.conf, resolv.conf etc seem to be properly
    configured.
    I get normal name resolution for hosts located inside my v-lan.
    Sendmail works inside my v-lan.
    However, when I try to hit an internet site outside of my v-lan it
    won't resolv.
    So, setting nslookup to debug mode, I did a lookup of a remote host.
    The result is that, when my local dns is queried, the host name alone
    is used, like its supposed to
    i.e.
    ;;res_nmkquery(QUERY, hostname, IN A)
    This is a remote host so, obviously, my DNS has no record of it, so it
    tries the remote server. This is where the problem comes in. When
    the remote server is queried, my domain gets appended to the host
    name:
    i.e.
    ;;res_nmkquery(QUERY, hostname.MYDOMAIN, IN A)
    Since the host does not reside in my domain, obviously this fully
    qualified domain name will never resolve because it isn't correct.
    How do I make it stop????!!!!!

    I notice the following error logs in server :
    EXCH.xxxx.org.xx in the personal store on the local computer. Therefore, it is unable to support the STARTTLS SMTP verb for the connector Default Frontend EXCH with a FQDN parameter of EXCH.xxxx.org.xx. If the connector's FQDN is not specified, the computer's
    FQDN is used. Verify the connector configuration and the installed certificates to make sure that there is a certificate with a domain name for that FQDN. If this certificate exists, run Enable-ExchangeCertificate -Services SMTP to make sure that the Microsoft
    Exchange Transport service has access to the certificate key.
    What this issues,

  • Apple remote desktop name and organization

    Hi
    I just downloaded apple remote desktop from my developer account but when i run it and put the serial number
    it also asks for name and organization which doesnt exists in the file that have the serial number so from where
    i can get those ?

    The latest version of ARD is available from the App Store, and does not require a serial number. You can also buy the serial numbered version, with a serial number, at the online store (http://store.apple.com/us/search?find=apple+remote+desktop).

  • Colon in Remote Folder Name

    Hey all, I'm having trouble setting up a site in Dreamweaver CC.
    The problem is the first folder in the path is called "devweb02:sites", and when I save that in the site manager DW changes it to "devweb02/sites" and tells me it can't connect.
    I can connect without the remote path and I can navigate into that folder just fine, but there are dozens of sites on this server, it's a mess. I also have no access to change the name of this folder.
    Has anyone had something similar happen? Any ideas on getting this to work?
    Thanks

    They say "real estate is all about location, location, location"
    Well "HTML is all about syntax, syntax, syntax".
    Colons, semicolons, slashes, question marks, exclamation points and spaces are taboo in file paths and names. You'll need to find a way to change this or it will continue to cause you problems, and it'll get worse if and when you put the site online.

  • Airtunes remote speaker names

    I recently replaced an airport express, and added another, to play iTunes from remote amplifiers-speakers in other rooms. Problem: With regard to the "Choose which speakers to use" box in the lower right corner of the iTunes.
    1. I cannot remove old and no longer valid named airport express devices that connect to the amplifiers.
    2. I cannot rename a device to a renamed airport express name. The name of the airport express was changed using the "Airport Utility"
    3. A minor concern is names of airport expresses used to extend the network and/or connect to a printer show up in the "Choose which speakers to use" box.
    I guess the question is how do I manage the names in the "Choose which speakers to use" box.

    Hello,
    Try deleting this file. com.apple.airport.airportutility.plist
    /Users/YourName/Library/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and restart your Mac.
    Try resetting Airport. Reset Airport Express
    Carolyn

  • Connecting from a remote computer / name resolution issues

    My work has two SQL Server 2005 databases, one installed on a Windows XP machine (running some equipment) and one installed on a Windows 7 machine (backing up the files from the XP instance).  Both computers run only the default instance.  I had
    replication set up and functioning (data being created on the XP maching was being replicated to the Win 7 machine) for the last three weeks in July.  I recently noticed that the replication is no longer working (the files were no longer being copied),
    and when I tried to check the status I got an error about named pipes, or, if I disabled named pipes "tcp provider error 0 no such host is known".
    At the time I found the replication problem, I could connect to both databases through SSMS on the Windows 7 machine.  On the XP machine, I could use SSMS to browse to the Win 7 instance but SSMS would not connect to the Win 7 instance by name (same
    errors about no such host known); the connection does go through by IP address.  I can ping from the Win 7 machine to the XP machine both by IP address and by name.  I could ping from the XP machine to the Win 7 machine by IP address but NOT by name.
    I tried running the workgroup wizard on the XP machine, thinking this might help with the name resolution problem.  In the wizard, I changed the workgroup name to a new name.  I changed the workgroup name on the Win 7 machine to match.
    This change did not affect the ping status - I can still ping by both name and IP address from the Win 7 machine, and still only the IP address works from the XP machine.  However, now SSMS on the Win 7 machine no longer sees the XP machine!  Trying
    to log in with either the machine name and the IP address, I now get a "timeout expired" message, and the SSMS login browser does not show the XP machine on the network.
    Any pointers on where to look for the cause of this problem would be very welcome.

    There was some problem (bug?) with the remote connections flag on the Win 7 server.  Someone had posted in the comments to a technet article that unchecking the remote connections box, restarting the server, then re-checking it helped them.  I
    tried it, and that fixed the problem with the Win 7 machine being unable to see the XP machine.
    Olaf's suggestion about the Hosts file fixed the problem with the XP machine having to use the IP address - now it can connect by name as well.
    Now I just have left the problem of a broken subscription to my replication, but that's a separate issue so I'll consider this thread closed.  Thanks to everyone who offered suggestions.

  • TM Stores remote access name and password incorrectly

    Has anyone had problems using TM with a shared disc on a remote machine ? TM ask for a account name and password to mount the disc but does not store it correctly and then can mount the disc on future backups. You should not have to leave the shared remote disc mounted on your machine constantly, TM should mount the disc when it performs a backup and then unmount it. It has worked for me for a while and then the name a password got corrupted and it quit working unless I mount the remote disc manually and leave it mounted 24/7.
    Anyone had these problems ?

    Hello there,
    I just recently had a similar problem after installing some updates! It was working perviously without problem, but not now. I am not sure if there is a connection between the newly installed updates and this problem.
    I deleted the passwords from keychain then saved them, but still without avail.

  • Lookup remote JNDI name

    hi
    i develop a EJB application on the weblogic app server.
    now i want to access this service on the different machine.
    localy i access this with simple JNDI lookup as
    Context c=new InitialContext();
    SessionBeanDemoRemoteHome home=(SessionBeanDemoRemoteHome) c.lookup("ejb.SessionBeanDemoRemoteHome");but I don't know how access this remotely
    please help me.

    Thanks a lot for your reply...
    anyway, I need to lookup in the standard reference way:
    ic.lookup("java:comp/env/ejb/MyEJB")
    I am already doing it the way you have kaindly explained to me, but
    ic.lookup("ejb/MyEJB")
    Is a direct JNDI lookup. I'd like to install jboss naming factory in tomcat's server.xml file, so that the bean is deployed in Jboss with a JNDIName like:
    MyEJB_MyProject
    and is looked up from jsp in the standard refernce way... as
    ic.lookup("java:comp/env/ejb/MyEJB") (this is a reference, not a JNDI direct lookup.
    (I might not have explained this right in my first message)
    My problem is that I don't know where does tomcat insert the ejb-links, and how to insert them.
    I have added to server.xml:
                   <Ejb name="ejb/UserManager"
    type="Session"
    home="com.servengine.UserManagerHome"
    remote="com.servengine.UserManager"/>
    <ResourceParams name="ejb/UserManager">
    <parameter>
    <name>factory</name>
    <value>org.jnp.interfaces.NamingContextFactory</value>
    </parameter>
    <parameter>
    <name>java.naming.factory.initial</name>
    <value>org.jnp.interfaces.NamingContextFactory</value>
    </parameter>
    <parameter>
    <name>java.naming.provider.url</name>
    <value>172.26.0.17</value>
    </parameter>
    <parameter>
    <name>java.naming.factory.url.pkgs</name>
    <value>org.jboss.naming:org.jnp.interfaces</value>
    </parameter>
    </ResourceParams>
    But obviously this is not enough... I must map the reference/link to the JNDI name.
    Any ideas?
    (I'll have to rewrite all references in my beans to direct lookups and do it the way you propose if I don't find a way to do it...)
    Thanks a lot for your message,
    Ignacio

  • Flash Remoting - Server Name Change?

    Our server was serving Flash objects without any errors until
    we changed the server name. Now the flash object downloads but it
    never finishes rending. It looks like it is trying to request a
    service from the server but it just sits and spends....
    - help

    Ok, found it
    Used the command line tool changeip as root:
    sudo changeip +oldip newip oldname newname+
    ...and it worked

Maybe you are looking for

  • Error in deploying java sp

    Hello SDNers, I'm trying to upgrade the SPS to 14. I got into error in the last one "sap.com/CAF". All the other components are in SP16. The error which i am getting is , For detailed information see the log file of the Deploy Service. 09/01/13 10:51

  • Imac for Pro wedding photographer?

    I am thinking of going to a Mac for my desktop, Have a macbook now for other things. Any pros using the 24" Imac to edit photos? Is the screen good enough for good color correction and can it be calibrated using monitor calibrators? The other thing I

  • I have no music. im going insane

    so for the last couple days my itunes hasnt been working, ive tried uninstalling it and re installing it and still its not working. when i double click on the short cut or the link in the start menu the salt time pops up for a few seconds then goes a

  • Slow to send files over airport extre and msn(amsn)

    Hi! When trying to send or recieve files on msn or amsn it is very slow...got 10mb connection but it sends and recievs at only 4kb (modemspeed)... And it is only over msn i got the problem...if i download over the internet the speed is aroung 800kb/s

  • HELP!!! Hidden folder in MyComputer: iPod_Control

    When I connect my ipod to MY computer there is a "hidden" folder calles iPod_control where i can enter and find all my music. The songs etc. are randomly divided in 49 folders. However, this hidden folder only appears when it is connected to MY OWN c