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;

Similar Messages

  • WRT150N host name lookup problem

    When I try to access a computer on my LAN using the host name I get a unknown host message. When I use the computer's dynamically obtained ip address it works fine.
    Does anyone know if there is a way to make a WRT150N router resolve the host name. My old router used to doit, but i can figure out how to make the WRT150N do it.

    Let me know the Firmware you are using on WRT150N?
    Try uploding the latest firmware on the website 1.01.9 ....
    Try this link ....

  • My iMac can not see my mini Mac via Airport extreme using host name, only via IP address. What am I doing wrong ?

    I have an iMac and a mini Mac attached to the same Airport extreme. It would appear that Bonjour works because I can see the hostname of the mini Mac server in Finder on the iMac.
    But if I type in the host name (myminimac.private) in the Safari browser at the iMac it can not find the mini mac. However if I type in the IP address of the mini mac server it can see the see it.
    It used to work but I must have done something to mess it up.
    Anybody any suggestions ?

    You have the wrong card. You need the original AirPort card for your G4.
    ...how the **** do i get the Superdrive to open up so i can put in a CD/DVD?
    If the keyboard has a media eject key, press that. If not, hold down F12.

  • Network error: Unable to lookup host names

    on one client running the cisco any connect, It is unable to connect and keeps giving an error
    Network error: Unable to lookup host names.
    any idea about this?

    You tell us that this happens on one client. Are there other clients which work ok? If so then I would wonder about some problem with the install of the client on this PC. Perhaps you might un-install and install again?
    HTH
    Rick

  • 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;

  • Host name (localhost) when accessing via web

    I installed Beehive and it is running great.
    But I may have missed something - when I access the clients using http://<my web dns name>:4443/zimbra I keep getting re-directed to http://localhost.localdoamin:4443/zimbra.
    When I downloaded the conferencing add-on it also tries to connect to localhost.localdomain and not to the host name of the server or the DNS name (not the same as the actual hostname).
    The Outlook extension works fine and Beekeeper accepts and stays on the web-host name.
    Can I get Beehive to begin using the web-host name in place of localhost.localdomain ?

    I guess your machine name is incorrecly configured in /etc/hosts or your localhost line does also contain the machine name, which is often the case in linux distros "bare from install".
    http://download.oracle.com/docs/cd/E14897_01/bh.100/e14830/what_you_need_to_know.htm#BHLIN754
    I believe that it should be corrected with
    beectl list_properties --component VIRTUALSERVERthen
    beectl modify_property --component VIRTUALSERVER name ServerName value myserver.mydomain.comfinally
    beectl activate_configuration
    beectl modify_local_configuration_filesnot 100% sure

  • DNS question and no name available via DNS and no reverse DNS errors

    We are running an OS X server, 10.4.11, OD Master. We are getting some error messages, and we have setup DNS to forward requests for example.com. (our website) to our web developer's external web server where our website is being hosted.
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Some Background:
    We are running internal DNS services only. We have a domain, example.com. and our OS X Server, server.example.com. We have a website that is being hosted offsite by our web developer. Long ago when they were setting up the SSL certificate for the site, they obtained a certificate for example.com INSTEAD of www.example.com. So, our web developer setup a redirect to redirect web requests to www.example.com to example.com.
    Now, this brings us to our OS X server (server.example.com). We are hosting internal DNS with the same domain, example.com. When employees inside our LAN would put in our web address, example.com, or www.example.com, it would take them to our OS X server. As a workaround, in the DNS settings for the zone in server Admin, I set the Server IP address for the zone to "Other" and specified the external address to the server where the site is hosted by our developer then setup an A record for our server. (We cannot forward requests to www.example.com since our web developer automatically redirects these requests to example.com since that is where the SSL certificate and the search engines are linked to).
    Well obviously this had serious repercussions for server stability. So, I set the server IP address back to the address of our OS X server itself, 192.168.0.5.
    Now, I then went into command line and manually edited the zone files. Here's part of our zone file:
    $TTL 3600
    example.com. IN SOA server.example.com. sysadmin.example.com. (
    2008031015 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    example.com. IN NS server.example.com.
    example.com. IN A [external IP address of web server]
    server IN A 192.168.0.5
    We are getting the following error messages regularly:
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Questions:
    Do I need to go back to our zone file and change the A record for example.com. to match our OS X server's address: 192.168.0.5?
    Secondly, is there anything I can do in DNS or elsewhere on the server to redirect web requests to example.com to our web developer's offsite server since the developer's server redirects www.example.com to example.com?
    Thanks in advance? I am stumped.
    Thanks,
    Tyler

    Problem was resolved.
    All I ended up doing was edition my reverse lookup file, db.192.168.0. It was correct, and I simply re-saved it without making any changes. Strangely enough, that did it. No idea why. Maybe a permissions issue with the file?
    I'm still running the server with address record for the domain (example.com.) mapped to our external web server. no problems.
    Tyler

  • Getting OS X Host Name from Cambia

    We would like to configure our OS X workstations to return their hostnames when scanned with Cambia (network monitoring software). Cambia uses netbios, tcp probes, dns lookup and nmap to discover the identity of nodes on the network. Can anyone tell me how to configure OS X to return its host name when Cambia does a scan??
    I know netbios is a no-go, but I manually set the host name in the /etc/hostconfig file in the hope that would do it. It doesn't.
    Is there a setting or software that would return the hostname via an nmap probe????
    Bob Reed

    We would like to configure our OS X workstations to
    return their hostnames when scanned with Cambia
    (network monitoring software). Cambia uses netbios,
    tcp probes, dns lookup and nmap to discover the
    identity of nodes on the network. Can anyone tell me
    how to configure OS X to return its host name when
    Cambia does a scan??
    If you run your own DNS servers, macs that use DHCP will set thier names in the DHCP request, so you should get it from there.
    Are your Macs using DHCP ? Do you run your own internal name server ?
    Is there a setting or software that would return the
    hostname via an nmap probe????
    Bob Reed

  • Getting this error, need help: No Name Available via DNS

    Hello,
    i was wondering if someone can help me out. i m being getting this error message xserver servermgrd: servermgr_dns: no name available via DNS for 192.168.0.XXX . The server is set up stand alone server, only being use to host Filemaker Pro Databases. i type hostname to see what it show me, it show me fmserver.local. the internal ip assign to it, it is static and the WAN IP is also static.
    any help would be appreciate it.
    thank you
    victor

    if you change your network interface's DNS to point to yourself, then you should add your isp's nameservers to the "fowarders" options in your /etc/named.conf file, so your nameserver, when it can't find a local or cached record to answer the query, can still use your ISPs nameserver to lookup the information...
    Dual G4 colocated xserve   Mac OS X (10.4.2)  

  • 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.

  • 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

  • How to get client IP or machine Host name of connected user?

    I'm running my Web app on tomcat 6
    I want to find out the ips/Host name (any information about the user) of the user that logging into my web app... i tryed the following :
    .getRemoteAddr() and getRemoteHost() from the request and even getHeader("x-forwarded-for") but all this return nothing...
    the web app is inside the company and users connects from inside the comp's also....
    all user connect from Windows machines
    how can i get the information of the user?
    Thanks ahead.
    Edited by: vedmack on Jan 27, 2009 9:28 PM

    here it is:
    i replaced several string with the following : companyname, servername, WebAppName this three names are the same for all users that are doing the log in ... so its irrelevant anyway.... so there is not helpfull information in this headers....
    via=1.0 companyname-PRX
    cookie=JSESSIONID=326E2E62678C8B55063F60A432C8A306
    content-type=application/x-www-form-urlencoded
    user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)
    host=servername.companyname.com:9080
    accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-shockwave-flash, */*
    referer=http://servername.companyname.com:9080/WebAppName/
    accept-language=he
    pragma=no-cache
    x-novinet=v1.2
    connection=Keep-Alive
    content-length=158

  • Changing host name of OID repository... Where do I need to make changes?

    We are moving our OID metadata repository to a different host and Im curious where I need to make the modifications in our OID installation to accommodate the new host name.
    Things we have already done:
    1) Modified and pushed out the new tnsnames.ora file.
    2) ODM -> Entry Management -> Oracle Context Made changes to a) orclnetdescstring b) cn=OID -> cn=Description_0 -> cn=Address_List_0 -> cn=Address_0 -> orclnetaddressstring
    3) Updated the %ORACLE_HOME%\OraHome\sysman\emd\targets.xml
    After these changes were made, completed rebooted the system. OID seems to be working, however if I open a command prompt and 'tnsping OID' I still get the old host name, however if I fully qualify it, 'tnsping OID.xxx.local' it finds the correct host name....
    Am I missing an update somewhere that causes tnsping to not find the correct host for the repository? Can I update the current repository registration via oracle tool?
    Thanks

    If you need to purchase Snow Leopard you can still purchase a copy from Apple's online store's telesales agents.[1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775.] Ask for a Sales Representative.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.

  • Question about Domain and Host name fields.

    Hello! Just a quick question, I currently have the Mail Server up and running although I'm a little unsure about what exactly needs to be entered into the users email application.
    I've tested POP and IMAP using the information that I entered into the "Domain Name" field, and into the "Host name" field, and everything worked great.
    Example:
    Incoming Mail Server: mail.example.com
    Outgoing Mail Server: smtp.example.com
    Although while setting up another site and including the normal mail setup via DNS I've also noticed that I can send and receive email by using other sites that belong to me, as long as they are pointing towards our server.
    Example:
    Incoming Mail Server: mail.mynewsite.com
    Outgoing Mail Server: smtp.mynewsite.com
    So, I guess my question is whether its bad to use other websites in the incoming and outgoing mail server fields, or should I stick to the incoming and outgoing sites that I have listed in the Mail Server's 'Domain Name' and 'Host Name' fields?
    I hope that made sense, thanks again for your help.
    Paul
    PowerMac G5, Xserve G5, and PowerBook G4 Mac OS X (10.4.8)

    Does it matter if our users type mail.example.com
    into the incoming mail server, or are they allowed to
    use their own domain name "mail.mydomain.com" as long
    as the DNS is setup correctly?
    There is no intrinsic 'meaning' to hostnames entered into the mail client. These are merely converted to IP addresses, using available dns, and then the mail client communicates with the IP address, using whatever port number is applicable for the service required (e.g., port 25 for smtp, port 110 for pop). So you could use the hostname woohooo.mydomain.com for the smtp or pop server, as long as it resolves to the correct IP.
    This enables laptop users to have the one smtp/pop hostname, with lan dns resolving it to the local private IP and ext dns resolving same hostname to wan IP.
    There is also no need to have two separate hostnames for pop and smtp. These are typically used by ISPs because they have separate servers doing each job - one doing pop, one doing smtp. If one server does both (and there is no likelihood of splitting the services later) then just the one hostname for pop and smtp is fine.
    -david

  • Dynamic Global Host Name!!!

    Hello Everybody!
    I have Time Capsule 2TB, and i have an issue about it, which its how to connect to it via internet?
    i know that i must have mobileme account and to be added to advanced in the airport utility.
    then i have to setup the Dynamic Global Host Name, this is my problem?
    how can i get the Dynamic Global host Name?
    Is it from ISP?
    is it supported by some regions? or all over the countries?
    if so, is it supported in Egypt?
    i gave a try and i contact my ISP (Vodafone) but they didnt hear anything or even know anything about the Dynamic Global Host Name. If from ISP, what could i tell them to understand me?
    because when i asked about DGHN, no one understand me.
    Thank you for your help,
    Sincerely,,,

    Abdelaal wrote:
    now the ip address for the Time Capsule is 196.168.0.4
    and the WAN IP address is 10.0.1.1 .
    That sounds backwards. The public IP address 196.168.0.4 is administered out of Mauritius, which should make what you see a WAN address. An IP address 10.0.1.1 is a "private" IP address, which you'd expect to see in a LAN behind a NATting router.
    (Back to My Mac isn't working properly because you may have more than one device on your network providing Network Address Translation (NAT). Try disabling NAT on one of the devices )
    As it says, that means that you are behind multiple layers of routers providing translation of network addresses. Can you tell what WAN address is being assigned to your ADSL modem/router? I'd still try to put that device into "bridge" mode.

Maybe you are looking for

  • ITunes on Win 7 64 bit says file on locked disk or wrong permissions

    I am using Windows 7 pro 64 bit. I have been using iTunes forever without a problem, Recently, probably after a version update, iTunes opens a small window and says iTunes is on a locked disk or the permissions are wrong. I have read several so-calle

  • Edit metadata for pdf documents offline sharepoint

    How editing of metadata for non-MS office (example PDF) documents will be addressed in an SharePoint offline scenario?

  • Mail crashes on iMac

    Hi I am a complete novice and have just updated to Mavericks. My mail now repeatedly crashes as soon as it opens. The following message appears and I haven't a clue what to do. If youcan help please keep it simple Many thanks in anticipatio f a fix!

  • Dahdi Package from AUR - makepkg error

    Unfortunately I have no easy way to copy/paste (it is on a different machine...).  This is the exact error: $ makepkg -s -i ==> Starting build()... patching file Makefile Hunk #1 succeeded at 132 (offset 4 lines) You do not appear to have the sources

  • Bringing BIS back to z10 possible ?

    Hey all now I 've searched all over the internet to find any method to get BIS to work again as old devices but unfortunately its  gone !!  its really worth disappointing. my question : Is there any way to bring it back by software update or somethin