summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidgram.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-30Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as ↵Jeremy Allison1-7/+0
nbt_getdc() has no timeout. This code explicitly isn't needed as the tevent code will take care of this.
2012-05-22Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout.Jeremy Allison1-0/+12
Add a timeout_in_seconds parameter to nbt_getdc() to make it fail after that time with NT_STATUS_IO_TIMEOUT.
2011-11-03librpc: remove nbt dependency to samr.Günther Deschner1-0/+1
Guenther
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-3/+3
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-1/+1
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner1-0/+1
We might find a better name for it and merge other namequery related things as well here... Guenther
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)