summaryrefslogtreecommitdiff
path: root/src/db
AgeCommit message (Collapse)AuthorFilesLines
2011-12-16Export the function to convert ldb_result to sysdb_attrsJakub Hrozek2-0/+33
It will be reused later in the sudo responder
2011-12-16Use the case sensitivity flag in the LDAP providerJakub Hrozek2-4/+33
2011-12-16sysdb_get_real_name helper functionJakub Hrozek2-0/+50
2011-11-28Fixed a typo in sysdb_upgrade_07() declarationJan Zeleny1-1/+1
2011-11-23Added and modified options for IPA netgroupsJan Zeleny1-0/+8
2011-11-22SYSDB: Make ENOENT log messages less threateningStephen Gallagher1-16/+54
Previously, they were reported with the prefix "Error:" which caused confusion among end-users while debugging.
2011-11-21Fix FTBFS related to -Werror=format-securityKrzysztof Klimonda2-2/+2
2011-11-02SYSDB: add index for nameAliasStephen Gallagher3-1/+97
2011-11-02Handle group renaming correctlyJan Zeleny1-2/+7
https://fedorahosted.org/sssd/ticket/1040
2011-10-31Plug memory leaks in sysdb_opsJakub Hrozek1-20/+54
https://fedorahosted.org/sssd/ticket/1051
2011-10-17Sanitize DN in sysdb_get_direct_parentsJakub Hrozek1-1/+7
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina2-32/+55
https://fedorahosted.org/sssd/ticket/836
2011-10-07SYSDB: New source file for sysdb upgrade routinesStephen Gallagher3-888/+929
2011-10-06Fix typo in sysdb_get_direct_parentsJakub Hrozek1-1/+1
2011-10-03Use explicit base 10 for converting strings to integersJakub Hrozek2-2/+2
https://fedorahosted.org/sssd/ticket/1013
2011-09-28Return users and groups based on aliasJakub Hrozek2-6/+7
https://fedorahosted.org/sssd/ticket/926
2011-09-28Add a sysdb_get_direct_parents functionJakub Hrozek2-0/+108
2011-09-28Add sysdb interface to get name aliasesJakub Hrozek2-1/+64
2011-09-28Multiline macro cleanupJakub Hrozek1-1/+1
This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again.
2011-08-25Return the first value of name if the multivalued name attribute does not ↵Jakub Hrozek1-3/+4
match RDN https://fedorahosted.org/sssd/ticket/926
2011-08-15Remaining memory context variables renamedJan Zeleny2-75/+75
memctx to mem_ctx tmpctx to tmp_ctx
2011-08-15sysdb refactoring: memory context deletedJan Zeleny4-368/+363
This patch deletes memory context parameter in those places in sysdb where it is not necessary. The code using modified functions has been updated. Tests updated as well.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny4-262/+93
The patch also updates code using modified functions. Tests have also been adjusted.
2011-08-15Added sysdb_ctx_get_domain functionJan Zeleny2-0/+7
2011-08-15sysdb refactoring: renamed ctx variable to sysdbJan Zeleny4-348/+348
2011-08-10Fix potential double-free issueStephen Gallagher1-1/+1
tmp_ctx is a child of ctx.
2011-08-10Cancel sysdb upgrade transaction if commit failsStephen Gallagher1-60/+30
2011-07-08Allow NULL memctx in sysdb_custom_subtree_dnStephen Gallagher1-3/+11
ldb_dn_new_fmt() has a bug and cannot take a NULL memory context
2011-06-02Non-posix group processing - sysdb changesJan Zeleny2-19/+26
2011-06-02Added sysdb_attrs_get_bool() functionJan Zeleny2-0/+24
2011-05-20Change sysdb_add_fake_user to add OriginalDNJakub Hrozek2-2/+10
RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too.
2011-05-04Some minor fixes and changes in sysdb_opsJan Zeleny1-17/+40
2011-05-04Add a function for searching netgroups with custom filterJan Zeleny2-0/+65
2011-05-04Make sysdb_ctx_list public structureJan Zeleny3-8/+53
Also create a routine to initialize it
2011-04-25Added originalDN to attributes with case-insensitive searchJan Zeleny2-1/+106
https://fedorahosted.org/sssd/ticket/808
2011-04-15Reopen the LDB after modifying itStephen Gallagher1-3/+20
If we change any of the special entries such as indexes or plugins, we need to close and reopen the LDB to ensure that they take effect.
2011-04-15Run all appropriate upgradesStephen Gallagher1-1/+17
Previously, if we were upgrading from version 0.4 or older, we would only run sysdb_upgrade_04() and exit, instead of also running sysdb_upgrade_05()
2011-04-15Don't leak memory if sysdb_domain_init() failsStephen Gallagher1-3/+6
2011-04-13sysdb: use header defined macros instead of explicit valuesSimo Sorce1-9/+9
2011-03-24Add host access control supportPierre Ossman1-0/+1
https://fedorahosted.org/sssd/ticket/746
2011-03-23Check result of talloc_strdup() properlyStephen Gallagher1-1/+1
Coverity 10737
2011-03-23Don't crash on error if _name parameter unspecifiedStephen Gallagher1-2/+2
Coverity 10738
2011-03-23Don't crash if we get a multivalued name without an origDNStephen Gallagher1-1/+3
Coverity 10740 and 10739
2011-03-23Add sysdb_attrs_primary_name_list() routineStephen Gallagher2-0/+59
This routine will replace the use of sysdb_attrs_to_list() for any case where we're trying to get the name of the entry. It's a necessary precaution in case the name is multi-valued.
2011-03-23Add originalDN to fake groupsJakub Hrozek2-2/+9
2011-03-23Add sysdb_attrs_primary_name()Stephen Gallagher2-0/+106
This function will check a sysdb_attrs struct for the primary name of the entity it represents. If there are multiple entries, it will pick the one that matches the RDN. If none match, it will throw an error.
2011-03-23Create sysdb_get_rdn() functionStephen Gallagher2-13/+50
This function takes a DN formatted string and returns the RDN value from it.
2011-02-28Do not try to delete sysbd memberOf attributeSumit Bose1-0/+4
2011-02-14Check LDB_MODULES_PATH for sysdbSumit Bose1-0/+9
2011-02-14Introduce sysdb_ldb_connect()Sumit Bose1-45/+42