summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett2011-05-031-4/+4
|
* s4:cluster Rename .id to .pid in server_idAndrew Bartlett2011-05-032-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
* ldb:tdb backend - cache - remove unused "last_attribute" structure memberMatthias Dieter Wallnöfer2011-04-292-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
* ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constantsMatthias Dieter Wallnöfer2011-04-292-2/+2
| | | | Reviewed-by: abartlet
* ldb:ldb_controls.c - fix comment indentationMatthias Dieter Wallnöfer2011-04-291-4/+4
| | | | Reviewed-by: abartlet
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* Support the 'PYTHON' environment variable.Jelmer Vernooij2011-04-231-0/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
* s4:ldb: change version to 1.1.0 after adding new functions:ldb-1.1.0Stefan Metzmacher2011-04-212-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
* ldb: add custom flags and functions for the application that wants to ↵Matthieu Patou2011-04-213-0/+54
| | | | | | | manipulate them Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:ldb/tests: add tests for ldbmodify and 'modrdn'Stefan Metzmacher2011-04-212-1/+16
| | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze
* s4:ldb/tools: add support for "modrdn" to ldbmodifyStefan Metzmacher2011-04-211-1/+23
| | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze
* s4:ldb/ldif: add support for "modrdn"Stefan Metzmacher2011-04-212-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
* ldb:ldb/common/ldb_modules.c - change the request counter type to be "unsigned"Matthias Dieter Wallnöfer2011-04-081-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
* ldb:ldb/common/ldb_modules.c - trivial - fix integer output specifiersMatthias Dieter Wallnöfer2011-04-081-2/+2
|
* ldb:ldb_msg.c - make "ldb_msg_find_attr_as_*" more robust against invalid valuesMatthias Dieter Wallnöfer2011-04-071-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
* ldb:ldb_msg_check_sanity - clean it up from unneeded stuffMatthias Dieter Wallnöfer2011-04-071-4/+0
|
* ldb:ldbadd/modify tool - return error code when at least one operation has ↵Matthias Dieter Wallnöfer2011-04-072-5/+8
| | | | | | | | | failed This is required to better detect failures and should raise the compatiblity to "ldapadd"/"ldapmodify". Reviewed-by: abartlet
* ldb:tests - "init.ldif" - deactivate empty "seeAlso" attributeMatthias Dieter Wallnöfer2011-04-071-1/+2
|
* ldb:ldb/common/ldb_modules.c - always use LDB error codes if possibleMatthias Dieter Wallnöfer2011-04-071-6/+7
| | | | | | | The callers do compare against LDB error codes - hence don't give back "-1". Reviewed-by: Tridge + abartlet
* ldb:common/*.c - check for some OOM conditionsMatthias Dieter Wallnöfer2011-04-072-0/+7
| | | | Reviewed-by: abartlet
* ldb: fixed --paged option in ldb toolsAndrew Tridgell2011-04-071-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'
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-051-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
* s4-credentials Add a command line hook to set the kerberos credentials cacheAndrew Bartlett2011-04-041-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
* s4:lib/policy/gp_ldap.c - make more use of LDB result constantsMatthias Dieter Wallnöfer2011-03-301-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
* s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer2011-03-301-1/+1
|
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-292-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
* ldb: detect eof on ldif filesAndrew Tridgell2011-03-292-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
* s4-cmdline: moved loadparm init after fault setupAndrew Tridgell2011-03-291-2/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-244-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
* fault: fixed call to fault_setup() to use new syntaxAndrew Tridgell2011-03-231-1/+1
|
* pyldb: minor fixup, fix a memory leakMatthieu Patou2011-03-201-2/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104
* ldb:fix control parsing for dirsyncMatthieu Patou2011-03-201-2/+3
|
* lib/registry/tests: Fix prototypes.Jelmer Vernooij2011-03-194-4/+4
|
* source4/lib: Fix prototypes for all functions.Jelmer Vernooij2011-03-196-0/+12
|
* s4:ldb: don't install .pc files when building a private libraryStefan Metzmacher2011-03-161-2/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 16 09:58:22 CET 2011 on sn-devel-104
* ldb: only install headers if we are not building as a private libAndrew Tridgell2011-03-151-1/+4
|
* s4-policy: don't make s4 policy.h publicAndrew Tridgell2011-03-151-1/+0
| | | | if we are going to make GPO headers public, it should be from libgpo/
* ldb: use include <> form for public headersAndrew Tridgell2011-03-152-3/+3
|
* ldb: don't install ldb_wrap.h twiceAndrew Tridgell2011-03-151-1/+0
|
* s4:lib/tls/wscript - exclude known broken GNUTLS releasesMatthias Dieter Wallnöfer2011-03-101-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
* ldb:ldb_controls.c - "ldb_save_controls" - allow that "saver" can also be NULLMatthias Dieter Wallnöfer2011-03-101-8/+12
| | | | Suggested by Tridge
* ldb:ldb_controls.c - always allocate enough spaceMatthias Dieter Wallnöfer2011-03-101-13/+27
| | | | | | | | The size for an additional "struct ldb_control" shouldn't hurt and so the excluded control can also be NULL. Added an ending "talloc_realloc" to resize the chunk to the effective needed size (requested by tridge).
* s4:lib/socket: use sockaddr_in6 in ipv6_tcp_accept()Stefan Metzmacher2011-03-091-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Mar 9 14:36:42 CET 2011 on sn-devel-104
* ldb:ldb_msg.c - use LDB result constants for checking return valuesMatthias Dieter Wallnöfer2011-03-041-2/+5
| | | | | | | Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 22:51:57 CET 2011 on sn-devel-104
* ldb:rdn_name LDB module - more RDN constraint checks (from AD)Matthias Dieter Wallnöfer2011-03-041-1/+40
| | | | Reviewed by: Tridge
* s4/ldb - remove now superflous "ldb_dn_validate" checksMatthias Dieter Wallnöfer2011-03-044-12/+8
| | | | | | | If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge
* s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate"Matthias Dieter Wallnöfer2011-03-041-2/+1
| | | | | | "ldb_dn_validate" is NULL-safe and does the check implicitly. Reviewed by: Tridge
* ldb:ldb_request - handle here the DN checksMatthias Dieter Wallnöfer2011-03-041-1/+22
| | | | | | | | | This is a much better solution than we had before - so all important DN checks are enforced for each type of LDB database (and not limited to DSDB). Many "ldb_dn_validate" checks will now become obsolete. Reviewed by: Tridge
* ldb:ldb tools - remove a superflous "return" (usage internally calls "exit")Matthias Dieter Wallnöfer2011-03-041-1/+0
| | | | | | | Reviewed by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Mar 4 09:39:22 CET 2011 on sn-devel-104
* ldb:ldb tools - return LDB_ERR_INVALID_DN_SYNTAX on wrong DN parametersMatthias Dieter Wallnöfer2011-03-045-5/+9
| | | | | | Not all LDB databases have further DN checks. Reviewed by: Tridge