summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clidgram.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-301-0/+1
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3: Remove some unused codeVolker Lendecke2011-01-071-83/+0
|
* s3: Add nbt_getdcVolker Lendecke2011-01-071-0/+195
| | | | This is a getdc version that uses /tmp/.nmbd/unexpected
* s3: Fix a valgrind errorVolker Lendecke2011-01-071-1/+1
|
* s3: Factor out parse_getdc_responseVolker Lendecke2011-01-071-55/+65
|
* s3: Lift my_mailslot from prep_getdc_requestVolker Lendecke2011-01-071-18/+22
|
* s3: Fix a memleak in receive_getdc_responseVolker Lendecke2011-01-021-15/+22
| | | | | | | | It's the free_packet() that was missing. On the way, I've changed the "return false;" to a "goto fail;", which makes the patch a bit larger. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 2 14:27:56 CET 2011 on sn-devel-104
* s3: Remove unused mem_ctx arg from set_getdc_requestVolker Lendecke2011-01-011-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
* s3: Factor out prep_getdc_requestVolker Lendecke2011-01-011-31/+50
|
* s3: cli_send_mailslot -> cli_prep_mailslotVolker Lendecke2011-01-011-31/+28
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-01-011-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104
* s3: Add some const to receive_getdc_responseVolker Lendecke2010-12-311-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
* s3: Add some const to send_getdc_requestVolker Lendecke2010-12-311-1/+1
|
* Fix the unexpected.tdb database problem. Change nmbd to store theJeremy Allison2010-11-141-6/+8
| | | | | | | | | | | | | | | | | | | | | transaction id of packets it was requested to send via a client, and only store replies that match these ids. On the client side change clients to always attempt to ask nmbd first for name_query and node_status calls, and then fall back to doing socket calls if we can't talk to nmbd (either nmbd is not running, or we're not root and cannot open the messaging tdb's). Fix readers of unexpected.tdb to delete packets they've successfully read. This should fix a long standing problem of unexpected.tdb growing out of control in noisy NetBIOS envioronments with lots of bradcasts, yet still allow unprivileged client apps to work mostly as well as they already did (nmblookup for example) in an environment when nmbd isn't running. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
* s3-dsgetdcname: cleanup receive_getdc_response a little.Günther Deschner2010-09-101-14/+18
| | | | Guenther
* s3: only use netlogon/nbt header when needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-1/+1
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-3/+3
|
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-061-0/+1
| | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
* nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer2010-04-271-1/+1
|
* Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....Jeremy Allison2009-07-201-2/+1
| | | | Jeremy.
* Import changes from upstream libndr.Jelmer Vernooij2008-10-131-1/+1
|
* The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2008-10-021-2/+2
|
* s3-nbt: use the new generated nbt.Günther Deschner2008-09-241-68/+23
| | | | Guenther
* s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner2008-09-231-1/+1
| | | | Guenther
* mailslot: Also pick domain name and pdc name from type 15 cldap reply.Günther Deschner2008-05-141-1/+22
| | | | | Guenther (This used to be commit 836877c4005ba081c0a4cc97726830d6dbd62d34)
* dsgetdcname: mailslot replies are identical to the cldap ones, use cldap ↵Günther Deschner2008-05-091-21/+41
| | | | | | | everywhere. Guenther (This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
* Fix a C++ warningVolker Lendecke2008-05-051-2/+2
| | | | (This used to be commit e7a4027acf38bf5800d9d8ba477afb5daaf517ce)
* mailslot: allow to give back struct nbt_ntlogon_packet.Günther Deschner2008-04-241-1/+10
| | | | | Guenther (This used to be commit 2b178dcae608ecc05f62593a7a0c2a127b8b7ca2)
* mailslot: make sure we are looking at the correct reply structure.Günther Deschner2008-04-241-4/+21
| | | | | Guenther (This used to be commit c6ce07fdf57c8b63ba6d72b622be261723cb55e3)
* mailslot: allow to define nt_version in send_getdc_request().Günther Deschner2008-04-241-2/+3
| | | | | Guenther (This used to be commit ce3728191b23badfd5eb92701e4cebf84273b61e)
* winbind: pass down existing talloc context.Günther Deschner2008-04-211-4/+4
| | | | | Guenther (This used to be commit 675bf42cfff89b05f21d77ca74eba20c4a24d44c)
* winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.Günther Deschner2008-04-211-102/+105
| | | | | Guenther (This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
* Move GETDC mailslot out of winbindd.Günther Deschner2008-04-171-0/+165
| | | | | Guenther (This used to be commit b003ba65e34bb92bf71a7943957715cd7acbcce0)
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-1/+1
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* Arg. The fix for CVE-2007-6015 hadn't been merged into 3.2.Jeremy Allison2007-12-131-0/+6
| | | | | | Do so now.... Jeremy. (This used to be commit 6b1246c29a0241c8e4bb98d659d847d010826b36)
* Remove unused code (and pstring).Jeremy Allison2007-11-281-92/+0
| | | | | Jeremy. (This used to be commit a261a61226248b41be22dd4f2873b5ed82bc2a24)
* Fix cast typo - would have broken all dgram sends.Jeremy Allison2007-10-251-1/+1
| | | | | Jeremy. (This used to be commit 17ea899f39e80241afa235cb933695ba6bae846a)
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-10/+17
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-1/+1
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke2007-10-101-3/+0
| | | | (This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)
* r22905: cli_send_mailslot had a message_send_pid insideVolker Lendecke2007-10-101-9/+14
| | | | (This used to be commit 3fdfb5b7cdf25f4db7bbacb416523d75cab1b103)
* r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison2007-10-101-1/+1
| | | | | | | | to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
* r22045: As Volker noticed, skip_string's last argument isJeremy Allison2007-10-101-1/+1
| | | | | | redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
* r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison2007-10-101-1/+4
| | | | | | but I've no option. Jeremy. (This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)