summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updating version for SSSD 1.4.0 releasesssd-1_4_0Stephen Gallagher2010-10-181-1/+1
|
* Fix 'make distcheck' for XML documentationStephen Gallagher2010-10-181-1/+1
| | | | | A missing $(srcdir) variable was preventing 'make distcheck' from working if run from a parallel build directory.
* Updating translation files for releaseStephen Gallagher2010-10-1814-3178/+3420
|
* Move all references to ldap_<entity>_search_base to "advanced" sectionJan Zeleny2010-10-182-44/+52
| | | | | | | The <entity> can be one of user, group or netgroup. The references were removed from example configuration and they were moved from section Configuration options to section Advanced options. Ticket: #607
* set in_transaction explicitly to falseJakub Hrozek2010-10-181-1/+1
|
* Use unsigned long for conversion to id_tJakub Hrozek2010-10-184-40/+22
| | | | | | | | We used strtol() on a number of places to convert into uid_t or gid_t from a string representation such as LDAP attribute, but on some platforms, unsigned long might be necessary to store big id_t values. This patch converts to using strtoul() instead.
* Add proper nested initgroup support for RFC2307bis serversStephen Gallagher2010-10-181-3/+761
|
* Modify sysdb_[add|remove]_group_member to accept users and groupsStephen Gallagher2010-10-184-44/+102
| | | | | | | | 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.
* Handle nested groups in RFC2307bisStephen Gallagher2010-10-181-1/+776
| | | | | | | | This first approach handles the non-optimized "pure" RFC2307bis case. It recursively calls into nested groups until it it has found them all or hits the pre-defined nesting limit. It then saves all member users first, then all groups to the sysdb
* Make sdap_save_users_send handle zero users gracefullyStephen Gallagher2010-10-181-0/+5
| | | | | If we send a zero num_users value, we should just immediately return success, rather than starting a useless transaction
* Add option to limit nested groupsSimo Sorce2010-10-187-3/+24
|
* Save dummy member users during RFC2307 getgr{nam,gid}Jakub Hrozek2010-10-151-82/+279
|
* sysdb interface for adding fake usersJakub Hrozek2010-10-154-4/+70
|
* Save dummy groups to cache during initgroupsJakub Hrozek2010-10-151-0/+125
| | | | | | | | | If during initgroups operation we find out that any of the groups the user is a member of is not cached yet we add a incomplete, expired group entry. That way, we save ourselves from looking up and saving all the potential user entries the group may also consist of. Because the group is expired, it will be refreshed during the next getgrgid/getgrnam call and correct member list will be returned.
* sysdb interface for adding incomplete groupsJakub Hrozek2010-10-154-1/+90
| | | | Useful for optimizing the initgroups operation.
* Add sysdb_attrs_get_ulong utility functionJakub Hrozek2010-10-152-0/+29
|
* Check for GSSAPI before attempting to kinitJakub Hrozek2010-10-151-8/+12
|
* Assorted specfile changesStephen Gallagher2010-10-131-8/+10
| | | | | | Several problems with the specfile were fixed in the SSSD release in certain RPM-based distributions. This patch pulls them into the example specfile
* Rename upgrade_config.py and build it properlyStephen Gallagher2010-10-134-8/+3
| | | | | | | | Previously, we were just copying the script into the libexec dir during installation. However, this causes problems for packaging multilib on several distributions. https://fedorahosted.org/sssd/ticket/641
* Avoid a global variable in netgroup client.Sumit Bose2010-10-132-38/+26
| | | | | The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.
* Implement netgroup support for LDAP providerSumit Bose2010-10-137-1/+989
|
* Add infrastructure to LDAP provider for netgroup supportSumit Bose2010-10-138-4/+199
|
* Also return member groups to the clientSumit Bose2010-10-135-159/+212
|
* Add sysdb_netgroup_base_dn()Sumit Bose2010-10-132-0/+8
|
* Do not fail if netgroup exists just update the attributesSumit Bose2010-10-131-1/+1
|
* Add handling of nested netgroups to nss clientSumit Bose2010-10-133-69/+113
|
* Return NSS_STATUS_RETURN instead of NSS_STATUS_NOTFOUNDSumit Bose2010-10-131-1/+1
| | | | | NSS_STATUS_RETURN needs to be returned to glibc otherwise nested groups are not resolved by glibc.
* Add missing tevent_req_done()Sumit Bose2010-10-131-0/+1
|
* Add netgroup support to the NSS responderStephen Gallagher2010-10-139-2/+926
|
* Split out some helper functions for the NSS responderStephen Gallagher2010-10-132-83/+147
| | | | | Create a new private header and make some functions available for other object files.
* Add negative cache features for netgroupsStephen Gallagher2010-10-132-0/+39
|
* Add support for netgroups to NSS sss_clientStephen Gallagher2010-10-135-6/+367
|
* Rename group.c and passwd.c for clarityStephen Gallagher2010-10-134-4/+4
| | | | | Prefixing group.c and passwd.c with "nss_" similar to the way the PAM client sources are prefixed with "pam_"
* netgroup testsStephen Gallagher2010-10-131-0/+516
|
* Netgroups sysdb APIStephen Gallagher2010-10-134-2/+802
|
* Require explicit setting of callback context for check_cacheStephen Gallagher2010-10-131-7/+13
| | | | | Previously, it was implicitly using the nss_dom_ctx, but there are situations where we would want to send a different private context
* Store entry_cache_timeout in sss_domain_info objectStephen Gallagher2010-10-132-0/+9
| | | | | | This is useful so that the NSS responder can identify an domain's entry timeout for expiring the memory cache for a lookup such as with netgroups.
* Add utility function sss_strnlen()Stephen Gallagher2010-10-132-0/+34
| | | | This is useful for guaranteeing the size of an input buffer.
* Initialize kerberos service for GSSAPIJakub Hrozek2010-10-1310-5/+303
|
* Make ldap_child report kerberos return code to parentJakub Hrozek2010-10-134-13/+31
|
* Report Kerberos error code from ldap_child_get_tgt_syncJakub Hrozek2010-10-131-23/+16
|
* Add KDC to the list of LDAP optionsJakub Hrozek2010-10-135-1/+22
|
* Raise the required version of libdhashSumit Bose2010-10-131-1/+1
| | | | | libdhash version 0.4.2 is required because older versions cannot update hash entries.
* Remove unused definesSumit Bose2010-10-131-2/+0
|
* Distribute XML sources instead of man-pagesSumit Bose2010-10-131-2/+3
|
* Return all group members from getgr(nam|gid)Ralf Haferkamp2010-10-131-12/+374
| | | | | | | getgrnam()/getgrgid() should return all group members instead of only those which have already been cached (in sysdb). To achieve this every member that is currently not in the cache is looked up via LDAP and saved to the cache.
* Shortcut for save_group() to accept sysdb DNs as member attributesRalf Haferkamp2010-10-131-4/+19
| | | | | | Addtional parameter "populate_members" for save_group() and save_groups() to indicate that the "member" attribute of the groups is populated with sysdb DNs of the members (instead of LDAP DNs).
* Rename index to idxSumit Bose2010-10-131-4/+4
| | | | This patch suppresses a 'shadows a global declaration' warning.
* Add a missing include fileSumit Bose2010-10-131-0/+1
| | | | | strcasecmp() is defined in strings.h which might not be included under certain conditions.
* Use POPT_TABLEEND to close option tableSumit Bose2010-10-137-8/+8
|