summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher2-108/+198
metze
2011-04-14s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach1-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
2011-04-14s4/libcli: do not announce NT error code support when it is disabledChristian Ambach1-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>
2011-04-13libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett1-1/+1
This reduces symbol duplication Andrew Bartlett
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2-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
2011-03-25libcli: created smb_constants.hAndrew Tridgell1-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)
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell3-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
2011-03-19source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij1-0/+1
2011-03-18s4-libcli/rap: add NDR_RAP dependency to LIBCLI_RAP.Günther Deschner1-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
2011-03-18s4-libcli/rap: add smbcli_rap_netsessiongetinfo().Günther Deschner1-0/+60
Guenther
2011-03-18s4-libcli/rap: add smbcli_rap_netuserdelete().Günther Deschner1-0/+45
Guenther
2011-03-18s4-libcli/rap: add smbcli_rap_netuseradd().Günther Deschner1-1/+58
Guenther
2011-03-15s4-rap: remove last iconv_convenience traces from rap client and test code.Günther Deschner1-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
2011-03-15s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner4-0/+1561
subsystem. Guenther
2011-03-04s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.cGünther Deschner1-0/+27
Guenther
2011-03-04s4-nterr: some minor cosmetic edits to further match s3 nterr.Günther Deschner1-3/+10
Guenther
2011-03-04nterr: make sure both nt_err_desc structs are the same.Günther Deschner1-0/+3
Guenther
2011-03-04nterr: make sure both nt_errs structs are the same.Günther Deschner1-0/+1
Guenther
2011-03-04s4-nterr: add _N macro handling as in s3-nterr.Günther Deschner1-91/+95
Guenther
2011-03-04nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner1-15/+15
Guenther
2011-03-04nterr: remove trailing whitespace.Günther Deschner1-9/+9
Guenther
2011-02-25Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison1-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
2011-02-22s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett4-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
2011-02-08ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner1-26/+0
Guenther
2011-01-30s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher1-0/+1
metze
2011-01-26errormap: Add unix_to_werror() functionKai Blin1-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
2011-01-07netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner2-2/+2
Guenther
2011-01-01heimdal_build: Add missing dependencies when building with system heimdal.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 04:46:35 CET 2011 on sn-devel-104
2010-12-13s4:ldap_controls: allow DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID over sockets.Stefan Metzmacher1-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
2010-12-12s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer2-2/+2
And optimise includes
2010-12-12s4:libcli/finddcs_nbt.c - optimise headersMatthias Dieter Wallnöfer1-2/+0
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2-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
2010-11-27s4:libcli/security/session.h - fix include ordering for "enum ↵Matthias Dieter Wallnöfer1-2/+2
security_user_level"
2010-11-08s4-debug: lowered the debug level of some unimportant messagesAndrew Tridgell1-1/+1
2010-11-07credentials: Lowercase library name,Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-06s4-cldap: fixed debug message to match contentAndrew Tridgell1-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
2010-11-05s4-cldap: print all the DNS servers foundAndrew Tridgell1-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij5-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
2010-10-30s4-build: removed some unnecessary dependenciesAndrew Tridgell1-2/+2
based on running waf --symbol-check
2010-10-27s4-ldb: Changes the aclread module to use LDB_HANDLE_FLAG_UNTRUSTED to ↵Nadezhda Ivanova1-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
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij3-6/+6
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij2-4/+4
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij4-11/+11
2010-10-24s4: Rename LIBCLI_NBT -> cli_nbt.Jelmer Vernooij1-4/+4
2010-10-24s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij3-5/+5
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij2-9/+9
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2-3/+3
2010-10-23s4: Rename LIBNETIF to libnetif.Jelmer Vernooij1-1/+1
2010-10-23s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer1-0/+2
This control is exactly thought for the actions which previously were performed using the RELAX one. We agreed that the RELAX control will only remain for interactions with OpenLDAP.