The Samba-Bugzilla – Attachment 2005 Details for
Bug 3896
Samba4WINS behavior differs from WIn2k servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for the problem
wins-wack-reply-fix-01.diff (text/plain), 866 bytes, created by
Stefan Metzmacher
on 2006-06-29 13:37:11 UTC
(
hide
)
Description:
fix for the problem
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2006-06-29 13:37:11 UTC
Size:
866 bytes
patch
obsolete
>=== librpc/idl/nbt.idl >================================================================== >--- librpc/idl/nbt.idl (revision 25026) >+++ librpc/idl/nbt.idl (local) >@@ -165,12 +165,22 @@ > [default] nbt_rdata_data data; > } nbt_rdata; > >+/* >+ * this macro works arround the problem >+ * that we need to use nbt_rdata_data >+ * together with NBT_QTYPE_NETBIOS >+ * for WACK replies >+ */ >+#define NBT_RES_REC_LEVEL(rr_type, rdata) (\ >+ (((rr_type) == NBT_QTYPE_NETBIOS) && ((rdata).data.length == 2)) \ >+ ? 0 : rr_type) >+ > typedef [flag(LIBNDR_PRINT_ARRAY_HEX)] struct { > nbt_name name; > nbt_qtype rr_type; > nbt_qclass rr_class; > uint32 ttl; >- [switch_is(rr_type)] nbt_rdata rdata; >+ [switch_is(NBT_RES_REC_LEVEL(rr_type, rdata))] nbt_rdata rdata; > } nbt_res_rec; > > typedef [flag(NDR_NOALIGN|NDR_BIG_ENDIAN|NDR_PAHEX),public] struct {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3896
:
1999
|
2000
|
2005
|
2006