summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/smb2: rename step functions of smb2_connect_*()Stefan Metzmacher2011-04-281-26/+10
| | | | | | They should all start with a smb2_connect_ prefix. metze
* s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher2011-04-282-108/+198
| | | | metze
* s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach2011-04-141-4/+22
| | | | | | | | | | | | | | | | | | | I have seen domain controllers rejecting NTLMv2 blobs presented to NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName was a FQDN or an IP address I have not seen this field in NTLMv2 blobs send by Windows clients when extended security was not available, so omitting the field makes Samba similar to Windows. This prevents errors with some smbtorture testcases that disable spnego and when a target name is specified that is not a valid netbios name. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
* s4/libcli: do not announce NT error code support when it is disabledChristian Ambach2011-04-141-1/+4
| | | | | | | | when the support of NT error codes has been disabled in the options of a CLI connection, support for them should not be announced during protocol negotiation Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett2011-04-131-1/+1
| | | | | | This reduces symbol duplication Andrew Bartlett
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-292-2/+5
| | | | | | | Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-12/+1
| | | | | | this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-243-8/+7
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij2011-03-191-0/+1
|
* s4-libcli/rap: add NDR_RAP dependency to LIBCLI_RAP.Günther Deschner2011-03-181-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 14:10:57 CET 2011 on sn-devel-104
* s4-libcli/rap: add smbcli_rap_netsessiongetinfo().Günther Deschner2011-03-181-0/+60
| | | | Guenther
* s4-libcli/rap: add smbcli_rap_netuserdelete().Günther Deschner2011-03-181-0/+45
| | | | Guenther
* s4-libcli/rap: add smbcli_rap_netuseradd().Günther Deschner2011-03-181-1/+58
| | | | Guenther
* s4-rap: remove last iconv_convenience traces from rap client and test code.Günther Deschner2011-03-151-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104
* s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner2011-03-154-0/+1561
| | | | | | subsystem. Guenther
* s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.cGünther Deschner2011-03-041-0/+27
| | | | Guenther
* s4-nterr: some minor cosmetic edits to further match s3 nterr.Günther Deschner2011-03-041-3/+10
| | | | Guenther
* nterr: make sure both nt_err_desc structs are the same.Günther Deschner2011-03-041-0/+3
| | | | Guenther
* nterr: make sure both nt_errs structs are the same.Günther Deschner2011-03-041-0/+1
| | | | Guenther
* s4-nterr: add _N macro handling as in s3-nterr.Günther Deschner2011-03-041-91/+95
| | | | Guenther
* nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner2011-03-041-15/+15
| | | | Guenther
* nterr: remove trailing whitespace.Günther Deschner2011-03-041-9/+9
| | | | Guenther
* Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison2011-02-251-1/+0
| | | | | | | | | | | definition to correct place). Thanks to Nick Meier @ Microsoft for finding this @ Connectathon. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
* s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett2011-02-224-108/+0
| | | | | | | This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
* ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner2011-02-081-26/+0
| | | | Guenther
* s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher2011-01-301-0/+1
| | | | metze
* errormap: Add unix_to_werror() functionKai Blin2011-01-261-0/+6
| | | | | | | | | | | While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
* netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner2011-01-072-2/+2
| | | | Guenther
* heimdal_build: Add missing dependencies when building with system heimdal.Jelmer Vernooij2011-01-011-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 04:46:35 CET 2011 on sn-devel-104
* s4:ldap_controls: allow DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID over sockets.Stefan Metzmacher2010-12-131-2/+2
| | | | | | | | | The DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID control has to data attached to it. So we can allow it to be send over LDAP. We'll accept this control over the privileged ldapi socket only. metze
* s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer2010-12-122-2/+2
| | | | And optimise includes
* s4:libcli/finddcs_nbt.c - optimise headersMatthias Dieter Wallnöfer2010-12-121-2/+0
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-112-2/+2
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s4:libcli/security/session.h - fix include ordering for "enum ↵Matthias Dieter Wallnöfer2010-11-271-2/+2
| | | | security_user_level"
* s4-debug: lowered the debug level of some unimportant messagesAndrew Tridgell2010-11-081-1/+1
|
* credentials: Lowercase library name,Jelmer Vernooij2010-11-071-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
* s4-cldap: fixed debug message to match contentAndrew Tridgell2010-11-061-1/+1
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 6 04:26:45 UTC 2010 on sn-devel-104
* s4-cldap: print all the DNS servers foundAndrew Tridgell2010-11-051-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-315-159/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-build: removed some unnecessary dependenciesAndrew Tridgell2010-10-301-2/+2
| | | | based on running waf --symbol-check
* s4-ldb: Changes the aclread module to use LDB_HANDLE_FLAG_UNTRUSTED to ↵Nadezhda Ivanova2010-10-271-2/+0
| | | | | | | | | | | determine the source of the request The aclread module used to use a control to make sure the request comes from the ldap server, but now the rootdse filters out any unregistered controls comming from ldap, so the control is lost. Using the LDB_HANDLE_FLAG_UNTRUSTED is a much more elegant solution. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Oct 27 11:55:11 UTC 2010 on sn-devel-104
* waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij2010-10-263-6/+6
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-262-4/+4
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-264-11/+11
|
* s4: Rename LIBCLI_NBT -> cli_nbt.Jelmer Vernooij2010-10-241-4/+4
|
* s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij2010-10-241-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-243-5/+5
|
* s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij2010-10-242-9/+9
|
* s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2010-10-232-3/+3
|
* s4: Rename LIBNETIF to libnetif.Jelmer Vernooij2010-10-231-1/+1
|