Version-Release number of selected component (if applicable): fedora-ds-base-1.1.0-1.2.fc7 Steps to Reproduce: 1. Set up a DS instance using /usr/sbin/setup-ds.pl 2. ldapadd something like the following: dn: cn=my_group,ou=Groups,dc=ROOT objectClass: posixGroup cn: my_group gidNumber: 424242 userPassword: unknown1 userPassword: unknown2 Actual results: ldapadd never receives a reply from the server, the server becomes unresponsive and must be killed with SIGKILL. Expected results: Creation of the specified group, or perhaps an error message.
Created attachment 220601 [details] diffs
Checking in pw.c; /cvs/dirsec/ldapserver/ldap/servers/slapd/pw.c,v <-- pw.c new revision: 1.16; previous revision: 1.15 done Reviewed by: nhosoi,nkinder (Thanks!) Files: see diff Branch: HEAD Fix Description: The pw_encodevals() was not encoding each value, only the first one, then setting each new value to the same encoded value. The solution is to move char *enc into the loop so that it is allocated anew each time. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no