2005-05-11 08:49:18 +04:00
/*
Unix SMB / CIFS implementation .
CLDAP server structures
Copyright ( C ) Andrew Tridgell 2005
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
2007-07-10 06:07:03 +04:00
the Free Software Foundation ; either version 3 of the License , or
2005-05-11 08:49:18 +04:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 06:07:03 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2005-05-11 08:49:18 +04:00
*/
# include "libcli/cldap/cldap.h"
/*
top level context structure for the cldap server
*/
struct cldapd_server {
struct task_server * task ;
2005-05-18 08:18:19 +04:00
struct ldb_context * samctx ;
2005-05-11 08:49:18 +04:00
} ;
2006-03-07 17:34:32 +03:00
2008-03-28 11:39:03 +03:00
struct ldap_SearchRequest ;
2010-04-12 20:00:49 +04:00
/* used by netlogon DCE/RPC server */
NTSTATUS fill_netlogon_samlogon_response ( struct ldb_context * sam_ctx ,
TALLOC_CTX * mem_ctx ,
const char * domain ,
const char * netbios_domain ,
struct dom_sid * domain_sid ,
const char * domain_guid ,
const char * user ,
uint32_t acct_control ,
const char * src_address ,
uint32_t version ,
struct loadparm_context * lp_ctx ,
2010-04-27 17:39:57 +04:00
struct netlogon_samlogon_response * netlogon ,
bool fill_on_blank_request ) ;
2010-04-12 20:00:49 +04:00
2006-03-07 17:34:32 +03:00
# include "cldap_server/proto.h"