This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "libcli/util/asn_1.h"
int timeout;
int num_retries;
- BOOL is_reply;
+ bool is_reply;
/* the ldap message_id */
int message_id;
DATA_BLOB encoded;
/* the reply data */
- struct asn1_data asn1;
+ struct asn1_data *asn1;
/* information on what to do on completion */
struct {
struct cldap_search {
struct {
const char *dest_address;
+ uint16_t dest_port;
const char *filter;
const char **attributes;
int timeout;
struct cldap_netlogon {
struct {
const char *dest_address;
+ uint16_t dest_port;
const char *realm;
const char *host;
const char *user;