diff options
| author | Noriko Hosoi <nhosoi@jiji.localdomain> | 2010-01-14 10:58:12 -0800 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@jiji.localdomain> | 2010-01-14 10:58:12 -0800 |
| commit | 80fb1c7aada872dd984964b87035d5850f223f01 (patch) | |
| tree | e61a96324f9a6cc56c9efa034ef459b7952cca4c /ldap/admin/src/scripts/50disableurisyntaxplugin.ldif | |
| parent | 008edfbafa4746660d257647d59d6bdcf2a1684d (diff) | |
ldclt: -e randombinddnfromfile fails with LDAP_UNWILLING_TO_PERFORM (53)
https://bugzilla.redhat.com/show_bug.cgi?id=555189
Resolves: bug 555189
Bug Description:
ldclt code is not passing the password correctly to ldap_sasl_bind_s.
The server receives NULL credential. Due to the default configuration:
nsslapd-allow-unauthenticated-binds: off
the unauthenticated bind fails with LDAP_UNWILLING_TO_PERFORM.
Reviewed by: rmeggins@redhat.com
Files: see diff
Branch: HEAD
Fix Description:
When "-e randombinddnfromfile=file" is given, bind dn and password pair
is retrieved from the file and is supposed to pass to ldap_sasl_bind_s.
Although the password was read from the file, but it was not set to the
berval "cred" which was passed to ldap_sasl_bind_s. Therefore, the
bind operation tried to bind with bind dn and NULL password, which now
fails since it's considered as an unauthenticated bind. This change
fixes the problem. Also, a usage typo is being fixed.
Platforms tested: Fedora 11
Flag Day: no
Doc impact: no
Diffstat (limited to 'ldap/admin/src/scripts/50disableurisyntaxplugin.ldif')
0 files changed, 0 insertions, 0 deletions
