summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async_private.h
AgeCommit message (Collapse)AuthorFilesLines
2013-09-26sysdb: get_sysdb_grouplist() can return either names or dnPavel Březina1-0/+6
We need to work with distinguish names when processing cross-domain membership, because groups and users may be stored in different sysdb tree. Resolves: https://fedorahosted.org/sssd/ticket/2066
2013-06-07LDAP: new SDAP domain structureJakub Hrozek1-2/+1
Previously an sdap_id_ctx was always tied to one domain with a single set of search bases. But with the introduction of Global Catalog lookups, primary domain and subdomains might have different search bases. This patch introduces a new structure sdap_domain that contains an sssd domain or subdomain and a set of search bases. With this patch, there is only one sdap_domain that describes the primary domain.
2013-04-02refactor nested group processing: replace old codePavel Březina1-0/+16
https://fedorahosted.org/sssd/ticket/1784
2013-03-20ldap: Fallback option for rfc2307 schemaSimo Sorce1-9/+1
Add option to fallback to fetch local users if rfc2307is being used. This is useful for cases where people added local users as LDAP members and rely on these group memberships to be maintained on the local host. Disabled by default as it violates identity domain separation. Ticket: https://fedorahosted.org/sssd/ticket/1020
2013-01-15Add domain to sysdb_search_group_by_name()Simo Sorce1-0/+1
Also remove unused sysdb_search_domgroup_by_name()
2013-01-15Add domain to sysdb_search_user_by_name()Simo Sorce1-0/+1
Also remove unused sysdb_search_domuser_by_name()
2012-06-12LDAP: Make sdap_initgr_common_store() non-staticStephen Gallagher1-0/+8
Move it to a private header so it can be reused by other initgroups C files.
2012-06-12LDAP: Add helper function to get list of a user's groups from sysdbStephen Gallagher1-0/+5
2012-02-24Modifications to simplify list_missing_attrsJan Zeleny1-2/+0
2011-11-23Renamed some LDAP routinesJan Zeleny1-0/+15
These were renamed just ot make sure they are not mistook for IPA netgroup functions.
2011-10-13SysDB commands that save lastUpdate allows this value to be passed inPavel Březina1-1/+2
https://fedorahosted.org/sssd/ticket/836
2011-08-15sdap_async_accounts.c splitJan Zeleny1-0/+17
The file has been split in three: sdap_async_users.c sdap_async_groups.c sdap_async_initgroups.c https://fedorahosted.org/sssd/ticket/864
2011-06-30Add sdap_call_conn_cb() to call add connection callback directlySumit Bose1-0/+2
2010-10-22Add ldap_deref optionSumit Bose1-0/+2
2010-10-13Make ldap_child report kerberos return code to parentJakub Hrozek1-1/+3
2010-09-15Revert "Make ldap bind asynchronous"Jakub Hrozek1-8/+0
This reverts 56d8d19ac9d857580a233d8264e851883b883c67
2010-09-02Make ldap bind asynchronousMartin Nagy1-0/+8
Every ldap function that could possibly create a new connection is now wrapped in a tevent_req. If the connection is created, we will call the function again after the socket is ready for writing.
2010-07-09GSSAPI ticket expiry time is returned from ldap_child and stored in ↵eindenbom1-1/+2
sdap_handle for future reference.
2010-06-09Disable connection callbacks when going onlineStephen Gallagher1-0/+1
Under certain circumstances, the openldap libraries will continue internally trying to reconnect to a connection lost (as during a cable-pull test). We need to drop the reconnection callbacks when marking the backend offline in order to guarantee that they are not called with an invalid sdap_handle.
2010-05-16Add ldap_krb5_ticket_lifetime optionSumit Bose1-0/+1
2010-05-16Add dynamic DNS updates to FreeIPAStephen Gallagher1-0/+2
This adds two new options: ipa_dyndns_update: Boolean value to select whether this client should automatically update its IP address in FreeIPA DNS. ipa_dyndns_iface: Choose an interface manually to use for updating dynamic DNS. Default is to use the interface associated with the LDAP connection to FreeIPA. This patch supports A and AAAA records. It relies on the presence of the nsupdate tool from the bind-utils package to perform the actual update step. The location of this utility is set at build time, but its availability is determined at runtime (so clients that do not require dynamic update capability do not need to meet this dependency).
2010-05-07Revert "Add dynamic DNS updates to FreeIPA"Stephen Gallagher1-2/+0
This reverts commit 973b7c27c0b294b8b2f120296f64c6a3a36e44b7. While this patch applied cleanly, it was uncompilable. Reverting until it can be properly merged.
2010-05-07Add dynamic DNS updates to FreeIPAStephen Gallagher1-0/+2
This adds two new options: ipa_dyndns_update: Boolean value to select whether this client should automatically update its IP address in FreeIPA DNS. ipa_dyndns_iface: Choose an interface manually to use for updating dynamic DNS. Default is to use the interface associated with the LDAP connection to FreeIPA. This patch supports A and AAAA records. It relies on the presence of the nsupdate tool from the bind-utils package to perform the actual update step. The location of this utility is set at build time, but its availability is determined at runtime (so clients that do not require dynamic update capability do not need to meet this dependency).
2010-04-26Make the handling of fd events opaqueSumit Bose1-9/+7
Depending on the version of the OpenLDAP libraries we use two different schemes to find the file descriptor of the connection to the LDAP server. This patch removes the related ifdefs from the main code and introduces helper functions which can handle the specific cases.
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+68
Also update BUILD.txt