]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
IDL: make idl.
authorGünther Deschner <gd@samba.org>
Fri, 18 Apr 2008 09:42:51 +0000 (11:42 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 18 Apr 2008 09:50:19 +0000 (11:50 +0200)
Guenther

source/librpc/gen_ndr/nbt.h
source/librpc/gen_ndr/ndr_nbt.c

index 151a94ba205892be050e35de96405317c215126d..8f2c38aef4479f73e7eaaf606d5a5311e3e33a64 100644 (file)
@@ -625,6 +625,7 @@ struct nbt_ntlogon_sam_logon_reply {
 union nbt_ntlogon_request {
        struct nbt_ntlogon_sam_logon logon;/* [case(NTLOGON_SAM_LOGON)] */
        struct nbt_ntlogon_sam_logon_reply reply;/* [case(NTLOGON_SAM_LOGON_REPLY)] */
+       struct nbt_netlogon_response_from_pdc2 reply2;/* [case(NETLOGON_RESPONSE_FROM_PDC2)] */
 }/* [nodiscriminant] */;
 
 struct nbt_ntlogon_packet {
index c61764156403ef35faedd297fab1e6f28b8b53f3..45fd54d52fdd878604f357005b89a52c60ccd07b 100644 (file)
@@ -3184,6 +3184,10 @@ static enum ndr_err_code ndr_push_nbt_ntlogon_request(struct ndr_push *ndr, int
                                NDR_CHECK(ndr_push_nbt_ntlogon_sam_logon_reply(ndr, NDR_SCALARS, &r->reply));
                        break; }
 
+                       case NETLOGON_RESPONSE_FROM_PDC2: {
+                               NDR_CHECK(ndr_push_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
+                       break; }
+
                        default:
                                return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
                }
@@ -3201,6 +3205,9 @@ static enum ndr_err_code ndr_push_nbt_ntlogon_request(struct ndr_push *ndr, int
                        case NTLOGON_SAM_LOGON_REPLY15:
                        break;
 
+                       case NETLOGON_RESPONSE_FROM_PDC2:
+                       break;
+
                        default:
                                return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
                }
@@ -3226,6 +3233,10 @@ static enum ndr_err_code ndr_pull_nbt_ntlogon_request(struct ndr_pull *ndr, int
                                NDR_CHECK(ndr_pull_nbt_ntlogon_sam_logon_reply(ndr, NDR_SCALARS, &r->reply));
                        break; }
 
+                       case NETLOGON_RESPONSE_FROM_PDC2: {
+                               NDR_CHECK(ndr_pull_nbt_netlogon_response_from_pdc2(ndr, NDR_SCALARS, &r->reply2));
+                       break; }
+
                        default:
                                return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
                }
@@ -3242,6 +3253,9 @@ static enum ndr_err_code ndr_pull_nbt_ntlogon_request(struct ndr_pull *ndr, int
                        case NTLOGON_SAM_LOGON_REPLY15:
                        break;
 
+                       case NETLOGON_RESPONSE_FROM_PDC2:
+                       break;
+
                        default:
                                return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
                }
@@ -3267,6 +3281,10 @@ _PUBLIC_ void ndr_print_nbt_ntlogon_request(struct ndr_print *ndr, const char *n
                        ndr_print_nbt_ntlogon_sam_logon_reply(ndr, "reply", &r->reply);
                break;
 
+               case NETLOGON_RESPONSE_FROM_PDC2:
+                       ndr_print_nbt_netlogon_response_from_pdc2(ndr, "reply2", &r->reply2);
+               break;
+
                default:
                        ndr_print_bad_level(ndr, name, level);
        }