summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2-23/+23
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-05-08lib/socket move interfaces code to the top levelAndrew Bartlett3-334/+6
2011-05-08s4-lib/socket Samba4 is not IPv6 compatibleAndrew Bartlett1-0/+5
Don't add IPv6 interfaces until we actually support them. I'll soon have IPv6 service at home, and then I'll make it my buisness to sort this out once and for all. Andrew Bartlett
2011-05-08s4-lib merge get_interfaces() from Samba3 to Samba4Andrew Bartlett3-100/+375
2011-05-08s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett1-0/+2
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett4-172/+1
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-03s4-socket: rename allow_access() to socket_allow_access()Andrew Tridgell2-7/+7
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett6-165/+165
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03lib/util Move set_socket_options() into common code.Andrew Bartlett1-160/+0
2011-05-03s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4Andrew Bartlett1-34/+90
2011-05-03s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett1-4/+4
2011-05-03s4:cluster Rename .id to .pid in server_idAndrew Bartlett2-10/+12
This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
2011-04-29ldb:tdb backend - cache - remove unused "last_attribute" structure memberMatthias Dieter Wallnöfer2-8/+0
Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 29 20:07:27 CEST 2011 on sn-devel-104
2011-04-29ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constantsMatthias Dieter Wallnöfer2-2/+2
Reviewed-by: abartlet
2011-04-29ldb:ldb_controls.c - fix comment indentationMatthias Dieter Wallnöfer1-4/+4
Reviewed-by: abartlet
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-04-23Support the 'PYTHON' environment variable.Jelmer Vernooij1-0/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
2011-04-21s4:ldb: change version to 1.1.0 after adding new functions:Stefan Metzmacher2-1/+254
ldb_ldif_parse_modrdn() ldb_req_set_custom_flags() ldb_req_get_custom_flags() Signed-off-by: Simo Sorce <idra@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 21 17:15:16 CEST 2011 on sn-devel-104
2011-04-21ldb: add custom flags and functions for the application that wants to ↵Matthieu Patou3-0/+54
manipulate them Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-04-21s4:ldb/tests: add tests for ldbmodify and 'modrdn'Stefan Metzmacher2-1/+16
Signed-off-by: Simo Sorce <idra@samba.org> metze
2011-04-21s4:ldb/tools: add support for "modrdn" to ldbmodifyStefan Metzmacher1-1/+23
Signed-off-by: Simo Sorce <idra@samba.org> metze
2011-04-21s4:ldb/ldif: add support for "modrdn"Stefan Metzmacher2-1/+226
This add a ldb_ldif_parse_modrdn() helper function to parse the information out of a ldb_message structure. Signed-off-by: Simo Sorce <idra@samba.org> metze
2011-04-08ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned"Matthias Dieter Wallnöfer1-1/+1
Just for consistency since all other LDB counters are unsigned as well. And also the debug output specifier has been chosen to be "%u" - so it really should be unsigned. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 8 09:17:47 CEST 2011 on sn-devel-104
2011-04-08ldb:ldb/common/ldb_modules.c - trivial - fix integer output specifiersMatthias Dieter Wallnöfer1-2/+2
2011-04-07ldb:ldb_msg.c - make "ldb_msg_find_attr_as_*" more robust against invalid valuesMatthias Dieter Wallnöfer1-19/+106
- Integer handling was modeled after validate code from "schema_syntax.c". - Double handling was modeled similar, but with a dynamic buffer. I don't know if there is a maximum literal length for double values but an allocation shouldn't a problem here since doubles are rare. - String handlind is enhanced with a terminating "0" test for safety. Reviewed-by: abartlet + metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Apr 7 16:38:57 CEST 2011 on sn-devel-104
2011-04-07ldb:ldb_msg_check_sanity - clean it up from unneeded stuffMatthias Dieter Wallnöfer1-4/+0
2011-04-07ldb:ldbadd/modify tool - return error code when at least one operation has ↵Matthias Dieter Wallnöfer2-5/+8
failed This is required to better detect failures and should raise the compatiblity to "ldapadd"/"ldapmodify". Reviewed-by: abartlet
2011-04-07ldb:tests - "init.ldif" - deactivate empty "seeAlso" attributeMatthias Dieter Wallnöfer1-1/+2
2011-04-07ldb:ldb/common/ldb_modules.c - always use LDB error codes if possibleMatthias Dieter Wallnöfer1-6/+7
The callers do compare against LDB error codes - hence don't give back "-1". Reviewed-by: Tridge + abartlet
2011-04-07ldb:common/*.c - check for some OOM conditionsMatthias Dieter Wallnöfer2-0/+7
Reviewed-by: abartlet
2011-04-07ldb: fixed --paged option in ldb toolsAndrew Tridgell1-1/+1
we were sometimes using 'paged_result' and sometimes using 'paged_results'. The latter seemed to be more common, so I changed the two places that used the 'paged_result' string to 'paged_results'
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-2/+2
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2011-04-04s4-credentials Add a command line hook to set the kerberos credentials cacheAndrew Bartlett1-1/+13
This allows this to be specified independent of the KRB5CCNAME environment variable (in this case, it's harder than it should be to set up in the make test for s3 that way). Andrew Bartlett
2011-03-30s4:lib/policy/gp_ldap.c - make more use of LDB result constantsMatthias Dieter Wallnöfer1-13/+13
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 30 09:33:38 CEST 2011 on sn-devel-104
2011-03-30s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer1-1/+1
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2-2/+4
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-29ldb: detect eof on ldif filesAndrew Tridgell2-0/+20
use feof() to detect parsing errors in ldif files Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 29 08:24:04 CEST 2011 on sn-devel-104
2011-03-29s4-cmdline: moved loadparm init after fault setupAndrew Tridgell1-2/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell4-10/+9
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-23fault: fixed call to fault_setup() to use new syntaxAndrew Tridgell1-1/+1
2011-03-20pyldb: minor fixup, fix a memory leakMatthieu Patou1-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104
2011-03-20ldb:fix control parsing for dirsyncMatthieu Patou1-2/+3
2011-03-19lib/registry/tests: Fix prototypes.Jelmer Vernooij4-4/+4
2011-03-19source4/lib: Fix prototypes for all functions.Jelmer Vernooij6-0/+12
2011-03-16s4:ldb: don't install .pc files when building a private libraryStefan Metzmacher1-2/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 16 09:58:22 CET 2011 on sn-devel-104
2011-03-15ldb: only install headers if we are not building as a private libAndrew Tridgell1-1/+4
2011-03-15s4-policy: don't make s4 policy.h publicAndrew Tridgell1-1/+0
if we are going to make GPO headers public, it should be from libgpo/
2011-03-15ldb: use include <> form for public headersAndrew Tridgell2-3/+3
2011-03-15ldb: don't install ldb_wrap.h twiceAndrew Tridgell1-1/+0
2011-03-10s4:lib/tls/wscript - exclude known broken GNUTLS releasesMatthias Dieter Wallnöfer1-2/+2
This definitely fixes bug #7218. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Mar 10 11:58:27 CET 2011 on sn-devel-104