LDAP - substitute host name

Is there a way of using a substitution or parameter for the host name? We develop on one LDAP, but run live on another, and don't want to release then edit.
So is there a way of setting the LDAP host in an authentication scheme without hard-coding it?

This might help ...
Dynamic LDAP settings
Pre-authentication process looked something like :-
declare
l_ldap_port NUMBER;
l_ldap_server varchar2(200);
l_ldap_dn_string varchar2(200);
begin
--get the ldap port number
SELECT ldap_port
INTO l_ldap_port
FROM ldap_table;
--set the session state /for LDAP PORT
htmldb_util.set_session_state('FXXX_LDAP_PORT',l_ldap_port);
--repeat for  host and dn dtring 
END;

Similar Messages

  • Host name lookups via ldap

    Hi, I would like to have OS X do hostname lookups not just from dns and /etc/hosts but also from my ldap server. I've already gotten the connection to the ldap server established via Directory Utility, but can't find something that is equivalent to /etc/nsswitch.conf on OS X Snow Leopard. How would I configure the os to also query ldap for host names?

    This might help ...
    Dynamic LDAP settings
    Pre-authentication process looked something like :-
    declare
    l_ldap_port NUMBER;
    l_ldap_server varchar2(200);
    l_ldap_dn_string varchar2(200);
    begin
    --get the ldap port number
    SELECT ldap_port
    INTO l_ldap_port
    FROM ldap_table;
    --set the session state /for LDAP PORT
    htmldb_util.set_session_state('FXXX_LDAP_PORT',l_ldap_port);
    --repeat for  host and dn dtring 
    END;

  • Problem. Help please. Server Host Name "already used"

    Hello.
    This isn't very critical. But I'm getting a little tired.
    For some reason, from time to time, it appears the following message:
    "The server host name '[my nameXX]' is already being used. It has been substituted by [my_nameXX+1]".
    So it keeps incrementing by 1 that index next to the name of the computer...
    It seems like the name of the computer stays somehow in the net, in the router or in itself, and when I restart my MacBook, it finds that the name is already used.
    Any idea??
    Thanks in advance

    Hola ElPiter, y una cálida bienvenida a los foros!
    The last time I saw this I think it was the Router or Server doing it.
    Does everything have the latest Firmware updates? Routers in particulasr can't be trusted for any Auto update/notification of Firmware.

  • How to check the host name or rename the host name in Enterprise Manager

    Hello,
    How do i check the host name or rename the host name in Enterprise Manager for Oracle 11g?
    Regards,
    Ming Man

    there is a shell script called chgip or something
    like that is there . I used it for IAS. I beleive the
    same is there for database too
    Rajesh AlexIf there is, I have not been able to find it.
    Off the top of my head, changing the host name involves at least the following (others feel free to add on):
    For listener and connectivity
    - listener.ora
    - tnsnames.ora (on all clients as well)
    - potentially ldap.ora (on all clients as well)
    - init.ora parameter LOCAL_LISTENER
    For admin using Enterprise Manager (starting 10g)
    - the contents of the sysman schema
    - the directory name of the OEM agent directory
    - the directory name of the OEM OC4J config directory
    - various config files in the OEM OC4J config directory
    Oracle provides the emca to handle this last set.
    In addition, the following refer to hosts that are [probably] not local
    - init parameter REMOTE_LISTENER (usually just points to a tnsnames.ora entry naming remote hosts)
    - init parm SMTP_OUT_SERVER
    Again, adding to the list might be interesting.

  • Change my Host Name in Solais 10

    Please, when I run smc(Solaris Management Console) I can see in System Information, that my Host Name is unknown. How can I change that?

    It's strange that you don't have etc/nodename, it must be in etc/. May be you'll try to create it? Besides, I think this article can help you:
    Setting Up a Solaris DHCP Client
    One of the problems that can arise when trying to use a Solaris box as a DHCP
    client is that by default, the server is expected to supply a hostname, in
    addition to all the other stuff (like IP address, DNS servers, etc.). Most cable
    modems and home routers don't supply a (usable) hostname, so it gets set to "unknown".
    This page describes how to get around that. (Where this page says "cable modem",
    "DSL modem" can be substituted.)
    This page assumes that le0 is the interface you using for your DHCP connection.
    Substitute hme0 or whatever interface you're actually using in the examples
    below.
    Setting up DHCP
    There are two ways of using DHCP:
    DHCP has limited control
    DHCP has full control
    The first case may be where you want to use your own /etc/resolv.conf and so on,
    with a minimum of hassle.
    The second case would be the normal situation, especially if your cable modem
    provider has a habit of changing DNS name server IP addresses on you (like mine
    does!), so I'll concentrate on that here. I have a script to automate the first
    method, should you want to use it. You'll need to change the DEFAULT_ADDR and
    INTERFACE variables as required.
    The first thing to do is to create an empty /etc/hostname.le0, like this:
    /etc/hostname.le0Creating this file ensures that the interface gets plumbed, ready for the DHCP
    software to do its stuff.
    Next, you create /etc/dhcp.le0. This file can be empty if you want to accept the
    defaults, but may also contain one or both of these directives:
    wait time, and
    primary
    By default, ifconfig will wait 30 seconds for the DHCP server to respond (after
    which time, the boot will continue, while the interface gets configured in the
    background). Specifying the wait directive tells ifconfig not to return until
    the DHCP has responded. time can be set to the special value of forever, with
    obvious meaning. I use a time value of 300, which seems to be long enough for my
    cable provider.
    The primary directive indicates to ifconfig that the current interface is the
    primary one, if you have more than one interface under DHCP control. If you only
    have one interface under DHCP control, then it is automatically the primary one,
    so primary is redundant (although it's permissible).
    With these files in place, subsequent reboots will place le0 under DHCP control:
    you're ready to go!
    Unknown hostname
    Actually, there's one snag: most (if not all) cable modem DHCP servers don't
    provide you with a hostname (even if they did, odds are it won't be one you want
    anyway!). This wouldn't be a problem, except that the boot scripts (/etc/init.d/rootusr
    in particular) try to be clever, and set your hostname to "unknown" in this case,
    which is not at all useful!
    The trick is to change your hostname back to the right one, preferably without
    changing any of the supplied start-up scripts, which are liable to be being
    stomped on when you upgrade or install a patch. You've also got to do it early
    enough in the boot process, so that rpcbind, sendmail and friends don't get
    confused by using the wrong hostname. To solve this problem, put this little
    script in to /etc/init.d/set_hostname, with a symbolic link to it from /etc/rc2.d/S70set_hostname.
    Starting with Solaris 10, the preceding paragraph can be ignored. Instead, just
    make sure that the hostname you want to use is in /etc/nodename; the contents of
    that file will then be used to set the hostname. (Note that it is essential that
    the hostname you put into /etc/nodename is terminated with a carriage return.
    Breakage will happen if this is not the case.) Also, from Solaris 8 it is
    possible to tell the DHCP software not to request a hostname from the DHCP
    server. To do this, remove the token 12 from the PARAM_REQUEST_LIST line in /etc/default/dhcpagent.
    (/etc/default/dhcpagent describes what the default tokens are; 12 is the
    hostname, 3 is the default router, 6 is the DNS server, and so on.)
    With these modifications in place, reboot, and you'll be using your cable modem
    in no time!
    If you've got more than one machine, and you want to access the Internet from
    all of them, you might also find my Solaris NAT page useful.
    If this page has been useful to you, please consider buying a copy of my book,
    Solaris Systems Programming.
    Send any questions or comments to: [email protected]
    And this is the script:
    #!/sbin/sh
    # Name: set_hostname
    # SCCS Id: @(#)set_hostname 1.2 07/26/04
    # Description: This file is a script for re-setting your hostname to the
    # right value if you use DHCP (which has a habit of setting
    # your hostname to "unknown" if you use a cable modem).
    # Copyright Љ 2000-2004 by Rich Teer. All rights reserved.
    HOSTNAME=`cat /etc/nodename`
    echo "Setting hostname to $HOSTNAME... \c"
    uname -S $HOSTNAME
    echo "Done."
    It's another variant, more complex:
    #!/usr/bin/sh
    # set_hostname
    # Setting DHCP hostname when not provided from DHCP-server.
    # Make sure you have a "clean" copy of /etc/hosts (fx. /etc/hosts.orig)
    # As this script will clean up and set the hostname in /etc/hosts.
    # The script can be run in hand, or as a startup script in:
    # Solaris 8/9: /etc/init.d; /etc/rcX.d
    # Programmed by: Yngve Berthelsen
    # Date: 20050216
    # E-Mail: [email protected]
    # Last updated: 20050216
    # History:
    ### Variables used in script
    NODENAME="/etc/nodename"
    HOSTALIAS=`cat /etc/nodename|nawk ' BEGIN { FS="." }; { print $1 }'`
    HOSTFILE="/etc/hosts"
    ORGHOST="/etc/hosts.orig"
    HOSTNAME=`/usr/bin/hostname`
    NIC="hme0" # Change hme0 to the DHCP interface NIC
    DHCPNIC="/etc/dhcp.$NIC"
    IPADDRESS=`ifconfig $NIC|grep inet|nawk '{ print $2 }'`
    ### Functions to call
    SetHostname()
    echo "Setting DHCP Hostname: $NODENAME"
    /usr/bin/uname -S $NODENAME
    print "$IPADDRESS\t$NODENAME\t$HOSTALIAS" >> $HOSTFILE
    /usr/bin/hostname $NODENAME
    return
    # main
    case "$1" in
    'start')
    if [ -f $DHCPNIC ]
    then
    if [[ $HOSTNAME == "Unknown" ]]
    then
    SetHostname
    elif [[ $HOSTNAME == "unknown" ]]
    then
    SetHostname
    fi
    fi
    'stop')
    if [ -f $DHCPNIC ]
    then
    cp -frp $ORGHOST $HOSTFILE
    fi
    echo "Usage: $0 { start |stop }"
    exit 1
    esac
    exit 0
    ### This script is submitted to BigAdmin by a user of the BigAdmin community.
    ### Sun Microsystems, Inc. is not responsible for the
    ### contents or the code enclosed.
    ### Copyright 2007 Sun Microsystems, Inc. ALL RIGHTS RESERVED
    ### Use of this software is authorized pursuant to the
    ### terms of the license found at
    ### http://www.sun.com/bigadmin/common/berkeley_license.html
    I use the first, "short" script, it works.

  • IP/IVR 4.5 CRS Client Editor Error message Engine host name list is empty

    When the reactive script is being clicked on the client
    version of CRS editor it is returning an error "Engine host name list is
    empty check the LDAP enabled CRS for engines" in the debugging pane ,But i
    dont face any issues when i'm doing the same on the server. KIndly help me
    out to fix this issue
    note : version of ipivr is 4.5 and i am facing this issue when i execute on the client machine and i have attached a screen shot along with this

    Thanks for the response.
    1 . I am able to ping the crs server from the client machine by host anme as well as it's ip address.
    2. yes i am able to ping the client from the server
    3. i get the same error message when using IP address to log into the CRS Editor.
    note :
    1. i face the same issue when i try it out on another client on the same network
    2. since i was facing this issue i tried to install the SR2 and check it out but still i am facing the same issue
    3. there is no firewall in the CRS server or in the client machine where the CRS editor is installed

  • Migrate Server 2008 Certificate Authority To New Server Different Host Name?

    Our internal CA is installed on one of our Exchange servers.  Exchange is being migrated from 2010 to 2013, so all current Exchange servers will decommissioned and replaced with new new Hyper-V VMs with either Server 2008 R2 or 2012 R2 OS. The old VM
    containing Exchange 2010 and the current CA will go away since we cannot afford to use the server resources and use up the required Windows license to keep that server running doing nothing but acting as a CA.
    So, we will either need to move the CA to the new replacement Exchange 2013 server or some other existing server that's being used for something else (maybe one of the domain controllers).
    What is the best way to handle this?  I don't think the migration from Exchange 2010 to 2013 allows for reusing the same host name on the replacement server and if we move the CA to another existing server, it will also be on a server with a new host
    name anyways.
    Can we migrate the CA to a new server with a different host name?
    What about reissuing all the active certificates from the current server to replace them with new certificates from the new server and then decommissioning the original CA?  Can this be automated in some way?
    Which way is best and how would it be done?

    When following the instructions in the guide, I would also consider to switch to new "sanitized" URLs in certificates (CDP and AIA) in case you had used the default URLs now. That's what I did this when migrating W2K3 CAs (with default URLs) to W2K8 R2.
    Per default, the LDAP and HTTP URLs point to the CA server itself (HTTP) or to an LDAP objects that has the same name as the current server.
    Migrating to a new server, you need to make sure that CRLs will still be published to the old locations - thus the new CA server would write to the LDAP object that corresponded to the old server, and HTTP might be fixed by redirecting the DNS record. (Make
    sure this is documented so that nobody thinks it might be a good idea to delete the old object as it "references a server that does not exist anymore".)
    As you have to fiddle with URLs anyway, I would then add new URLs having neutral names - that is URLs not including the name of the CA server. The new CA instance would then 1) publish to the old locations but not add these to certificates anymore and 2)
    publish to new sanitized locations and add them to CDP and AIA URLs.
    Elke

  • 10.5 server changes host name when changed to be member of 10.4 OD Master

    Hi,
    I have a Xserve with 10.4.11. This is my working OD master hostname: AAA, FQDN: AAA.domain, realm DOMAIN. Now I have a PowerMac G5, hostname BBB, FQDN BBB.domain, where I install 10.5 server.
    When it comes up as stand alone, the hostname is BBB (FQDN BBB.domain), but when I then connect it (as domain member) to my OD master, it promts me to say that "AAA" is a used hostname and that it changes hostname to" AAA (2)".
    In my DNS it is still identified as BBB.domain, and it is bind to the realm as BBB.
    Why does it act like this?
    Subsequently I can't get kerberos to work and SMB does not want to be a member of the domain (always get back to standalone instead of becoming member of the domain).

    Here comes a bit more on this one. I waited and maybe this had to do with having a OD master in Tiger and the OD member on Leopard. But now both are in Leopard. And things are the same.
    I have thou been studying the Console after some tips. And I'm changing the host name in Server Admin/Network to BBB (what it should be). And it seems to work fine. Name of the server changes where supposed to (what I can see). And in Console I can se that the administration tool changes host name in a variety of places.
    And now I wait.
    If I do nothing (the network is pretty small), nothing happens. But after a while, I login with for example Remote desktop the followingapears in Console:
    +Jan 3 12:58:02 emil mDNSResponder[30]: User updated Computer Name from AAA (2) to AAA+
    +Jan 3 12:58:02 emil mDNSResponder[30]: afpovertcp.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: ssh.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: sftp-ssh.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: servermgr.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: rfb.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: ldap.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: net-assistant.udp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: adisk.tcp. service renamed from "AAA (2)" to "AAA"+
    +Jan 3 12:58:02 emil mDNSResponder[30]: User updated Local Hostname from AAA-2 to AAA+
    +Jan 3 12:58:03 emil mDNSResponder[30]: Local Hostname AAA.local already in use; will try AAA-2.local instead+
    +Jan 3 12:58:03 emil mDNSResponder[30]: afpovertcp.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: ssh.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: sftp-ssh.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: servermgr.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: rfb.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: ldap.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: net-assistant.udp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: adisk.tcp. service renamed from "AAA" to "AAA (2)"+
    +Jan 3 12:58:03 emil mDNSResponder[30]: User updated Computer Name from AAA to AAA (2)+
    +Jan 3 12:58:03 emil mDNSResponder[30]: User updated Local Hostname from AAA to AAA-2+
    +Jan 3 12:58:03 emil mDNSResponder[30]: mDNS_SetFQDN - hostname unchanged+
    "AAA (2) to AAA" may as well be "BBB to AAA". But I'm very surprised over that the logg claims that "User updated Computer name..." For all I know, I haven't. And note in the middle here that the mDNSResponder changes to AAA (which indeed is used - it's the OD master!!!), discovers that the name is in use, and then changes to "AAA (2)".
    But why does it at all initiate a change from AAA to "AAA (2)"?
    Why can't I call the server BBB?

  • How can I get the host name from Email address?

    hi
    When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanks

    Stripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
    http://www.stopspam.org/email/headers/headers.html
    Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
    Sean

  • We have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc. from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when

    Hello All,
    we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
    from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
    correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
    I have checked IP,DNS,Gateway and more each & everything is well.
    Pls suggest us.
    Pankaj Kumar

    Hi,
    According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
    Please try to enable the option below on the device which has shared folder:
    Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How can I create a host name site collection when I have a 443 web application already created for App model?

    Hi all,
    I have a 2013 farm set up with the App model
    1 web application for path based site collection using host name
    1 web application with SSL (no host name)
    1 web application for mysite
    My business request is that  I need to migrate SSL enabled 2007 content to this farm and use host name site collections.  I tried to create one more web application for this without any luck (the 443 IIS folder is already used by another web application). 
    I thought I bind the previous 443 web application with another IP address should be fine.  Seems like the IIS site is taken (https://server name:443) so it will not let me create one more.  How can I solve this problem so I can create the web application
    to host those host name site collections?  Any suggestion is greatly appreciated.
    Thanks in advance.
    Sally

    Hi Trevor,
    Thanks again for your quick reply.  I try the option 2 right after your post.  I use my front end server name for public URL (https://WFEName:443) and it fails again.  The error message is:
    The directory C:\inetpub\wwwroot\wss\VirtualDirectories\443 is already being used by another IIS Web Site.  Choose a different root directory for your new Web application.
    After reading more, I saw mix Hosted Name Site collection and Path-based site collection aren't recommended.  Unfortunately I already have Path-based site collection created with App model web application
    (the web application without host name) in my farm.  In my Option 2, that web application without host name is used for App routing.  This takes the root folder 443 which will not allow any other web application to use the same name again. 
    Does that mean we can't create Host Named Site collection in the same farm?  Is there any configuration I need to check?
    Thanks again.
    Sally

  • HOW TO DEFINE VIRTUAL HOST NAME IN HPIA64 + SAP R/3 ENTERPRISES 4.7

    Hi all,
    I am trying to install sap r/3 enterprises 4.7 with OS as HP-UX and Database as Oracle in a cluster environment.
    In cluster environment sap installation should be done on virtual hostname ( package id ). I'm using the env variable SAPINST_USE_HOSTNAME=<VIRTUAL HOSTNAME>.
    My cluster is running and I'm able to ping it from network, but at the time of SAP Installation my sapinst starts with the physical host name not with the virtual host name.
    What can be the solution ..?
    Thanks,
    Chandresh Pranami.

    Hi Chandresh,
    Try executing sapinst with virtual hostname.
    eg. ./sapinst SAPINST_USE_HOSTNAME=<VIRTUAL HOSTNAME>.
    This should work.
    -Pinkle

  • Domain name/"primary DNS" name/mail host name/mail server name/mx name

    Hi,
    I have registered my domain name (N.com) with an external dns server and created an MX record (mail.N.com) for it as well. My server sits behind a router and internet traffic is port(80)-forwarded to my server's fixed internal ip address (I can access my webpages from the internet just fine). When I initially setup the server I was asked to give it a "primary DNS name." I naturally assumed that N.com was supposed to be entered here, but that just caused all kinds of problems (though I still do not understand why). So I reinstalled and currently have server.N.com as the primary DNS name of the server (although it shows up in Server Admin and Workgroup Manager as server.local--why is that?)
    I have had no luck getting any email from the internet with the default settings in mail services (domain name of N.com and host name of server.N.com). Having no luck with the defaults, I assumed that maybe I needed to change the host name to "mail.N.com" so that it matched the MX record. I also changed the user preferences in Workgroup Manager to receive mail from mail.N.com--but still no luck. Could someone tell me what I am doing wrong and how come none of the Mail Service literature mentions anything about what a mail "host name" is supposed to be? Is it supposed to be the same as the "Mail Server" name that Workgroup Manager asks each user for? and is it the same as the MX record name?
    I am just needing some help to connect all these variously named, but undefined, dots.
    Also, how come I can access webmail from the internet using www.N.com/webmail but can't do it from any computers within my physical network (I have to use IPaddress/webmail or server.local/webmail)?
    Also, should my user email addresses be [email protected] or [email protected] (which is the current default)?
    Thanks in advance and good luck!
    John

    I had been told by a friend that ... regular email coming in from the internet would go through port 80
    Unfortunately you were misinformed.
    My MX record needs the extra subname (such as "mail") in front of the domain name, right?
    Not at all. A MX record for 'N.com' is entirely valid (expected, in fact).
    An MX record tells remote mail servers where to send mail for any domain/subdomain. If you think about it, let's say you worked for Apple and you wanted people to be able to send email to [email protected], well then you need an MX record for 'apple.com'.
    You can see if you dig MX apple.com that they actually have 9 MX records, but the point still stands.
    Now, you might also have MX records for subdomains so that you can have [email protected], [email protected], [email protected], etc. Each of these subdomains would need a separate MX record.
    So, in general, for any set of email addresses @[anything.]domain.com you have a MX record telling remote mail servers where to send that mail.
    Of course the MX record name is mail.N.com, but I think you are implying that the in the Mail settings of Server Admin where it asks for domain name all I need to put there is the N.com, right?
    What I mean is that you need to set the domain name to whatever domain name you expect to receive mail at.
    If you want users to have email addresses in the form of [email protected], then you enter 'N.com'.
    If you want users to have email addresses in the form of [email protected] then you enter 'mail.N.com'.
    If you want both forms, enter one in the main domain and add the other(s) in the Advanced -> Hosting -> Local Host Aliases section.
    Is there anything in the Mail settings that needs to have the full MX record name (mail.N.com)?
    Yes. Either the 'domain name' or the 'Local Host Aliases' needs to contain the same thing as your MX record. That's because the MX record tells remote servers to send mail to this machine, but the machine won't accept the mail unless it is configured to do so.
    What is the "host name" supposed to be?
    This should be the name that remote servers see when this machine tries to send outgoing mail.
    Ideally this should match the reverse DNS of your IP address, that way when it connects to a remote server it says "Hi, I'm $hostname" and the remote server can lookup the machine's IP address and see the same result. This will reduce the problem of remote servers thinking you're sending them spam.
    If you only have a single IP address then this probably needs to be something like 'N.com'. If you don't have control over your reverse DNS then you're going to run into a problem.
    Also in the user accounts (in Workgroup Manager) what should the "mail server name" be? Is it the host name or the domain name?
    Off hand, I don't know.
    Also, why are all the default user email addresses [email protected] (the name I gave the server at setup)? Why doesn't the user accounts create [email protected] as the default address?
    Presumably because the mail server says it is 'server.N.com' and therefore any accounts on that machine would be [email protected]. Changing the domain name (as above) should fix that.

  • Clearing Host Name from Dynamic DNS set up - Home ...

    I changed my DNS provider due to poor performance. Since then I have been trying to change the host name and it stays with the original.  Do I have to rest teh home hub back to default settings and set it up again?
    If so this is very poor...!

    Oh and that is "reset the hub"

  • How to resolve a host name from IP using JNDI/DNS service provider

    Hi
    I got two questions on JNDI/DNS service provider:
    1) How to resolve a host name when i got an IP
    I understand How I do it inverse.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
    2) This example above works when I specify the domain in the provider url.
    If I am not specifing a domain but only the dns server I got an NameNotFoundException.
    What should I do if I don't got the domain?
    get the availible domains and loop on them?

    Hi,
    if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
    String server = "your.dns.server";
    String domain = "in-addr.arpa";
    String ip = "4.3.2.1";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
    2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
    3: Request the PTR attribute
    see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
    Martin

Maybe you are looking for

  • Vendor error in STO ????

    Hi, I am doing Stock transfer from plant to plant in same company code. I have done STPO >DLV>INV>Ex. INV at the time of MIGO ia mfacing some problem. i have maintain all the information in the Excise TAB of migo but still face the following errors.

  • Linux kernel 3.2.12-1 - 3.2.13-1 image broken, boot fails

    When updating with pacman yesterday a few errors were showing up... unfortunately I was in a  hurry and had to leave unpredictably. Turning on my PC today revealed that it was not a good idea not to investigate the matter... Seems that building the n

  • Samsung 56" - 5 years old has no sound out of the blue

    Hello. I am wondering if anyone has had this issue.  I checked the archives and do not see anything regarding sound. It was working fine last night. Today, no sound but perfect picture. We checked all of the plugs, outlets, etc. everything is fine. H

  • Tile Based Collision Detection

    I am following Tonypa's Tile Based Tutorials and I have to say, they are great. He covers everything needed, except for one thing I am troubled on - Refering to Tutorial 9, http://www.tonypa.pri.ee/tbw/tut09.html, Stupid Enemy, instead of an enemy I

  • HT1904 How do I update credit card info?

    How do I update credit card info?