summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/nbt.idl
AgeCommit message (Collapse)AuthorFilesLines
2008-09-23s4-nbt: use moved libcli netlogon helpers.Günther Deschner1-1/+1
Guenther
2008-09-23s4-nbt: use ../libcli/nbtGünther Deschner1-1/+1
Guenther
2008-08-20Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer1-1/+7
I've studied now the netlogon attribute from the CLDAP request and have compared them with the table presented in the WSPP docs (http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two bytes seem to be correct, but that the third and fourth one is completely clear with SAMBA 4. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 3024a43c25e3ec9821d94a27d5cf738890b1b8f3)
2008-05-26Remove evil hack which breaks Python bindings.Jelmer Vernooij1-12/+6
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
2008-05-21Manually handle the NETLOGON_SAM_LOGON_REQUEST too.Andrew Bartlett1-5/+10
With the sid structure being both optional and aligned, it was too hard to do this in just IDL. This requried moving some things around, as otherwise we would have a dependency loop. Andrew Bartlett (This used to be commit e28790ba4884277f310be1b8bd3fba4fd47dbbdb)
2008-05-21Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819cAndrew Bartlett1-1/+4
This manual alignment is required, because the structure is marked as unaligned. Andrew Bartlett (This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)
2008-05-17Explain that the sid must be absent on the NTLOGON mailslot.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit a7983387f7a624f6bf5c2fbfa41f849ac4471147)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett1-189/+136
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-04-17nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0Stefan Metzmacher1-6/+4
metze (This used to be commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-2/+2
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-12nbt.idl: don't use astring15 anymore and use an charset() arrayStefan Metzmacher1-1/+1
metze (This used to be commit bb143c76fb971bc2a1d69954d37ab20a953f2b69)
2008-01-12idl: Use typedef rather than declare.Jelmer Vernooij1-2/+2
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2007-10-10r21477: Remove unnecessary properties.Jelmer Vernooij1-1/+0
(This used to be commit 17d1da19474de3c501b532aec74b1fb93ed3ae3f)
2007-10-10r20566: Prepending with r-> is no longer necessary.Jelmer Vernooij1-1/+1
(This used to be commit 1df96af3103795f609165e7a7344e1bf6046be79)
2007-10-10r19699: - use better names for the site stringsStefan Metzmacher1-6/+6
- use the client_site when creating the server object metze (This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10r19697: use the same mailslot name as windows does,Stefan Metzmacher1-1/+1
this also let wireshark match the responses metze (This used to be commit 9e52b0b9b59e2c8ee7b1242a191cc37e462842c1)
2007-10-10r19594: the behaviour of `include' is slightly different from helper(). Fix ↵Jelmer Vernooij1-2/+3
the build for now. (This used to be commit 1474f1a220d869c3c11dac038411149abe3e48fe)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-4/+5
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r16691: we should only look at rdata.data.length when we're in ndr_push modeStefan Metzmacher1-1/+3
metze (This used to be commit 630d3d11a4d998c0006cb652c47837867ecb2824)
2007-10-10r16690: - fix bug 3896Stefan Metzmacher1-1/+11
- we didn't pushed the wins wack reply correctly to the wire, as NBT_QTYPE_NETBIOS is used and setting rdata.data.data was useless... metze (This used to be commit d3556e18892c0540e92f560f9d6b1b5587e41a62)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij1-2/+2
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r14361: Support 'helper' attribute in pidl and use it.Jelmer Vernooij1-1/+2
Remove some headers from include/includes.h (they're now only included in the file they are used) (This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
2007-10-10r13242: cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 579James Peach1-4/+4
cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 580 A "/*" appears inside a comment. (This used to be commit 53ac5a2fb251c04dab2b92cd8a9df8005e340e3a)
2007-10-10r13044: I finally understand that the [charset()] and [string] propertiesStefan Metzmacher1-3/+3
are independent... fix some warnings metze (This used to be commit 6ae621437cdfd9ca5beac1d056f60d875a057b22)
2007-10-10r12933: fix parsing of browse packets based on the infos on ↵Stefan Metzmacher1-43/+74
http://ubiqx.org/cifs/Browsing.html metze (This used to be commit 811683e5561a70c8f97f325a8a786d4aac17a564)
2007-10-10r12517: Don't generate empty init functionsJelmer Vernooij1-3/+1
(This used to be commit 832a1092c9c11c293b5748e2e78da872fcba2a42)
2007-10-10r11373: Handle an apparent alias in NBT ntlogin replies.Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 51d55d2211195fe5d345ce130001dff1bfbfcef3)
2007-10-10r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200Stefan Metzmacher1-1/+1
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere (tridge: can you review this please, (make test works) metze (This used to be commit a599d7a4ae881c94be2c2d908a398838549942bb)
2007-10-10r8855: Share this enum (describing the SamSync databases) between nbt and ↵Andrew Bartlett1-3/+5
netlogon. Andrew Bartlett (This used to be commit 5e29e1c68c1b1a957419320cef55395ba0fe6b6f)
2007-10-10r8368: the type filed depends on the user being present or notStefan Metzmacher1-4/+4
call ndr_print for each call metze (This used to be commit 0a07e4ef8d869d35ceb0761495e367077f2361ba)
2007-10-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher1-18/+18
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij1-26/+4
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r7399: Try to get the AIX compile one step further.Volker Lendecke1-4/+2
Volker (This used to be commit 75dbd2069335af95b225716e06ea594013dea895)
2007-10-10r7377: Integrate browse service stuff more nicelyJelmer Vernooij1-0/+102
Add notes on mailslots Add TODO list for pidl, including some plans on switching over to using [string] attributes for pidl. (This used to be commit fca195ce072bacb0543625aec7f4bce814e278eb)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-1/+1
The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10r6814: fill in two more unknown values in cldap responsesAndrew Tridgell1-2/+2
(This used to be commit 5ee46b44be45763bfaa11dc0b0c9f53b7ee30a51)
2007-10-10r6720: added support for the remaining 2 types of CLDAP netlogonAndrew Tridgell1-17/+55
response. To work around the fact that the type of the returned data is not encoded in the packet, this required adding ndr_pull_union_blob() which allows us to pull a blob into a union with a specified switch value, in this case the switch value comes from the calling NtVer field. (This used to be commit bd27e626c27be72913d1a1569ee6e2e2711df84e)
2007-10-10r6693: first version of cldap client library, with async interfaceAndrew Tridgell1-0/+46
(This used to be commit cbeffe830b2d3aee2ba346034548fa273a08f409)
2007-10-10r6338: ADS style GETDC response now works well enough that WinXP can joinAndrew Tridgell1-7/+21
Samba4 without Samba3 nmbd (This used to be commit f4d07d7d3b6973b503d8c98f177471dd6cebfa92)
2007-10-10r6331: added IDL and test suite for the ADS style response to a datagram ↵Andrew Tridgell1-5/+44
netlogon query. Note that this response is almost identical to the CLDAP netlogon response, so adding that will now be quite easy. (This used to be commit 1ea4ed4ad1d9336f8288283688fa2d7bebfa533c)
2007-10-10r6323: added server side support for dgram NTLOGON requests. NT4 ↵Andrew Tridgell1-2/+1
workstations can now login to a Samba4 domain. (This used to be commit df146d64ebce6b462c08a1f30919390fcf8196cb)
2007-10-10r6321: added IDL and test suite for NBT dgram 'sam logon' request (sent byAndrew Tridgell1-1/+44
clients when a user tries to login) (This used to be commit 08ded62156b387457bc56b5910e1ddc813b375bd)
2007-10-10r6320: some minor netlogon datagram fixes - NT4 can now join a Samba4 domain ↵Andrew Tridgell1-2/+1
without Samba3 nmbd (This used to be commit 4507bdc339505e91118d403948946f4a98a4f562)
2007-10-10r6287: sorted out a small but surprisingly tricky dependency problem with theAndrew Tridgell1-3/+1
ndr code for handling sids and security descriptors now that we have a sid in the nbt IDL (This used to be commit f8e77fcdeac704aed5e501aa9108f3ed0ab26ca4)
2007-10-10r6248: added parsing of type 10 UAS announce netlogon packetsAndrew Tridgell1-1/+36
(This used to be commit d7e6e395cedef47dc182094c91f764e248b9b149)
2007-10-10r6247: added the server side code for receiving mailslot requests, andAndrew Tridgell1-1/+7
parsing incoming netlogon requests. No replies are sent yet. (This used to be commit 3b34df6a674cd2aeddc354cdadae3f0e1c000d45)
2007-10-10r6245: receive and parse the GETDC response in the NBT-DGRAM test. The testAndrew Tridgell1-1/+13
now tries to bind to port 138 if possible, so if you run it as root and smbd/nmbd is not running then it works against windows servers (This used to be commit 52ccdb79bc922be52c24dd393323dbbee83a2aea)
2007-10-10r6223: added a bit more datagram infrastructure and the beginnings of a testAndrew Tridgell1-6/+32
suite. The NBT-DGRAM test does a UDP/138 netlogon request, to which a windows server sends a reply, but the windows server sends the reply to the wrong port (it always sends to 138), so the test suite doesn't see it. (This used to be commit a7634625dbc944dd8256a822be290010f341a571)
2007-10-10r6209: started added code to support mailslot requests over UDP/138Andrew Tridgell1-7/+79
datagrams. This adds the IDL to parse mailslot packets, plus mailslot dispatch and listener registration code. mailslots are used for UDP/138 browse and netlogon packets (This used to be commit f20e7e5200de736b3451d748ed716be638f93502)
2007-10-10r6184: the beginnings of the libcli/dgram/ library, and the dgramAndrew Tridgell1-0/+62
server. Currently just listens on port 138 and parses the packets (using IDL like the rest of NBT). This allows me to develop the structures and test with real packets (This used to be commit 10d64a525349ff96695ad961a3cfeb5bc7c8844f)