[Date Prev][Date Next]
Re: ldapmodify doesn't report failures (ITS#3057)
This has been corrected in HEAD.
At 02:44 AM 4/5/2004, hyc@OpenLDAP.org wrote:
>Full_Name: Howard Chu
>Version: 2.2.7+, HEAD
>Submission from: (NULL) (126.96.36.199)
>Submitted by: hyc
>The change in rev 1.152 of ldapmodify.c breaks up the synchronous LDAP request
>into an async request and a process_response() function. However, error messages
>are only printed for failures of the LDAP request function. Failures returned by
>the server are silently discarded. It also appears (not sure) that the return
>code is not checked, so in an LDIF with multiple modification requests, failures
>will not abort processing - the entire file gets processed regardless. The exit
>status will reflect the status of the last operation in the file.