summaryrefslogtreecommitdiffstats
path: root/source3/libnet
Commit message (Collapse)AuthorAgeFilesLines
* build: Provide .pc file for libnetapiAndrew Bartlett2012-05-301-0/+11
| | | | | | | This is not the exact same file as the autoconf build, because of the differnet processing semantics. Andrew Bartlett
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-3/+3
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-1/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* s3: don't replace the error message if already definedMatthieu Patou2012-03-041-3/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 4 10:13:24 CET 2012 on sn-devel-104
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-2/+1
| | | | All callers to messaging_[re]init only used procid_self()
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-161-1/+1
| | | | Guenther
* s3:libnet: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-3/+3
| | | | metze
* s3-libnet: add ads forward declaration in libnet keytab code.Günther Deschner2011-11-022-2/+3
| | | | Guenther
* s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-122-128/+216
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104
* s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.Michael Adam2011-10-111-32/+48
| | | | Avoid direct use of the db_record and db_context structs.
* s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam2011-10-111-0/+1
|
* s3-libnet: allow to use default krb5 ccache in libnet_Join/libnet_Unjoin.Günther Deschner2011-09-211-31/+0
| | | | | | | | | We force using a MEMORY ccache though in the wkssvc server. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Sep 21 19:13:33 CEST 2011 on sn-devel-104
* s3-libnet: add missing newlines in debug statement.Günther Deschner2011-09-141-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Sep 14 15:52:10 CEST 2011 on sn-devel-104
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:libnet_join: use lp_load_global() wrapper of lp_load()Michael Adam2011-07-281-2/+2
|
* s3:libnet_join: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-3/+6
|
* s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()Stefan Metzmacher2011-07-221-1/+1
| | | | metze
* source3/libnet/libnet_join.h: fix licence/copyrightGünther Deschner2011-06-101-0/+25
| | | | Guenther
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-092-3/+3
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-092-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-095-9/+9
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-2/+2
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3-lib Move sstring_sub() to it's only user and make staticAndrew Bartlett2011-05-311-0/+27
| | | | | | | This should not be used more generally, as it is specifically not for multibyte strings, and uses malloc rather than talloc. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-2/+2
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-libnetjoin: fix uninitialized variable.Günther Deschner2011-05-131-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-131-1/+1
| | | | | | changes. Guenther
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-101-2/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-16/+38
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-4/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* More simple const fixes.Jeremy Allison2011-05-051-1/+1
|
* s3-libnet: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-042-11/+11
|
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-241-1/+1
| | | | | | | | | | | | | Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-131-0/+1
| | | | Guenther
* s3: For net ads join, create a krb5.confVolker Lendecke2011-04-121-0/+5
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104
* s3: Initialize output in libnet_JoinVolker Lendecke2011-04-121-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* s3-build: only include transfer_file.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-282-0/+2
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-271-2/+2
|
* s3: Add "len" to pdb_set_hoursVolker Lendecke2011-02-192-2/+4
|
* s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.Günther Deschner2011-02-111-10/+10
| | | | Guenther