summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not throw a DP error when a netgroup is not foundStephen Gallagher2011-01-141-5/+1
| | | | https://fedorahosted.org/sssd/ticket/775
* Add missing sysdb transaction to group enumerationsStephen Gallagher2011-01-141-12/+45
| | | | | | | | | | | | We were not enclosing group processing in a transaction, which was resulting in extremely high numbers of disk-writes. This patch adds a transaction around the sdap_process_group code to ensure that these actions take place within a transaction. This patch also adds a check around the missing member code for RFC2307bis so we don't go back to the LDAP server to look up entries that don't exist (since the enumeration first pass would already have guaranteed that we have all real users cached)
* Add syslog messages to authorized service access checkSumit Bose2011-01-061-1/+31
|
* Add syslog message to shadow access checkSumit Bose2011-01-061-6/+14
|
* Convert obfuscated password once at startupSumit Bose2011-01-062-14/+41
|
* Add authorizedService supportStephen Gallagher2010-12-215-2/+144
| | | | https://fedorahosted.org/sssd/ticket/670
* Pass all PAM data to the LDAP access providerStephen Gallagher2010-12-211-9/+12
| | | | Previously we were only passing the username.
* Remove unused member of a structSumit Bose2010-12-211-1/+0
|
* Add all values of a multi-valued user attributeSumit Bose2010-12-211-12/+15
|
* Avoid multiple initializations in LDAP providerSumit Bose2010-12-201-39/+30
| | | | | | Currently in a domain where LDAP was used for id and auth the LDAP UIR was added multiple times to the failover code which may cause unwanted delays.
* Start first enumeration immediatelyStephen Gallagher2010-12-172-3/+42
| | | | | | | | | | | | | | Previously, we would wait for ten seconds before starting an enumeration. However, this meant that on the first startup (before we had run our first enumeration) there was a ten-second window where clients would immediately get back a response with no entries instead of blocking until the enumeration completed. With this patch, SSSD will now run an enumeration immediately upon startup. Further startups will retain the ten-second delay so as not to slow down system bootups. https://fedorahosted.org/sssd/ticket/616
* Fix uninitialized value error in sdap_account_expired_shadow()Sumit Bose2010-12-141-2/+2
| | | | https://fedorahosted.org/sssd/ticket/726
* Fix unchecked return value in sdap_parse_entry()Sumit Bose2010-12-141-1/+5
| | | | https://fedorahosted.org/sssd/ticket/712
* Fix unchecked return value in sdap_get_msg_dn()Sumit Bose2010-12-141-1/+6
| | | | https://fedorahosted.org/sssd/ticket/712
* Replace krb5_kdcip by krb5_server in LDAP providerSumit Bose2010-12-072-4/+12
|
* Mark unavailable Kerberos server as PORT_NOT_WORKINGSumit Bose2010-12-071-0/+1
|
* ldap: Use USN entries if available.Simo Sorce2010-12-077-88/+186
| | | | Otherwise fallback to the default modifyTimestamp indicator
* ldap: add checks to determine if USN features are available.Simo Sorce2010-12-078-24/+133
|
* ldap: remove variable that was never assigned nor usedSimo Sorce2010-12-072-10/+0
|
* Pass sdap_id_ctx in sdap_id_op functions.Simo Sorce2010-12-073-47/+51
|
* Add ldap_chpass_uri config optionSumit Bose2010-12-065-6/+47
|
* Add new account expired rule to LDAP access providerSumit Bose2010-12-065-90/+508
| | | | | | | | | | | | | | Two new options are added to the LDAP access provider to allow a broader range of access control rules to be evaluated. 'ldap_access_order' makes it possible to run more than one rule. To keep compatibility with older versions the default is 'filter'. This patch adds a new rule 'expire'. 'ldap_account_expire_policy' specifies which LDAP attribute should be used to determine if an account is expired or not. Currently only 'shadow' is supported which evaluates the ldap_user_shadow_expire attribute.
* Make string_to_shadowpw_days() publicSumit Bose2010-12-063-33/+36
|
* Add a special filter type to handle enumerationsSumit Bose2010-12-021-17/+6
|
* Add check_online method to LDAP ID providerSumit Bose2010-12-013-1/+44
|
* Fix offline detection in sdap_cli_connect requestSumit Bose2010-12-011-0/+1
| | | | | | | sdap_cli_connect_recv_ext() checks if the failover server is not set to determine if the backend is offline. To make this work properly if multiple servers are defined the failover server must be set to NULL if all servers are checked.
* Allow protocol fallback for SRV queriesJakub Hrozek2010-12-011-3/+2
| | | | https://fedorahosted.org/sssd/ticket/691
* Fix offline detection for LDAP auth/chpassSumit Bose2010-11-191-5/+13
|
* Fix const cast warning in build_attrs_from_mapStephen Gallagher2010-11-151-3/+3
|
* Fix const cast warning for sysdb_update_membersStephen Gallagher2010-11-151-6/+6
|
* Sanitize ldap attributes in the config fileStephen Gallagher2010-11-151-2/+21
| | | | https://fedorahosted.org/sssd/ticket/458
* Properly document ldap_purge_cache_timeoutStephen Gallagher2010-11-151-1/+9
| | | | Also allow it to be disabled entirely
* Sanitize search filters in LDAP providerStephen Gallagher2010-11-154-7/+61
|
* Sanitize sysdb dn for memberof lookupStephen Gallagher2010-11-151-1/+11
|
* Sanitize sysdb filters in the LDAP providerStephen Gallagher2010-11-151-2/+11
|
* Review comments for namingContexts patchesSumit Bose2010-11-052-14/+14
|
* Make ldap_search_base a non-mandatory optionSumit Bose2010-11-041-35/+25
|
* Use (default)namingContext to set empty search basesSumit Bose2010-11-044-1/+117
|
* Add defaultNamingContext to RootDSE attributesSumit Bose2010-11-042-0/+3
|
* Don't clean up groups for which a user has it as primary GIDStephen Gallagher2010-11-041-2/+15
| | | | | | | | | | We were cleaning up all groups that were expired and for which there existed no user with memberOf: <thegroup> as an attribute. This patch modifies the search to also check for cached users with this group's GID as their primary GID. Fixes https://fedorahosted.org/sssd/ticket/624
* Fix misused SDAP_SEARCH_BASEMoritz Baumann2010-11-011-1/+1
|
* Allow authentication for referralsSumit Bose2010-10-271-0/+193
|
* Always use uint32_t for UID/GID numbersJakub Hrozek2010-10-262-23/+17
|
* Add some missing ldap_memfree()Sumit Bose2010-10-222-3/+6
|
* Add ldap_deref optionSumit Bose2010-10-224-1/+52
|
* set in_transaction explicitly to falseJakub Hrozek2010-10-181-1/+1
|
* Use unsigned long for conversion to id_tJakub Hrozek2010-10-182-34/+16
| | | | | | | | 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-181-0/+1
| | | | | | | | 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