Page 1 of 1

LDAP legacy issue

Posted: 2020/01/02 11:36:48
by jalirious
Hi,

I'm looking to configure a new centos 8 box to our ancient ldap (to which I lack access).

With centos 7 I used:
authconfig --enableforcelegacy --enableshadow --enablemd5 --enableldap --enableldapauth --disableldaptls --ldapserver=127.0.0.1 --ldapbasedn="dc=phldap,dc=ph.man.ac.uk" --enablemkhomedir --disablesssd --disablesssdauth --enableforcelegacy --enableshadow --enablemd5 --enableldap --enableldapauth --disableldaptls --ldapserver=127.0.0.1 --ldapbasedn="dc=phldap,dc=ph.man.ac.uk" --enablemkhomedir --disablesssd --disablesssdauth --update

With centos 8 I find:
Warning: These options are not supported anymore and have no effect:
--enableshadow
--enablemd5
--enableforcelegacy


It seems authconfig is just a shell for authselect now.

The home directories are mounted, but the user accounts are not recognised. Would anyone know a way (downgrade?) to recover the unsupported options?

Cheers!

Installed Packages
Name : apr-util-ldap
Version : 1.6.1
Name : compat-openldap
Epoch : 1
Version : 2.3.43
Name : nss-pam-ldapd
Version : 0.9.9
Name : openldap
Version : 2.4.46
Name : python3-ldap
Version : 3.1.0