DATA_BLOB blob;
struct netr_LogonUasLogon *r;
- call = &p->interface->calls[NDR_NETR_LOGONUASLOGON];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONUASLOGON];
r = talloc(talloc_tos(), struct netr_LogonUasLogon);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonUasLogoff *r;
- call = &p->interface->calls[NDR_NETR_LOGONUASLOGOFF];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONUASLOGOFF];
r = talloc(talloc_tos(), struct netr_LogonUasLogoff);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonSamLogon *r;
- call = &p->interface->calls[NDR_NETR_LOGONSAMLOGON];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONSAMLOGON];
r = talloc(talloc_tos(), struct netr_LogonSamLogon);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonSamLogoff *r;
- call = &p->interface->calls[NDR_NETR_LOGONSAMLOGOFF];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONSAMLOGOFF];
r = talloc(talloc_tos(), struct netr_LogonSamLogoff);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerReqChallenge *r;
- call = &p->interface->calls[NDR_NETR_SERVERREQCHALLENGE];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERREQCHALLENGE];
r = talloc(talloc_tos(), struct netr_ServerReqChallenge);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerAuthenticate *r;
- call = &p->interface->calls[NDR_NETR_SERVERAUTHENTICATE];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERAUTHENTICATE];
r = talloc(talloc_tos(), struct netr_ServerAuthenticate);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerPasswordSet *r;
- call = &p->interface->calls[NDR_NETR_SERVERPASSWORDSET];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERPASSWORDSET];
r = talloc(talloc_tos(), struct netr_ServerPasswordSet);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DatabaseDeltas *r;
- call = &p->interface->calls[NDR_NETR_DATABASEDELTAS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DATABASEDELTAS];
r = talloc(talloc_tos(), struct netr_DatabaseDeltas);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DatabaseSync *r;
- call = &p->interface->calls[NDR_NETR_DATABASESYNC];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DATABASESYNC];
r = talloc(talloc_tos(), struct netr_DatabaseSync);
if (r == NULL) {
DATA_BLOB blob;
struct netr_AccountDeltas *r;
- call = &p->interface->calls[NDR_NETR_ACCOUNTDELTAS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_ACCOUNTDELTAS];
r = talloc(talloc_tos(), struct netr_AccountDeltas);
if (r == NULL) {
DATA_BLOB blob;
struct netr_AccountSync *r;
- call = &p->interface->calls[NDR_NETR_ACCOUNTSYNC];
+ call = &ndr_table_netlogon.calls[NDR_NETR_ACCOUNTSYNC];
r = talloc(talloc_tos(), struct netr_AccountSync);
if (r == NULL) {
DATA_BLOB blob;
struct netr_GetDcName *r;
- call = &p->interface->calls[NDR_NETR_GETDCNAME];
+ call = &ndr_table_netlogon.calls[NDR_NETR_GETDCNAME];
r = talloc(talloc_tos(), struct netr_GetDcName);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonControl *r;
- call = &p->interface->calls[NDR_NETR_LOGONCONTROL];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONCONTROL];
r = talloc(talloc_tos(), struct netr_LogonControl);
if (r == NULL) {
DATA_BLOB blob;
struct netr_GetAnyDCName *r;
- call = &p->interface->calls[NDR_NETR_GETANYDCNAME];
+ call = &ndr_table_netlogon.calls[NDR_NETR_GETANYDCNAME];
r = talloc(talloc_tos(), struct netr_GetAnyDCName);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonControl2 *r;
- call = &p->interface->calls[NDR_NETR_LOGONCONTROL2];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONCONTROL2];
r = talloc(talloc_tos(), struct netr_LogonControl2);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerAuthenticate2 *r;
- call = &p->interface->calls[NDR_NETR_SERVERAUTHENTICATE2];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERAUTHENTICATE2];
r = talloc(talloc_tos(), struct netr_ServerAuthenticate2);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DatabaseSync2 *r;
- call = &p->interface->calls[NDR_NETR_DATABASESYNC2];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DATABASESYNC2];
r = talloc(talloc_tos(), struct netr_DatabaseSync2);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DatabaseRedo *r;
- call = &p->interface->calls[NDR_NETR_DATABASEREDO];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DATABASEREDO];
r = talloc(talloc_tos(), struct netr_DatabaseRedo);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonControl2Ex *r;
- call = &p->interface->calls[NDR_NETR_LOGONCONTROL2EX];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONCONTROL2EX];
r = talloc(talloc_tos(), struct netr_LogonControl2Ex);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NetrEnumerateTrustedDomains *r;
- call = &p->interface->calls[NDR_NETR_NETRENUMERATETRUSTEDDOMAINS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRENUMERATETRUSTEDDOMAINS];
r = talloc(talloc_tos(), struct netr_NetrEnumerateTrustedDomains);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRGetDCName *r;
- call = &p->interface->calls[NDR_NETR_DSRGETDCNAME];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETDCNAME];
r = talloc(talloc_tos(), struct netr_DsRGetDCName);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonGetCapabilities *r;
- call = &p->interface->calls[NDR_NETR_LOGONGETCAPABILITIES];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONGETCAPABILITIES];
r = talloc(talloc_tos(), struct netr_LogonGetCapabilities);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NETRLOGONSETSERVICEBITS *r;
- call = &p->interface->calls[NDR_NETR_NETRLOGONSETSERVICEBITS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRLOGONSETSERVICEBITS];
r = talloc(talloc_tos(), struct netr_NETRLOGONSETSERVICEBITS);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonGetTrustRid *r;
- call = &p->interface->calls[NDR_NETR_LOGONGETTRUSTRID];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONGETTRUSTRID];
r = talloc(talloc_tos(), struct netr_LogonGetTrustRid);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NETRLOGONCOMPUTESERVERDIGEST *r;
- call = &p->interface->calls[NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRLOGONCOMPUTESERVERDIGEST];
r = talloc(talloc_tos(), struct netr_NETRLOGONCOMPUTESERVERDIGEST);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NETRLOGONCOMPUTECLIENTDIGEST *r;
- call = &p->interface->calls[NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRLOGONCOMPUTECLIENTDIGEST];
r = talloc(talloc_tos(), struct netr_NETRLOGONCOMPUTECLIENTDIGEST);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerAuthenticate3 *r;
- call = &p->interface->calls[NDR_NETR_SERVERAUTHENTICATE3];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERAUTHENTICATE3];
r = talloc(talloc_tos(), struct netr_ServerAuthenticate3);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRGetDCNameEx *r;
- call = &p->interface->calls[NDR_NETR_DSRGETDCNAMEEX];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETDCNAMEEX];
r = talloc(talloc_tos(), struct netr_DsRGetDCNameEx);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRGetSiteName *r;
- call = &p->interface->calls[NDR_NETR_DSRGETSITENAME];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETSITENAME];
r = talloc(talloc_tos(), struct netr_DsRGetSiteName);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonGetDomainInfo *r;
- call = &p->interface->calls[NDR_NETR_LOGONGETDOMAININFO];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONGETDOMAININFO];
r = talloc(talloc_tos(), struct netr_LogonGetDomainInfo);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerPasswordSet2 *r;
- call = &p->interface->calls[NDR_NETR_SERVERPASSWORDSET2];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERPASSWORDSET2];
r = talloc(talloc_tos(), struct netr_ServerPasswordSet2);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerPasswordGet *r;
- call = &p->interface->calls[NDR_NETR_SERVERPASSWORDGET];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERPASSWORDGET];
r = talloc(talloc_tos(), struct netr_ServerPasswordGet);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NETRLOGONSENDTOSAM *r;
- call = &p->interface->calls[NDR_NETR_NETRLOGONSENDTOSAM];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRLOGONSENDTOSAM];
r = talloc(talloc_tos(), struct netr_NETRLOGONSENDTOSAM);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRAddressToSitenamesW *r;
- call = &p->interface->calls[NDR_NETR_DSRADDRESSTOSITENAMESW];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRADDRESSTOSITENAMESW];
r = talloc(talloc_tos(), struct netr_DsRAddressToSitenamesW);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRGetDCNameEx2 *r;
- call = &p->interface->calls[NDR_NETR_DSRGETDCNAMEEX2];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETDCNAMEEX2];
r = talloc(talloc_tos(), struct netr_DsRGetDCNameEx2);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN *r;
- call = &p->interface->calls[NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRLOGONGETTIMESERVICEPARENTDOMAIN];
r = talloc(talloc_tos(), struct netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN);
if (r == NULL) {
DATA_BLOB blob;
struct netr_NetrEnumerateTrustedDomainsEx *r;
- call = &p->interface->calls[NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX];
+ call = &ndr_table_netlogon.calls[NDR_NETR_NETRENUMERATETRUSTEDDOMAINSEX];
r = talloc(talloc_tos(), struct netr_NetrEnumerateTrustedDomainsEx);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRAddressToSitenamesExW *r;
- call = &p->interface->calls[NDR_NETR_DSRADDRESSTOSITENAMESEXW];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRADDRESSTOSITENAMESEXW];
r = talloc(talloc_tos(), struct netr_DsRAddressToSitenamesExW);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsrGetDcSiteCoverageW *r;
- call = &p->interface->calls[NDR_NETR_DSRGETDCSITECOVERAGEW];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETDCSITECOVERAGEW];
r = talloc(talloc_tos(), struct netr_DsrGetDcSiteCoverageW);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonSamLogonEx *r;
- call = &p->interface->calls[NDR_NETR_LOGONSAMLOGONEX];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONSAMLOGONEX];
r = talloc(talloc_tos(), struct netr_LogonSamLogonEx);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsrEnumerateDomainTrusts *r;
- call = &p->interface->calls[NDR_NETR_DSRENUMERATEDOMAINTRUSTS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRENUMERATEDOMAINTRUSTS];
r = talloc(talloc_tos(), struct netr_DsrEnumerateDomainTrusts);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsrDeregisterDNSHostRecords *r;
- call = &p->interface->calls[NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRDEREGISTERDNSHOSTRECORDS];
r = talloc(talloc_tos(), struct netr_DsrDeregisterDNSHostRecords);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerTrustPasswordsGet *r;
- call = &p->interface->calls[NDR_NETR_SERVERTRUSTPASSWORDSGET];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERTRUSTPASSWORDSGET];
r = talloc(talloc_tos(), struct netr_ServerTrustPasswordsGet);
if (r == NULL) {
DATA_BLOB blob;
struct netr_DsRGetForestTrustInformation *r;
- call = &p->interface->calls[NDR_NETR_DSRGETFORESTTRUSTINFORMATION];
+ call = &ndr_table_netlogon.calls[NDR_NETR_DSRGETFORESTTRUSTINFORMATION];
r = talloc(talloc_tos(), struct netr_DsRGetForestTrustInformation);
if (r == NULL) {
DATA_BLOB blob;
struct netr_GetForestTrustInformation *r;
- call = &p->interface->calls[NDR_NETR_GETFORESTTRUSTINFORMATION];
+ call = &ndr_table_netlogon.calls[NDR_NETR_GETFORESTTRUSTINFORMATION];
r = talloc(talloc_tos(), struct netr_GetForestTrustInformation);
if (r == NULL) {
DATA_BLOB blob;
struct netr_LogonSamLogonWithFlags *r;
- call = &p->interface->calls[NDR_NETR_LOGONSAMLOGONWITHFLAGS];
+ call = &ndr_table_netlogon.calls[NDR_NETR_LOGONSAMLOGONWITHFLAGS];
r = talloc(talloc_tos(), struct netr_LogonSamLogonWithFlags);
if (r == NULL) {
DATA_BLOB blob;
struct netr_ServerGetTrustInfo *r;
- call = &p->interface->calls[NDR_NETR_SERVERGETTRUSTINFO];
+ call = &ndr_table_netlogon.calls[NDR_NETR_SERVERGETTRUSTINFO];
r = talloc(talloc_tos(), struct netr_ServerGetTrustInfo);
if (r == NULL) {
NTSTATUS rpc_netlogon_init(void)
{
- return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "netlogon", "netlogon", NDR_NETLOGON_UUID, NDR_NETLOGON_VERSION, api_netlogon_cmds, sizeof(api_netlogon_cmds) / sizeof(struct api_struct));
+ return rpc_srv_register(SMB_RPC_INTERFACE_VERSION, "netlogon", "netlogon", &ndr_table_netlogon, api_netlogon_cmds, sizeof(api_netlogon_cmds) / sizeof(struct api_struct));
}