func: static void goodG2B1() char * data ; char dataBuffer [ 256 ] = "" ; data = dataBuffer; if ( 0 )  strcat ( data , "Doe, XXXXX" ); char filter [ 256 ] ; _snprintf ( filter , 256 - 1 , "(cn=%s)" , data ); searchSuccess = ldap_search_ext_sA ( pLdapConnection , "base" , LDAP_SCOPE_SUBTREE , filter , NULL , 0 , NULL , NULL , LDAP_NO_LIMIT , LDAP_NO_LIMIT , & pMessage ); if ( searchSuccess != LDAP_SUCCESS )  