summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Non-posix group processing - sysdb changesJan Zeleny2011-06-021-2/+3
|
* Added sysdb_attrs_get_bool() functionJan Zeleny2011-06-021-0/+2
|
* 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
|
* sysdb: remove obsolete helpers from sysdbSimo Sorce2010-04-121-8/+0
|
* sysdb: convert sysdb_initgroupsSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_enumgrentSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_enumpwentSimo Sorce2010-04-121-2/+1
|
* sysdb: convert sysdb_get_user_attrSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_getgrgidSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_getgrnamSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_getpwuidSimo Sorce2010-04-121-1/+1
|
* sysdb: convert sysdb_getpwnamSimo Sorce2010-04-121-1/+1
|
* sysdb: remove async transactionsSimo Sorce2010-04-121-19/+0
| | | | not used anymore
* sysdb: add synchronous transaction functionsSimo Sorce2010-04-121-14/+5
|
* sysdb: convert sysdb_cache_authSimo Sorce2010-04-121-11/+11
|
* sysdb: convert sysdb_search_groupsSimo Sorce2010-04-121-9/+7
|
* sysdb: delete sysdb_delete_groupSimo Sorce2010-04-121-7/+4
|
* sysdb: convert sysdb_delete_userSimo Sorce2010-04-121-7/+4
|
* sysdb: convert sysdb_search_usersSimo Sorce2010-04-121-9/+7
|
* sysdb: convert sysdb_asq_searchSimo Sorce2010-04-121-11/+9
|
* sysdb: convert sysdb_store_customSimo Sorce2010-04-121-8/+6
|
* sysdb: convert sysdb_search_customSimo Sorce2010-04-121-20/+17
|
* sysdb: convert sysdb_cache_passwordSimo Sorce2010-04-121-9/+5
|