[Date Prev][Date Next] [Chronological] [Thread] [Top]

Solaris 8 + OpenLDAP + Automount



I've been on the LDAP road wih Solaris 8 for a few months
now.  I've managed to get auth/auth (passwd & group) as
well as automount (auto_master, auto_home) working with
the iPlanet LDAP directory server.  About a month ago, I
finally grew weary of its heavyweight, all-encompassing
approach and decided to switch to OpenLDAP.

Of course, as many of you know, the LDAP client-side stuff
that comes with the Solaris 8 distribution is very poorly
documented and seems to make a number of iPlanet-centric
assumptions.  Nonetheless, with the help of The Net, I've
gotten passwd & group functionality with Solaris 8 + OpenLDAP,
but automount functionality is eluding me.  I'm using the
exact same directory entries that I used when I had this
stuff working with the iPlanet DS, and it's just not working.

The automount-related entries in the directory look something
like this:

dn: dc=weaselsniffer,dc=org
objectClass: dcObject
objectClass: organization
objectClass: nisdomainobject
o: weaselsniffer
dc: weaselsniffer
nisDomain: weaselsniffer.org

dn: nismapname=auto_master,dc=weaselsniffer,dc=org
objectClass: top
objectClass: nismap
nisMapName: auto_master

dn: cn=/home,nismapname=auto_master,dc=weaselsniffer,dc=org
objectClass: top
objectClass: nisobject
nisMapName: auto_master
cn: /home
nisMapEntry: auto_home

dn: nismapname=auto_home,dc=weaselsniffer,dc=org
objectClass: top
objectClass: nismap
nisMapName: auto_home

dn: cn=luser,nismapname=auto_home,dc=weaselsniffer,dc=org
objectClass: top
objectClass: nisobject
nisMapName: auto_home
cn: luser
nisMapEntry: nfs://civet/export/home/luser

Once again, this setup worked with the iPlanet DS, but not with
the OpenLDAP DS.  It's quite frustrating, considering that I thought
that once I had the passwd&group stuff working, I could just start
shoveling maps in.  Oh, well.

Anyhow, If anyone has related experience or creative ideas, I'd
greatly appreciate any breadcrumbs you can toss my way.

Thanks,
Jason J Hinze
jjh@cosmicflow.com