From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314
Description of problem:
I just recently setup LDAP authentication in my network (using authconfig).
After a while, I realized that for users that existed in /etc/passwd and
/etc/shadow, it wouldn't use LDAP. Since I always wanted it to use LDAP, I
changed /etc/nsswitch.conf manually to have
passwd: ldap files
shadow: ldap files
group: ldap files
Since I made that change, I can no longer upgrade, install or erase RPMs. It
always throws a segmentation fault at me.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make the changes described above to /etc/nsswitch.conf
2. Run a rpm command with either -i, -U or -e.
Actual Results: Segmentation fault
I have been able to reproduce this on all my machines, all having RedHat 8.0
installed. They all have different types of processors (Celeron, Pentium 4,
Pentium 2 and Via Cyrix).
If you want to use LDAP, then you need to insure that
nscd is running
service nscd start
to avoid a linkage problem that affects statically linked binaries