OpenLDAP client with Solaris 10 automounting woes
807557May 4 2006 — edited May 9 2006Hi All-
Was hoping someone knows what's up with this. I'm using the OpenLDAP client under Solaris 10, using PADL's nss_ldap and pam_ldap. Everything works splendidly except the fact that I can't automount anything. I have this:
/etc/nsswitch.conf:
automount: files ldap
and whenever I try to go to an automount directory, I can't get there, and I see this in /var/adm/messages:
May 4 11:18:58 foohost automountd[19053]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
May 4 11:18:59 foohost automountd[19053]: [ID 793764 daemon.error] Can not determine version of LDAP profile that is used (4, Unable to load configuration '/var/ldap/ldap_client_file' ('').). Using version 2 profile defaults
May 4 11:18:59 foohost automount[19054]: [ID 793764 user.error] Can not determine version of LDAP profile that is used (4, Unable to load configuration '/var/ldap/ldap_client_file' ('').). Using version 2 profile defaults
May 4 11:18:59 foohost automount[19054]: [ID 293258 daemon.warning] libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
This seems to indicate that autofs is trying to use native Solaris LDAP libraries to find automount maps, and since I'm not using native Solaris LDAP, it chokes. I know a lot of people are saying to just use native Solaris LDAP, but we have like 6 platforms on our network and we're trying for uniformity when it comes to LDAP clients.
Does anyone know of a way around this, to tell the automounter to not use native Solaris LDAP or another way of tweaking autofs to look at my OpenLDAP server?
Or is there a way to trick the /etc/auto_master file to look at my OpenLDAP server for mount information, similar to the way it works under linux?
Thanks a million in advance for any insight!
ciao, erich