s3:smbd: pass the final numtoread reply_outbuf() for the lockread reply.
[Samba.git] / source3 / passdb / pdb_ldap_util.h
blobfa1e96c7c9c72dc2c47ce0fef32d857731635750
1 /*
2 Unix SMB/CIFS mplementation.
3 LDAP protocol helper functions for SAMBA
4 Copyright (C) Gerald Carter 2001-2003
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef _PASSDB_PDB_LDAP_UTIL_H_
22 #define _PASSDB_PDB_LDAP_UTIL_H_
24 /* The following definitions come from passdb/pdb_ldap_util.c */
26 #ifdef HAVE_LDAP
27 NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state,
28 LDAPMessage ** result, const char *domain_name,
29 bool try_add);
30 #endif /* HAVE_LDAP */
32 #endif /* _PASSDB_PDB_LDAP_UTIL_H_ */