This patch fixes a bug in the ldap search which will only use the first mount point found in an LDAP entry. For example if an ldap entry looks like this: dn: cn=%T%I_apps, nisMapName=auto_home, ou=foo.bar nismapname: auto_home objectClass: top objectClass: nisobject nismapentry: foo.bar.ti.com:/vol/vol6/TI_apps cn: %T%I_apps cn: TI_apps Then the auto_home map will only be used in /%T%I_apps If you try to cd into TI_apps you'll just get an error. The patch forces ldap_search to iterate through all of the different cn's in an entry so you can cd into either %T%I_apps or TI_apps and the proper directory will still be automounted. Thanks, Chris