summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-13add a replacement if ldap_control_create is missingSumit Bose1-1/+0
2009-10-09Differentiate between search and network timeoutsSimo Sorce1-2/+3
Network timeouts are used in quick operations like bind. Search timeout is used for operations that can "legally" require more time. Change defaults to 6 and 60 seconds respectively.
2009-10-01Fix long timeout on ldap operationSimo Sorce1-2/+2
Always use the network timeout defined in the options. But raise defaults to 60 seconds or enumerations can easily fail.
2009-10-01Initial implementation of sasl bind supportSimo Sorce1-1/+8
Inits krb5 credentials, if sasl mech is GSSAPI. Tested with GSSAPI and host keytab as well as user credentials. Updates also manpages with the new options.
2009-09-25add new config options ldap_tls_cacert and ldap_tls_cacertdirSumit Bose1-1/+59
2009-09-25Upgrade confdb to version 2Stephen Gallagher1-58/+58
This converts a great many configuration options to the new standard format.
2009-09-23Revert "Use syslog for logging error conditions in SSSD"Stephen Gallagher1-33/+33
This reverts commit 8c50bd085c0efe5fde354deee2c8118887aae29d. Amended: commit 1016af2b1b97ad4290ccce8fa462cc7e3c191b2e also made use of the SYSLOG_ERROR() macro, so those portions of that code also needed to be reverted.
2009-09-21Use syslog for logging error conditions in SSSDJakub Hrozek1-33/+33
This is just a band-aid until ELAPI is fully functional and ready to use.
2009-09-14Turn ldap driver options into multitypeSimo Sorce1-70/+184
This patch makes basic options multiype, the init function assigns a type from the initialization array, and processes values fetched from confdb accordingly. 4 types are supported so far: string, number, blob and boolean Also convert defines into enums where appropriate. Add fetch functions that check the requested type.
2009-09-11Complete the removal of "legacy" option.Simo Sorce1-3/+3
The code was still dependent on it for the ldap driver. Changed the driver code to depend on the schema type. Fix defaults for user and groups trees. ATM if you use the rfc2307bis schema you have to put users and groups in 2 separate trees (what people does by default anyway. If this limitation will turn to be too hard, we will change this later.
2009-08-27Make enumeration an independent taskSimo Sorce1-6/+16
Always immediately return to DP, and update users/groups in the background. Also implements an optimization to retrieve only changed/new users/groups by filtering using the modifyTimestamp after the first query.
2009-08-27Initial support for multiple schema typesSimo Sorce1-7/+39
2009-08-24some UPN handling fixesSumit Bose1-1/+7
- making the realm part upper case is now optional and done in the LDAP backend - using a username@realm UPN is now optional
2009-08-19enable usage of defaultBindDnSumit Bose1-0/+1
2009-07-10fixed the default value for tls_reqcertSumit Bose1-1/+1
2009-07-08Implement the ldap identity module.Simo Sorce1-27/+42
This uses and exapands the async helpers.
2009-07-08Add async helper functionsSimo Sorce1-0/+367
These functions use the tevent_req async model, where a pair of _send/_recv functions pilot requests, with additional helpers like _done functions, and where needed multiple stage helpers.