Today's task: screw Solaris, let's try to get a linux client running.
So far I'm not sure if linux boxen can use profiles, though surely
there must be a way. Instead they use
/etc/ldap/ldap.conf
. If all else fails we can
make a script to update that file from the profile. All you have to do
is set the
BASE and
URI appropriately and
ldapsearch works perfectly.
Second task is to set it up to use ldap instead of nis for automounting. Since my old ldifautomnt.pl script was using Solaris' nisMap and nisObject objectclasses I needed to rewrite the script to use the automountMap and automount objects linux expects. Alas, the OID for automount given in the schema file I mentioned earlier conflicts with that of memberNisNetgroup. Jury's still out to lunch on how to properly proceed, but for now I just made up a new OID in RedHat's space. This site offers a listing of OIDs, but I haven't been able to find where automount belongs.