summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/50deliverymethodsyntaxplugin.ldif
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2009-08-20 12:59:08 -0600
committerRich Megginson <rmeggins@redhat.com>2009-08-21 17:55:56 -0600
commit132f46e98c2a6bdaf1248952c3bf90f2d32fff08 (patch)
tree1289a48eb616345f6f5cfe1504e591d8a6dc841b /ldap/admin/src/scripts/50deliverymethodsyntaxplugin.ldif
parent63d3d1bda80d3c82ac7681d97ec9d109fa53f7a4 (diff)
downloadds-132f46e98c2a6bdaf1248952c3bf90f2d32fff08.tar.gz
ds-132f46e98c2a6bdaf1248952c3bf90f2d32fff08.tar.xz
ds-132f46e98c2a6bdaf1248952c3bf90f2d32fff08.zip
Retry SASL writes if buffer not fully sent
https://bugzilla.redhat.com/show_bug.cgi?id=518544 Resolves: bug 518544 Bug Description: large entries cause server SASL responses to fail Reviewed by: nhosoi (Thanks!) Branch: HEAD and 1.2 Fix Description: The SASL server code was broken when we switched over to use NSPR I/O for the SASL IO layer. If the entire encrypted buffer could not be sent to the client, the server was just failing. Instead, the server must keep track of how many encrypted bytes were sent. If all of the encrypted bytes could not be sent, we must return the appropriate error to the caller to let them know the operation would block. The caller in this case is the write_function() which does a poll() to see if the socket is available for writing again, then will attempt the send again. I also cleaned up usage of the various Debug macros. Finally, I discovered that the sasl init code was calling config_get_localhost() before that value could be set. In most cases, it is ok, because it will fall back to the default hostname from the system. However, if for some reason you want to use a different localhost, it will fail. Now it will be set in the boostrap config code. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no
Diffstat (limited to 'ldap/admin/src/scripts/50deliverymethodsyntaxplugin.ldif')
0 files changed, 0 insertions, 0 deletions