[KLUG Members] automount and ldap schema

agencies_ad1 at sancharnet.in agencies_ad1 at sancharnet.in
Mon Feb 13 11:04:49 EST 2006



I'm converting my NIS environment to an LDAP environment.  I've got most of it
done but I'm having an issue with the automounter.  I used the PADL migration
utilities, I need to know what automounter is expecting from a schema
standpoint.

In general I believe my Linux config is correct but I'll include it anyway.  My
/etc/nsswitch.conf:

  automount:  files ldap

In the case of my test system, I'm running the directory on localhost.  The
auto.master is as follows:

  /projects      
ldap://localhost/nisMapName=auto.projects,ou=automounter,dc=guidant,dc=com
  /applic        
ldap://localhost/nisMapName=auto.projects,ou=automounter,dc=guidant,dc=com
  /tools         
ldap://localhost/nisMapName=auto.projects,ou=automounter,dc=guidant,dc=com
  /home          
ldap://localhost/nisMapName=auto.projects,ou=automounter,dc=guidant,dc=com

I've searched around and found different articles on the schema and have tried
them all.  If RHEL 3 (as, es, ws) doesn't support it then that's an easy
answer.  If they do support LDAP automount maps, then I need to know what the
proper schema should look like.

When I start autofs I get:

Feb 13 09:05:04 stplw999 automount[24642]: failed to load map, exiting
Feb 13 09:05:04 stplw999 automount[24698]: failed to load map, exiting
Feb 13 09:05:04 stplw999 automount[24771]: failed to load map, exiting
Feb 13 09:05:04 stplw999 automount[24827]: failed to load map, exiting
Feb 13 09:05:04 stplw999 autofs: automount startup failed

My /etc/ldap.conf is configured correctly from a binddn standpoint.  UID to
username and GID to group name mappings are working fine.  "getent passwd" gets
me all of my usernames and nsswitch is only using files and ldap:

  passwd:     files ldap

/etc/passwd just contains the default Linux usernames.  So I'm pretty sure it's
just a schema issue.

Thanks

Regards,

Komal

----------------------------------------------------------------
This message was sent using NWebmail, BSNL's Webmail Program



More information about the Members mailing list