summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clidgram.c
Commit message (Collapse)AuthorAgeFilesLines
* param: rename lp function and variable from 'piddir' to 'pid_directory'Garming Sam2014-02-071-1/+1
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:libsmb: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Move everything to use the common pidfile functions.Jeremy Allison2012-07-191-1/+2
| | | | The extra code in source3/lib/pidfile.c is no longer needed.
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-191-1/+1
|
* Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as ↵Jeremy Allison2012-05-301-7/+0
| | | | | | | nbt_getdc() has no timeout. This code explicitly isn't needed as the tevent code will take care of this.
* Fix bug #8953 - winbind can hang as nbt_getdc() has no timeout.Jeremy Allison2012-05-221-0/+12
| | | | | Add a timeout_in_seconds parameter to nbt_getdc() to make it fail after that time with NT_STATUS_IO_TIMEOUT.
* librpc: remove nbt dependency to samr.Günther Deschner2011-11-031-0/+1
| | | | Guenther
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-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
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-051-1/+1
|
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-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
* 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)