• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/ntptr/simple_ldb/

Lines Matching defs:ntptr

31 #include "ntptr/ntptr.h"
88 static NTSTATUS sptr_init_context(struct ntptr_context *ntptr)
90 struct ldb_context *sptr_db = sptr_db_connect(ntptr, ntptr->ev_ctx, ntptr->lp_ctx);
93 ntptr->private_data = sptr_db;
99 static WERROR sptr_OpenPrintServer(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
112 server->ntptr = ntptr;
132 struct dcerpc_server_info *server_info = lp_dcerpc_server_info(mem_ctx, server->ntptr->lp_ctx);
185 ndr_err = ndr_push_struct_blob(&blob, mem_ctx, lp_iconv_convenience(server->ntptr->lp_ctx), &os, (ndr_push_flags_fn_t)ndr_push_spoolss_OSVersion);
208 ndr_err = ndr_push_struct_blob(&blob, mem_ctx, lp_iconv_convenience(server->ntptr->lp_ctx), &os_ex, (ndr_push_flags_fn_t)ndr_push_spoolss_OSVersionEx);
217 if (!lp_realm(server->ntptr->lp_ctx)) return WERR_INVALID_PARAM;
221 lp_netbios_name(server->ntptr->lp_ctx),
222 lp_realm(server->ntptr->lp_ctx));
243 ndr_err = ndr_push_union_blob(&blob, mem_ctx, lp_iconv_convenience(server->ntptr->lp_ctx),
262 struct ldb_context *sptr_db = talloc_get_type(server->ntptr->private_data, struct ldb_context);
307 struct ldb_context *sptr_db = talloc_get_type(server->ntptr->private_data, struct ldb_context);
370 struct ldb_context *sptr_db = talloc_get_type(server->ntptr->private_data, struct ldb_context);
435 struct ldb_context *sptr_db = talloc_get_type(server->ntptr->private_data, struct ldb_context);
474 static WERROR sptr_EnumPrinterDrivers(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
480 static WERROR sptr_GetPrinterDriverDirectory(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
522 static WERROR sptr_EnumPrinters(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
525 struct ldb_context *sptr_db = talloc_get_type(ntptr->private_data, struct ldb_context);
632 static WERROR sptr_OpenPrinter(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
641 static WERROR sptr_EnumPorts(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
644 struct ldb_context *sptr_db = talloc_get_type(ntptr->private_data, struct ldb_context);
691 static WERROR sptr_EnumMonitors(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
694 struct ldb_context *sptr_db = talloc_get_type(ntptr->private_data, struct ldb_context);
741 struct ldb_context *sptr_db = talloc_get_type(printer->ntptr->private_data, struct ldb_context);
790 static WERROR sptr_GetPrintProcessorDirectory(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
833 initialialise the simble ldb backend, registering ourselves with the ntptr subsystem