summaryrefslogtreecommitdiff
path: root/libcli/nbt
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij5-20/+14
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell1-1/+0
This was left over from the automatic conversion of the config.mk files
2010-04-06s4-waf: more dependencies on tallocAndrew Tridgell1-4/+1
these are needed so we can support a system talloc without using the bundled talloc.h
2010-04-06s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell1-1/+1
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-1/+1
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+42
2010-03-30libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"Matthias Dieter Wallnöfer1-1/+1
This fits better since the variable which is tested is of type "uint32_t".
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-03-11libcli/nbt Add parser for a 'hosts' file that takes DNS record typesAndrew Bartlett3-0/+313
2010-02-08nbt: don't reference the event_ctx in nbtsockAndrew Tridgell1-1/+1
This causes talloc_free with references errors
2010-02-02Change uint_t to unsigned int in libcliMatt Kraai1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-01libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 ↵Stefan Metzmacher1-2/+2
(0x3F) are allowed metze
2010-01-29libcli/nbt: fix off-by-one bug in ndr_pull_wrepl_nbt_name()Stefan Metzmacher1-2/+2
The scope starts at byte 17 with index 16. metze
2010-01-29libcli/nbt: fix ndr_pull/push_wrepl_nbt_name()Stefan Metzmacher1-0/+25
[MS-WINSRA] — v20091104 was wrong regarding section "2.2.10.1 Name Record" If the name buffer is already 4 byte aligned Windows (at least 2003 SP1 and 2008) add 4 extra bytes. This can happen when the name has a scope. metze
2009-11-04libcli/nbt Move more of lmhosts lookup into common codeAndrew Bartlett2-0/+85
This aims to eventually share this with Samba4. Andrew Bartlett
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
2009-09-19libcli:nbt move prototypes of lmhosts functions to libnbt.hAndrew Bartlett1-1/+6
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett1-0/+1
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2-0/+206
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-02-02libcli/nbt: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-01-19Attempt to fix the merged buildVolker Lendecke2-3/+3
2009-01-19libcli/nbt: add nbt_name_socket_handle_response_packet()Stefan Metzmacher2-3/+13
Move the last part of nbt_name_socket_recv() into a new function nbt_name_socket_handle_response_packet() so that it can be reused by an unexpected handler. metze (from samba4wins tree cb0377f3b95e50c84fac999a49dde80acc933124)
2009-01-19libcli/nbt: add nbt_set_unexpected_handler()Stefan Metzmacher2-0/+17
metze (from samba4wins tree 74232901d1e7ea9ebcb3bd8d584dda36fac37223)
2009-01-19libcli/nbt: fix wack timeout handlingStefan Metzmacher1-3/+18
If the client gets a WACK response, the server sends a timeout to the client. Possible values are between 9 and 105 seconds. Because w2k3 servers have a bug and always return a value of 5 seconds, we need a workarround. Always using a fixed value of 30 seconds is bad as we could timeout to early. Now we use the value from the server if it's in the valid range and otherwise we use the upper limit of the valid range (105s). metze (from samba4wins tree 40ef7739f4141598a6392c203e4a2d52d972fe06)
2009-01-19Revert "Remove another use of global_loadparm."Stefan Metzmacher3-6/+2
This reverts commit ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d. A much more correct fix will come soon. (40ef7739f4141598a6392c203e4a2d52d972fe06 from the samba4wins tree) metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-1/+1
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher4-10/+10
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-23Fix more compiler warnings.Jelmer Vernooij1-2/+2
2008-11-23libcli/nbt: fix some extrasemi compile warnings.Michael Adam1-3/+3
Michael
2008-11-02Fix the build.Jelmer Vernooij1-3/+1
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij4-3/+9
2008-10-24Fix the build.Jelmer Vernooij1-2/+2
2008-10-24Remove unused include param/param.h.Jelmer Vernooij4-4/+0
2008-10-24Remove more global_loadparm instances, fix syntax errors.Jelmer Vernooij1-4/+4
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-12Fix number of arguments for file_load() functions.Jelmer Vernooij1-0/+0
2008-10-12Move nmblookup to same location as the rest of the NBT client library.Jelmer Vernooij2-0/+604
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij2-4/+4
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-24libcli: add nbt_proto.h that is no longer autogenerated.Günther Deschner1-0/+43
Guenther
2008-09-23s4-nbt: move libcli/nbt up one level.Günther Deschner8-0/+3042
Guenther