[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch fails (ITS#686)



Full_Name: Art Corcoran
Version: devel
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (12.22.53.83)


Get the following error from ldapsearch:

   acorcora@gammera[136] ldapsearch
   Could not create LDAP session handle (-4263056Segmentation fault (core
dumped)
   acorcora@gammera[137] 

This is due to bug in ldapsearch.c:
   682          if( ld != NULL ) {
   683                  fprintf( stderr, "Could not create LDAP session handle
(%d): %s\n", rc );
   684                  return EXIT_FAILURE;
   685          }

The conditional should be "ld == NULL".