Slow access to MS AD LDAP from OSX

Slow access to MS AD LDAP from OSX

Customer is having slow access talking to MS AD via LDAP. WebNetwork is being run on a MAC OSX box and is using MS AD for Directory Services. The dns server is running on MS AD and the OSX box is pointing to that for its DNS information. Directory services is configured, Global Catalog is configured in webnetwork. Customer is using a .local for domain name. Also tried adding company.local , forestdnszones.local domaindnszones.local to the host file on the OSX box.
 
This is an issue with OSX, the following information came from : http://docs.info.apple.com/article.html?artnum=107800

Mac OS X 10.3, 10.4: How to look up ".local" hostnames via both Bonjour and
standard DNS Mac OS X 10.3 or later normally treats hostnames ending in ".local"
only as Bonjour (formerly "Rendezvous") hosts. However, some network
administrators also assign .local hostnames. This document explains how to look
up .local names using Bonjour and standard DNS.


The Multicast DNS feature of Rendezvous technology allows devices on a local
network to connect to each other by name without a separate DNS server. See
technical document 107174, "Mac OS X 10.2: About Multicast DNS" for details. By
default, any hostname ending in .local is treated as a Rendezvous host rather
than by querying the DNS server entries in Network preferences.

Though the .local domain is not defined as a valid top-level domain on the
Internet, some private networks have DNS servers that assign hostnames in the
.local domain. In its default state, Mac OS X 10.3 does not use the DNS server
to resolve these names. This may result in unexpected failures to connect to
.local hostnames defined by your server. If .local names are assigned by a DNS
server on your network, use the solution below to configure Mac OS X 10 to look
up .local names in both ways. If the host is not available via Rendezvous, the
query will be tried using unicast DNS to contact the DNS server.

Mac OS X 10.4 and later: Open the Network preference pane in System Preferences.
Select the desired network interface and click Configure. Add "local" to the
Search Domains field. If you have multiple entries in this field, be sure that
"local" is first, and separate them with commas. For example:

local, apple.com Mac OS X 10.3 - 10.3.9: To create the script, execute each of
these commands in Terminal (/Applications/Utilities/). Each command is preceded
by the dollar sign ($), which represents the Terminal prompt. You must be logged
with an administrator account to perform these steps. After the first command
(sudo), you will be prompted to enter your administrator password. After typing
each command, press Return to execute it. After entering the "cat" command, you
will not see a prompt ($) for the next four lines, though you must still press
Return after each. For the line that says "[Control-D]", you will hold down the
Control key, then press D.

The commands:


$ sudo su
$ cd /usr/sbin
$ cat > EnableUnicastDotLocal
#!/bin/tcsh
echo domain local > /etc/resolver/local.1
grep -v domain /etc/resolv.conf | grep -v search >> /etc/resolver/local.1
echo search_order 2 >> /etc/resolver/local.1
[Control-D]
$ chmod +x EnableUnicastDotLocal
$ exit

These steps create an executable shell script named "EnableUnicastDotLocal" that
will create and populate the necessary configuration files to enable dual
lookups of .local hostnames.<

To run the script, execute this command:

$ sudo /usr/sbin/EnableUnicastDotLocal

Important: The address of the DNS server configured by this script for .local
name lookups will not change automatically if your default DNS server address
changes. (Your DNS server address may change if you change network locations, if
a change is made by your DHCP server administrator, or if you change it manually
in Network preferences.) To change the DNS server used for lookups in the .local
domain, you must run this script again. To disable unicast DNS lookups entirely
after running this script, delete the file /etc/resolver/local.1.

Note: For the Active Directory plug-in to work with .local domains, you must
update to Mac OS X 10.3.3 or later.

 


    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • Related Articles

      • General MS AD LDAP information.

        General MS AD LDAP information
      • MS AD LDAP bind errors.

        LDAP error code 49 is the generic code for authentication error.  https://helpdesk.lenovosoftware.com/portal/kb/articles/ldap-error-codes-22-8-2017 has the list of java ldap top level error codes.  To fully understand the error you need the rest of ...
      • How to display the MS AD LDAP Settings being used.

        The following comes from the URL : http://support.microsoft.com/kb/315071 This step-by-step article describes how to manage Lightweight Directory Access Protocol (LDAP) policies by using the Ntdsutil.exe tool. To make sure that domain controllers can ...
      • LDAP Error Codes

        AcceptSecurityContext error, data 52e means "bad password" AcceptSecurityContext error, data 525 means "bad user name" AcceptSecurityContext error, data 773 means "password expiring" or similar.  Standard error codes Standard LDAP errors Error / data ...
      • SizeLimitExceededException when using LDAP

        When using a ldap browser like JXplorer to query AD, sometimes depending on the query the following error is displayed :  javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ...