A short-cut to disable ldap name service:
# authconfig --kickstart --disableldap
And to disable ldap authentication:
# authconfig --kickstart --disableldapauth
Now I believe it only does something if /etc/sysconfig/authconfig has these marked =YES, but if they are turned on there they will automatically be turned on again during the next reboot, so check there too.
-Ross
----- Original Message ----- From: centos-bounces@centos.org centos-bounces@centos.org To: CentOS mailing list centos@centos.org Sent: Tue Feb 19 20:09:56 2008 Subject: RE: [CentOS] nss_ldap failed to bind to LDAP server 127.0.0.1
From: Stephen Harris Sent: February 19, 2008 16:56
In other words you _had_ the right answer already!
Thanks muchly for the confirmation. I have made the necessary changes and I am just in the process of kicking people off so that I can reboot. I know the reboot may not be entirely required but it will ensure that all services have been restart and now reflect the configuration changes.
Thanks again for your assistance.
Regards, Hugh
From: Ross S. W. Walker Sent: February 19, 2008 17:22
A short-cut to disable ldap name service:
# authconfig --kickstart --disableldap
And to disable ldap authentication:
# authconfig --kickstart --disableldapauth
Now I believe it only does something if /etc/sysconfig/authconfig has these marked =YES, but if they are turned on there they will automatically be turned on again during the next reboot, so check there too.
I will have a look at those but, for now, editing the nsswitch.conf file has taken care of the error messages.
Thanks for your input.
Regards, Hugh