Thursday, November 6, 2008

Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('')

Error: On S10, While login to the console, it gives a error message as below and won't let anyone login.
This is generally possible if you are trying to get ldap auth working or changing some ldap client configuration.

console login: root
Password:
Login incorrect
Nov 5 14:53:02 sparkey2 login: libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Nov 5 14:53:02 sparkey2 login: login account failure: Error in underlying service module

Solution:
ok{}
boot cdrom -s
mount /dev/dsk/c0t0d0s0 /mnt
-edit the /mnt/etc/pam.conf to make sure these two lines are commented.
other account required pam_ldap.so.1
other auth required pam_krb5.so.1
-or-
get a clean pam.conf from a similar working server.

1 comment:

McPit said...

That's more a workaround than a solution.
You're giving up Ldap instead of figuring out why it can't load the conf.