summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
* build: waf quicktest nearly worksAndrew Tridgell2010-04-062-4/+4
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-065-0/+138
|
* s4-python: Remove convenience macro PyErr_SetStringError.Jelmer Vernooij2010-04-041-3/+0
| | | | This macro assumed that all errors were runtime errors.
* wbclient/wbclient.c - fix a typoMatthias Dieter Wallnöfer2010-03-301-1/+1
|
* s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.resultGünther Deschner2010-03-291-3/+31
| | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libutil: moved the networking defines to util_net.hAndrew Tridgell2010-03-263-0/+3
| | | | These were causing thousands of warnings on solaris8
* s4:libcli/wrepl: correctly remove the tstream_context when the connection is ↵Stefan Metzmacher2010-03-251-1/+15
| | | | | | dead metze
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* Missing include guard in source4/libcli/security/security.hJeremy Allison2010-03-241-0/+5
| | | | Jeremy.
* error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner2010-03-191-1/+1
| | | | | | Metze, please check. Guenther
* libcli/util: add more NT_STATUS_RPC_* definesStefan Metzmacher2010-03-181-0/+8
| | | | metze
* s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-6/+6
| | | | metze
* s4:libcli/composite: get rid of composite_continue_rpc()Stefan Metzmacher2010-03-122-16/+0
| | | | metze
* s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2010-03-112-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
* s4:libcli/resovle File based lookup module for DNS name typesAndrew Bartlett2010-03-113-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
* s4:libcli/resolve Use a more robust way to return the string addressAndrew Bartlett2010-03-112-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
* ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke2010-03-101-1/+1
|
* s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke2010-03-091-1/+1
|
* s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher2010-03-073-465/+304
| | | | | | and tstream_context metze
* s4:libcli/wrepl: add wrepl_socket_is_connected()Stefan Metzmacher2010-03-071-0/+17
| | | | metze
* s4:libcli/wrepl: make struct wrepl_request private to winsrepl.cStefan Metzmacher2010-03-072-29/+30
| | | | metze
* s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapperStefan Metzmacher2010-03-071-39/+118
| | | | metze
* s4:libcli/wrepl: rename enum wrepl_request_state => enum ↵Stefan Metzmacher2010-03-071-2/+2
| | | | | | wrepl_request_internal_state metze
* s4:libcli/wrepl: move wrepl_request_send/recv => ↵Stefan Metzmacher2010-03-071-6/+20
| | | | | | wrepl_request_internal_send/recv metze
* s4:libcli/wrepl: add my copyrightStefan Metzmacher2010-03-072-0/+2
| | | | metze
* s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_reqStefan Metzmacher2010-03-051-28/+83
| | | | metze
* s4:libcli/wrepl: convert wrepl_connect_send to tevent_reqStefan Metzmacher2010-03-051-65/+95
| | | | metze
* s4:libcli/wrepl: convert wrepl_associate_send to tevent_reqStefan Metzmacher2010-03-051-36/+98
| | | | metze
* s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_reqStefan Metzmacher2010-03-051-39/+98
| | | | metze
* s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_reqStefan Metzmacher2010-03-051-63/+142
| | | | metze
* s4:libcli/wrepl: use UTIL_TEVENTStefan Metzmacher2010-03-052-1/+2
| | | | metze
* s4:libcli/wrepl: avoid neested named structuresStefan Metzmacher2010-03-051-15/+19
| | | | metze
* s4-pvfs: move the private ntcreatex flags to private_flagsAndrew Tridgell2010-03-052-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
* s4-dns-ex: use autoclose on the dns child pipeAndrew Tridgell2010-03-051-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>
* s4:move the sddl code down to the top levelMichael Adam2010-03-033-627/+2
| | | | Michael
* s4-libcli: Added NULL handlers for DSDB_CONTROL_DN_STORAGE_FORMAT_OID and ↵Endi S. Dewata2010-03-021-0/+4
| | | | | | LDB_CONTROL_AS_SYSTEM_OID Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell2010-02-261-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>
* s4/ldap: Refactor the fix for ldap nested searchesKamen Mazdrashki2010-02-171-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>
* s4: Switch to S3-style id mapping data types.Kai Blin2010-02-112-9/+9
|
* s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell2010-02-091-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
* Change uint_t to unsigned int in source4Matt Kraai2010-02-0216-90/+90
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldap: Fix nested searches SEGFAULT bugKamen Mazdrashki2010-01-291-0/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli: remove unneeded talloc_reference() usageStefan Metzmacher2010-01-291-4/+1
| | | | metze
* s4-libcli: Fixed a talloc_reference error.Andreas Schneider2010-01-261-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@redhat.com> Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* libcli/util: add tstream_read_pdu_blob_send/recvStefan Metzmacher2010-01-081-0/+5
| | | | | | | This will take the some full_request callback function as the Samba4 packet code. metze
* s4: Fix result check for getaddrinfo()Kamen Mazdrashki2010-01-061-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>
* s4-sddl: DRS replication needs REVISION_ADS for SDsAndrew Tridgell2010-01-021-1/+1
| | | | | DRS replication with w2k8-r2 fails with a schema mismatch error if we set the revision to NT4
* s4-net: fixed finddcs to use empty SID instead of NULL sid (NDR error)Andrew Tridgell2009-12-311-0/+3
|
* py/security: Add test for dom_sid.split.Jelmer Vernooij2009-12-311-3/+8
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Fixed incorrect checking of PRINCIPAL_SELF permissions.Nadezhda Ivanova2009-12-171-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.