Migrated services, including authentication from flat files to the Open LDAP server; tested.
Problems:
Followed RedHat ref guide instructions:
$DEFAULT_BASE = "o=talbycsuumist,c=gb";
$DEFAULT_MAIL_DOMAIN = "umist.ac.uk";
$DEFAULT_MAIL_HOST = "mailrouter.umist.ac.uk";
and then ran migrate_all_offline.pl:
passwd: files ldap
shadow: files ldap
group: files ldap
Having made appropriate changes on boiler.csu.umist.ac.uk, Solaris 2.8 machine, authentication from boiler to pinback failed. First, could pinback use its own LDAP server? No... Could not authenticate or finger except by flat files.
Running
/usr/sbin/slapcat
showed that data was in the LDAP database;
ldapsearch -h 127.0.0.1 -p 389 -x -s sub "o=talbycsuumist,c=gb" \
"uid=simonh"
found nothing! Running slap with debug at level 256 and in
the foreground showed a permission problem with the database files,
/var/lib/ldap/*gdbm --- they had been installed with root-only access,
not access for user ldap (which slapd runs with).
A change of ownership and group to ldap solved this.
Deleting simonh from flat files with slapd running: no problems --- could still login and finger ok.
| ...previous | up (conts) | next... |