summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
Commit message (Collapse)AuthorAgeFilesLines
* SYSDB: Add sysdb_attrs_get_uint16_tStephen Gallagher2012-01-311-0/+2
|
* SYSDB: extend sysdb_store_service() to accept additional attributesStephen Gallagher2012-01-311-1/+2
|
* sysdb_get_bool() and sysdb_get_bool() functionsPavel Březina2012-01-171-0/+11
|
* Export the function to convert ldb_result to sysdb_attrsJakub Hrozek2011-12-161-0/+4
| | | | It will be reused later in the sudo responder
* Use the case sensitivity flag in the LDAP providerJakub Hrozek2011-12-161-0/+1
|
* sysdb_get_real_name helper functionJakub Hrozek2011-12-161-0/+4
|
* Added and modified options for IPA netgroupsJan Zeleny2011-11-231-0/+8
|
* SysDB commands that save lastUpdate allows this value to be passed inPavel Březina2011-10-131-7/+14
| | | | https://fedorahosted.org/sssd/ticket/836
* Return users and groups based on aliasJakub Hrozek2011-09-281-3/+3
| | | | https://fedorahosted.org/sssd/ticket/926
* Add a sysdb_get_direct_parents functionJakub Hrozek2011-09-281-0/+7
|
* Add sysdb interface to get name aliasesJakub Hrozek2011-09-281-0/+5
|
* Remaining memory context variables renamedJan Zeleny2011-08-151-13/+13
| | | | | memctx to mem_ctx tmpctx to tmp_ctx
* sysdb refactoring: memory context deletedJan Zeleny2011-08-151-38/+19
| | | | | | 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.
* sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny2011-08-151-54/+0
| | | | | The patch also updates code using modified functions. Tests have also been adjusted.
* Added sysdb_ctx_get_domain functionJan Zeleny2011-08-151-0/+2
|
* sysdb refactoring: renamed ctx variable to sysdbJan Zeleny2011-08-151-54/+54
|
* Non-posix group processing - sysdb changesJan Zeleny2011-06-021-2/+3
|
* Added sysdb_attrs_get_bool() functionJan Zeleny2011-06-021-0/+2
|
* Change sysdb_add_fake_user to add OriginalDNJakub Hrozek2011-05-201-1/+2
| | | | | RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too.
* Add a function for searching netgroups with custom filterJan Zeleny2011-05-041-0/+8
|
* Make sysdb_ctx_list public structureJan Zeleny2011-05-041-1/+12
| | | | Also create a routine to initialize it
* Add host access control supportPierre Ossman2011-03-241-0/+1
| | | | https://fedorahosted.org/sssd/ticket/746
* Add sysdb_attrs_primary_name_list() routineStephen Gallagher2011-03-231-0/+6
| | | | | | 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.
* Add originalDN to fake groupsJakub Hrozek2011-03-231-1/+2
|
* Add sysdb_attrs_primary_name()Stephen Gallagher2011-03-231-0/+4
| | | | | | | 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.
* Create sysdb_get_rdn() functionStephen Gallagher2011-03-231-0/+2
| | | | | This function takes a DN formatted string and returns the RDN value from it.
* Delete attributes that are removed from LDAPStephen Gallagher2011-01-211-0/+7
| | | | | | | | Sometimes, a value in LDAP will cease to exist (the classic example being shadowExpire). We need to make sure we purge that value from SSSD's sysdb as well. https://fedorahosted.org/sssd/ticket/750
* Add authorizedService supportStephen Gallagher2010-12-211-0/+2
| | | | https://fedorahosted.org/sssd/ticket/670
* Add sysdb_has_enumerated and sysdb_set_enumerated helper functionsStephen Gallagher2010-12-201-0/+10
| | | | Includes a unit test
* Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher2010-11-151-1/+1
|
* Fix const cast warning for sysdb_update_membersStephen Gallagher2010-11-151-2/+2
|
* Add sysdb utility function for sanitizing DNStephen Gallagher2010-11-151-0/+3
|
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-261-2/+2
|
* Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher2010-10-181-7/+14
| | | | | | | | Previously, it assumed that all members were users. This changes the interface so that either a user or a group can be specified. Also, it eliminates the need for a memory context to be passed, since the internal memory should be self-contained.
* sysdb interface for adding fake usersJakub Hrozek2010-10-151-0/+4
|
* sysdb interface for adding incomplete groupsJakub Hrozek2010-10-151-0/+5
| | | | Useful for optimizing the initgroups operation.
* Add sysdb_attrs_get_ulong utility functionJakub Hrozek2010-10-151-0/+2
|
* Implement netgroup support for LDAP providerSumit Bose2010-10-131-0/+3
|
* Also return member groups to the clientSumit Bose2010-10-131-5/+12
|
* Add sysdb_netgroup_base_dn()Sumit Bose2010-10-131-0/+2
|
* Netgroups sysdb APIStephen Gallagher2010-10-131-1/+108
|
* Define objectclass with a constantJakub Hrozek2010-09-151-1/+2
| | | | Use a #define instead of hardcoded string
* Add sysdb_update_members functionStephen Gallagher2010-08-031-0/+5
| | | | | | | | This function will take a user, a list of groups that this user should be added to and a list of groups the user should be removed from and will recursively call sysdb_[add|remove]_group_member Includes a unit test
* Add sysdb_group_dn_name utility functionStephen Gallagher2010-08-031-0/+2
|
* Add sysdb_attrs_to_list() utility functionStephen Gallagher2010-08-031-0/+6
|
* Add sysdb_attrs_get_string_array()Sumit Bose2010-06-021-0/+2
|
* Add ldap_access_filter optionStephen Gallagher2010-05-271-0/+2
| | | | | | | | | | This option (applicable to access_provider=ldap) allows the admin to set an additional LDAP search filter that must match in order for a user to be granted access to the system. Common examples for this would be limiting access to users by in a particular group, for example: ldap_access_filter = memberOf=cn=access_group,ou=Groups,dc=example,dc=com
* Add support for delayed kinit if offlineSumit Bose2010-05-261-0/+1
| | | | | | | If the configuration option krb5_store_password_if_offline is set to true and the backend is offline the plain text user password is stored and used to request a TGT if the backend becomes online. If available the Linux kernel key retention service is used.
* sysydb: Finally stop using a common event contextSimo Sorce2010-04-121-2/+0
| | | | This commit completes the migration to a synchronous sysdb
* sysdb: remove remaining traces of sysdb_handleSimo Sorce2010-04-121-3/+0
|