summaryrefslogtreecommitdiff
path: root/libcli
AgeCommit message (Collapse)AuthorFilesLines
2009-02-01s3: Fix the non-merged build.Kai Blin1-1/+0
2009-02-01shared: Move dom_sid_* utility functions to top levelKai Blin3-0/+359
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
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-3/+3
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-12errors: add WERR_CM_BUFFER_SMALL.Günther Deschner1-0/+1
Guenther
2008-11-10nterrors: add NT_STATUS_DS_BUSY.Günther Deschner1-0/+1
Guenther
2008-11-06doserr: add WERR_NO_TRUST_SAM_ACCOUNT.Günther Deschner2-0/+2
Guenther
2008-11-02Fix the build.Jelmer Vernooij1-3/+1
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij4-3/+9
2008-11-02Remove use of global_loadparm when comparing nt status error - useJelmer Vernooij1-0/+3
global variable instead.
2008-11-01Use shared doserr.c.Jelmer Vernooij2-0/+88
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-23Fix "parameter has incomplete type" build warning.Tim Prouty1-7/+0
When libcli-util was moved to the top level (3be0f6ea56ed8e43cd287ed020e942efb675b87b) it introduced a build warning. Since ndr_map_error2ntstatus depends on the definition of enum ndr_err_code and libndr.h can't be easily included in error.h, I moved the definition of enum ndr_err_code to libndr.h. This also eliminates the need for the duplicate definition in proto.h
2008-10-23Use common error definitions.Jelmer Vernooij3-2300/+4
2008-10-23Import NTSTATUS defines from Samba 3.Jelmer Vernooij1-0/+682
2008-10-23Import WERROR defines from Samba 3.Jelmer Vernooij1-9/+57
2008-10-23Import new DOS error codes from Samba 3.Jelmer Vernooij1-0/+4
2008-10-23Move libcli-util error code to top-level.Jelmer Vernooij6-0/+2906
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-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2-37/+50
2008-09-24Temporary build fix for the merged buildSimo Sorce1-0/+7
2008-09-24libcli: add nbt_proto.h that is no longer autogenerated.Günther Deschner1-0/+43
Guenther
2008-09-24libcli: add some basic debugging functions for netlogon helper.Günther Deschner1-0/+11
Guenther
2008-09-24libcli: add autogenerated libcli netlogon helper protos.Günther Deschner2-0/+56
Guenther
2008-09-23s4-libcli: move nbt/netlogon helper functions up one level.Günther Deschner3-0/+503
Guenther
2008-09-23s4-nbt: move libcli/nbt up one level.Günther Deschner8-0/+3042
Guenther