summaryrefslogtreecommitdiff
path: root/src/db/sysdb.h
AgeCommit message (Collapse)AuthorFilesLines
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina1-7/+14
https://fedorahosted.org/sssd/ticket/836
2011-09-28Return users and groups based on aliasJakub Hrozek1-3/+3
https://fedorahosted.org/sssd/ticket/926
2011-09-28Add a sysdb_get_direct_parents functionJakub Hrozek1-0/+7
2011-09-28Add sysdb interface to get name aliasesJakub Hrozek1-0/+5
2011-08-15Remaining memory context variables renamedJan Zeleny1-13/+13
memctx to mem_ctx tmpctx to tmp_ctx
2011-08-15sysdb refactoring: memory context deletedJan Zeleny1-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.
2011-08-15sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny1-54/+0
The patch also updates code using modified functions. Tests have also been adjusted.
2011-08-15Added sysdb_ctx_get_domain functionJan Zeleny1-0/+2
2011-08-15sysdb refactoring: renamed ctx variable to sysdbJan Zeleny1-54/+54
2011-06-02Non-posix group processing - sysdb changesJan Zeleny1-2/+3
2011-06-02Added sysdb_attrs_get_bool() functionJan Zeleny1-0/+2
2011-05-20Change sysdb_add_fake_user to add OriginalDNJakub Hrozek1-1/+2
RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too.
2011-05-04Add a function for searching netgroups with custom filterJan Zeleny1-0/+8
2011-05-04Make sysdb_ctx_list public structureJan Zeleny1-1/+12
Also create a routine to initialize it
2011-03-24Add host access control supportPierre Ossman1-0/+1
https://fedorahosted.org/sssd/ticket/746
2011-03-23Add sysdb_attrs_primary_name_list() routineStephen Gallagher1-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.
2011-03-23Add originalDN to fake groupsJakub Hrozek1-1/+2
2011-03-23Add sysdb_attrs_primary_name()Stephen Gallagher1-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.
2011-03-23Create sysdb_get_rdn() functionStephen Gallagher1-0/+2
This function takes a DN formatted string and returns the RDN value from it.
2011-01-21Delete attributes that are removed from LDAPStephen Gallagher1-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
2010-12-21Add authorizedService supportStephen Gallagher1-0/+2
https://fedorahosted.org/sssd/ticket/670
2010-12-20Add sysdb_has_enumerated and sysdb_set_enumerated helper functionsStephen Gallagher1-0/+10
Includes a unit test
2010-11-15Fix const cast issue with sysdb_attrs_users_from_str_listStephen Gallagher1-1/+1
2010-11-15Fix const cast warning for sysdb_update_membersStephen Gallagher1-2/+2
2010-11-15Add sysdb utility function for sanitizing DNStephen Gallagher1-0/+3
2010-10-26Always use uint32_t for UID/GID numbersJakub Hrozek1-2/+2
2010-10-18Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher1-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.
2010-10-15sysdb interface for adding fake usersJakub Hrozek1-0/+4
2010-10-15sysdb interface for adding incomplete groupsJakub Hrozek1-0/+5
Useful for optimizing the initgroups operation.
2010-10-15Add sysdb_attrs_get_ulong utility functionJakub Hrozek1-0/+2
2010-10-13Implement netgroup support for LDAP providerSumit Bose1-0/+3
2010-10-13Also return member groups to the clientSumit Bose1-5/+12
2010-10-13Add sysdb_netgroup_base_dn()Sumit Bose1-0/+2
2010-10-13Netgroups sysdb APIStephen Gallagher1-1/+108
2010-09-15Define objectclass with a constantJakub Hrozek1-1/+2
Use a #define instead of hardcoded string
2010-08-03Add sysdb_update_members functionStephen Gallagher1-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
2010-08-03Add sysdb_group_dn_name utility functionStephen Gallagher1-0/+2
2010-08-03Add sysdb_attrs_to_list() utility functionStephen Gallagher1-0/+6
2010-06-02Add sysdb_attrs_get_string_array()Sumit Bose1-0/+2
2010-05-27Add ldap_access_filter optionStephen Gallagher1-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
2010-05-26Add support for delayed kinit if offlineSumit Bose1-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.
2010-04-12sysydb: Finally stop using a common event contextSimo Sorce1-2/+0
This commit completes the migration to a synchronous sysdb
2010-04-12sysdb: remove remaining traces of sysdb_handleSimo Sorce1-3/+0
2010-04-12sysdb: remove obsolete helpers from sysdbSimo Sorce1-8/+0
2010-04-12sysdb: convert sysdb_initgroupsSimo Sorce1-1/+1
2010-04-12sysdb: convert sysdb_enumgrentSimo Sorce1-1/+1
2010-04-12sysdb: convert sysdb_enumpwentSimo Sorce1-2/+1
2010-04-12sysdb: convert sysdb_get_user_attrSimo Sorce1-1/+1
2010-04-12sysdb: convert sysdb_getgrgidSimo Sorce1-1/+1
2010-04-12sysdb: convert sysdb_getgrnamSimo Sorce1-1/+1