summaryrefslogtreecommitdiff
path: root/libcli/nbt
AgeCommit message (Collapse)AuthorFilesLines
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