summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidgram.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07s3: Remove some unused codeVolker Lendecke1-83/+0
2011-01-07s3: Add nbt_getdcVolker Lendecke1-0/+195
This is a getdc version that uses /tmp/.nmbd/unexpected
2011-01-07s3: Fix a valgrind errorVolker Lendecke1-1/+1
2011-01-07s3: Factor out parse_getdc_responseVolker Lendecke1-55/+65
2011-01-07s3: Lift my_mailslot from prep_getdc_requestVolker Lendecke1-18/+22
2011-01-02s3: Fix a memleak in receive_getdc_responseVolker Lendecke1-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
2011-01-01s3: Remove unused mem_ctx arg from set_getdc_requestVolker Lendecke1-2/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 23:00:24 CET 2011 on sn-devel-104
2011-01-01s3: Factor out prep_getdc_requestVolker Lendecke1-31/+50
2011-01-01s3: cli_send_mailslot -> cli_prep_mailslotVolker Lendecke1-31/+28
2011-01-01s3: Fix some nonempty blank linesVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 1 16:03:23 CET 2011 on sn-devel-104
2010-12-31s3: Add some const to receive_getdc_responseVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 31 14:48:57 CET 2010 on sn-devel-104
2010-12-31s3: Add some const to send_getdc_requestVolker Lendecke1-1/+1
2010-11-14Fix the unexpected.tdb database problem. Change nmbd to store theJeremy Allison1-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
2010-09-10s3-dsgetdcname: cleanup receive_getdc_response a little.Günther Deschner1-14/+18
Guenther
2010-05-31s3: only use netlogon/nbt header when needed.Günther Deschner1-0/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-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>
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-3/+3
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-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
2010-04-27nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer1-1/+1
2009-07-20Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....Jeremy Allison1-2/+1
Jeremy.
2008-10-13Import changes from upstream libndr.Jelmer Vernooij1-1/+1
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke1-2/+2
2008-09-24s3-nbt: use the new generated nbt.Günther Deschner1-68/+23
Guenther
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner1-1/+1
Guenther
2008-05-14mailslot: Also pick domain name and pdc name from type 15 cldap reply.Günther Deschner1-1/+22
Guenther (This used to be commit 836877c4005ba081c0a4cc97726830d6dbd62d34)
2008-05-09dsgetdcname: mailslot replies are identical to the cldap ones, use cldap ↵Günther Deschner1-21/+41
everywhere. Guenther (This used to be commit fe904ee77a7fec1674e9db660978c40c17897f77)
2008-05-05Fix a C++ warningVolker Lendecke1-2/+2
(This used to be commit e7a4027acf38bf5800d9d8ba477afb5daaf517ce)
2008-04-24mailslot: allow to give back struct nbt_ntlogon_packet.Günther Deschner1-1/+10
Guenther (This used to be commit 2b178dcae608ecc05f62593a7a0c2a127b8b7ca2)
2008-04-24mailslot: make sure we are looking at the correct reply structure.Günther Deschner1-4/+21
Guenther (This used to be commit c6ce07fdf57c8b63ba6d72b622be261723cb55e3)
2008-04-24mailslot: allow to define nt_version in send_getdc_request().Günther Deschner1-2/+3
Guenther (This used to be commit ce3728191b23badfd5eb92701e4cebf84273b61e)
2008-04-21winbind: pass down existing talloc context.Günther Deschner1-4/+4
Guenther (This used to be commit 675bf42cfff89b05f21d77ca74eba20c4a24d44c)
2008-04-21winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.Günther Deschner1-102/+105
Guenther (This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
2008-04-17Move GETDC mailslot out of winbindd.Günther Deschner1-0/+165
Guenther (This used to be commit b003ba65e34bb92bf71a7943957715cd7acbcce0)
2007-12-26Add SMB encryption. Still fixing client decrypt butJeremy Allison1-1/+1
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
2007-12-13Arg. The fix for CVE-2007-6015 hadn't been merged into 3.2.Jeremy Allison1-0/+6
Do so now.... Jeremy. (This used to be commit 6b1246c29a0241c8e4bb98d659d847d010826b36)
2007-11-28Remove unused code (and pstring).Jeremy Allison1-92/+0
Jeremy. (This used to be commit a261a61226248b41be22dd4f2873b5ed82bc2a24)
2007-10-25Fix cast typo - would have broken all dgram sends.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 17ea899f39e80241afa235cb933695ba6bae846a)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-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)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-1/+1
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke1-3/+0
(This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)
2007-10-10r22905: cli_send_mailslot had a message_send_pid insideVolker Lendecke1-9/+14
(This used to be commit 3fdfb5b7cdf25f4db7bbacb416523d75cab1b103)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-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)
2007-10-10r22045: As Volker noticed, skip_string's last argument isJeremy Allison1-1/+1
redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
2007-10-10r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison1-1/+4
but I've no option. Jeremy. (This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
2007-10-10r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke1-2/+3
crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker (This used to be commit 3f620d181da0c356c8ffbdb5b380ccab3645a972)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-1/+1
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter1-176/+107
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)