summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2010-04-04s4-python: Remove convenience macro PyErr_SetStringError.Jelmer Vernooij1-3/+0
This macro assumed that all errors were runtime errors.
2010-03-30wbclient/wbclient.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-03-29s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.resultGünther Deschner1-3/+31
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell3-0/+3
These were causing thousands of warnings on solaris8
2010-03-25s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher1-1/+15
dead metze
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-03-24Missing include guard in source4/libcli/security/security.hJeremy Allison1-0/+5
Jeremy.
2010-03-19error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner1-1/+1
Metze, please check. Guenther
2010-03-18libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher1-0/+8
metze
2010-03-12s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-6/+6
metze
2010-03-12s4:libcli/composite: get rid of composite_continue_rpc()Stefan Metzmacher2-16/+0
metze
2010-03-11s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2-38/+13
This avoids pulling the address into a string and back again if given a name, by letting the next async layer down do the name resolution. If it was an IP address to start with, then the resolver library just converts that to the struct socket_address. Andrew Bartlett
2010-03-11s4:libcli/resovle File based lookup module for DNS name typesAndrew Bartlett3-1/+153
This uses the new common code to read a file containing DNS host names, so we don't have to use real DNS lookups in our test environment. Andrew Bartlett
2010-03-11s4:libcli/resolve Use a more robust way to return the string addressAndrew Bartlett2-3/+12
By going via these tevent functions, we avoid needing to dereference the struct socket_address, which may contain a 'struct sockaddr' or strings. The new dns_host_file resolver returns in the form of a struct sockaddr. Andrew Bartlett
2010-03-10ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke1-1/+1
2010-03-09s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke1-1/+1
2010-03-07s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher3-465/+304
and tstream_context metze
2010-03-07s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher1-0/+17
metze
2010-03-07s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher2-29/+30
metze
2010-03-07s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher1-39/+118
metze
2010-03-07s4:libcli/wrepl: rename enum wrepl_request_state => enum ↵Stefan Metzmacher1-2/+2
wrepl_request_internal_state metze
2010-03-07s4:libcli/wrepl: move wrepl_request_send/recv => ↵Stefan Metzmacher1-6/+20
wrepl_request_internal_send/recv metze
2010-03-07s4:libcli/wrepl: add my copyrightStefan Metzmacher2-0/+2
metze
2010-03-05s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_reqStefan Metzmacher1-28/+83
metze
2010-03-05s4:libcli/wrepl: convert wrepl_connect_send to tevent_reqStefan Metzmacher1-65/+95
metze
2010-03-05s4:libcli/wrepl: convert wrepl_associate_send to tevent_reqStefan Metzmacher1-36/+98
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_reqStefan Metzmacher1-39/+98
metze
2010-03-05s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_reqStefan Metzmacher1-63/+142
metze
2010-03-05s4:libcli/wrepl: use UTIL_TEVENTStefan Metzmacher2-1/+2
metze
2010-03-05s4:libcli/wrepl: avoid neested named structuresStefan Metzmacher1-15/+19
metze
2010-03-05s4-pvfs: move the private ntcreatex flags to private_flagsAndrew Tridgell2-8/+7
Re-using two of the create_options bits was bound to eventually cause problems, and indeed, Windows7 now uses one of those bits when opening text files. Fixes bug 7189
2010-03-05s4-dns-ex: use autoclose on the dns child pipeAndrew Tridgell1-2/+1
I'm hoping this will fix an occasional segfault I've noticed where epoll still calls events on a closed fde Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-03s4:move the sddl code down to the top levelMichael Adam3-627/+2
Michael
2010-03-02s4-libcli: Added NULL handlers for DSDB_CONTROL_DN_STORAGE_FORMAT_OID and ↵Endi S. Dewata1-0/+4
LDB_CONTROL_AS_SYSTEM_OID Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-02-26s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell1-0/+5
We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-17s4/ldap: Refactor the fix for ldap nested searchesKamen Mazdrashki1-4/+0
Current implementation synchronizes processing for all types of LDAP request, not only LDAP_Search ones. Synchronization for ldap replies processing is done locally in ldb_ildap module as this concerns only ildb_callback() function. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-02-11s4: Switch to S3-style id mapping data types.Kai Blin2-9/+9
2010-02-09s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell1-2/+2
Allow UNC lists like this: 192.168.2.1 192.168.2.2 192.168.2.3 the share name will be taken from the command line
2010-02-02Change uint_t to unsigned int in source4Matt Kraai16-90/+90
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29s4/ldap: Fix nested searches SEGFAULT bugKamen Mazdrashki1-0/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29s4:libcli: remove unneeded talloc_reference() usageStefan Metzmacher1-4/+1
metze
2010-01-26s4-libcli: Fixed a talloc_reference error.Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@redhat.com> Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-08libcli/util: add tstream_read_pdu_blob_send/recvStefan Metzmacher1-0/+5
This will take the some full_request callback function as the Samba4 packet code. metze
2010-01-06s4: Fix result check for getaddrinfo()Kamen Mazdrashki1-6/+11
I think this completes commit 50feca550eed7828198b7c0fc5f0e5ddc863313d. Now result should be handled correctly both for systems that support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x) and systems that doesn't support EAI_NODATA at all. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-02s4-sddl: DRS replication needs REVISION_ADS for SDsAndrew Tridgell1-1/+1
DRS replication with w2k8-r2 fails with a schema mismatch error if we set the revision to NT4
2009-12-31s4-net: fixed finddcs to use empty SID instead of NULL sid (NDR error)Andrew Tridgell1-0/+3
2009-12-31py/security: Add test for dom_sid.split.Jelmer Vernooij1-3/+8
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-17Fixed incorrect checking of PRINCIPAL_SELF permissions.Nadezhda Ivanova1-3/+12
If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights to an account over itself.
2009-12-10s4-libcli: GUID_from_ndr_blob() is strict about the blob sizeAndrew Tridgell1-2/+4
We need to create a blob of the right length
2009-12-10s4-libcli: use GUID_to_ndr_blob()Andrew Tridgell2-11/+9