Oracle Solaris Networking (MOSC)

MOSC Banner

Retrieving automount maps via LDAP

edited Apr 11, 2019 5:00AM in Oracle Solaris Networking (MOSC) 2 commentsAnswered
Hello,

I was wondering whether anyone could offer some advice on an issue I've been having using the LDAP client (Solaris 10 9/10 x86 native client) to retrieve automount information? I configured the client manually and included the following mappings:

NS_LDAP_SERVICE_SEARCH_DESC=automount:ou=automount,ou=sitename,dc=domain,dc=local
NS_LDAP_ATTRIBUTEMAP=automount:automountInformation=nisMapEntry
NS_LDAP_ATTRIBUTEMAP=automount:automountKey=cn
NS_LDAP_ATTRIBUTEMAP=automount:automountMapName=nisMapName
NS_LDAP_OBJECTCLASSMAP= automount:automountMap=nisMap
NS_LDAP_OBJECTCLASSMAP= automount:automount=nisObject

Ldaplist seemed happy enough with that ("ldaplist automount auto.mapname" returned the full dn of auto.mapname), but trying to ls one of the automounted directories gave me "No such file or directory". Snooping the traffic between the client and server, it looked like the search was failing because some of the mappings were being ignored. The Base Object being searched was "nisMapName=auto.mapname, dc=domain,dc=local", suggesting the client was using the automountMapName=nisMapName mapping correctly, but was searching the default base search DN rather than the one specified in the service search descriptor. The other search fields also showed that it was searching for

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center