summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* added access module of IPA providerSumit Bose2009-11-076-4/+1697
|
* Add fail over utility functionsMartin Nagy2009-11-064-1/+971
| | | | | | | | These functions should be used by providers to centrally manage lists of servers. Servers are grouped into services and each service has it's own list of servers. If, however, you will try to add a same server into two different services, they will share a common structure. This means that a host will only be resolved once.
* Add simple reference counting wrappers for tallocMartin Nagy2009-11-064-1/+373
|
* Add DLIST_FOR_EACH() macroMartin Nagy2009-11-061-0/+3
|
* Check is ccache structure is initialized before calling krb5_cc_destroySumit Bose2009-11-061-8/+16
|
* Clean up unused dependenciesStephen Gallagher2009-11-062-7/+38
|
* Fix a bad free in async_resolv.cMartin Nagy2009-11-061-6/+0
| | | | | Also remove redundant talloc_free()'s. They are not needed since their parent should be freed right after calling the _recv() function.
* Add missing include file to files-tests.cMartin Nagy2009-11-061-0/+1
|
* Always set last update and expire timeSimo Sorce2009-11-064-114/+110
| | | | | modifications to existing users/groups were setting metadata, but creation was not. Fixes #259
* Split async helpers in multiple filesSimo Sorce2009-11-066-3285/+3386
| | | | | | The size of sdap_async.c was unmanageable. This patch splits it into a generic file with common infrastructure calls, a file that handles connection calls and a file for id related calls.
* Reorganize ldap id provider filesSimo Sorce2009-11-065-547/+584
| | | | Split enum task in a separate file.
* Unify code to use the generic search interfaceSimo Sorce2009-11-061-593/+473
| | | | | | | This code removes redundancies in the code. both users and groups enumeration code use the same search generic search function now. Also the code to save users and groups have been unified across all callers.
* Fix and enhance initgroups callSimo Sorce2009-11-061-170/+637
| | | | | | | | This call was failing and was defective because it didn't properly handle the various different schemas we support. Now the function does 2 things: - Updates the user entry to make sure it is still valid - Retrieves every group the user is member of
* Unify parse routines, use maps in generic searchesSimo Sorce2009-11-064-130/+77
| | | | | This remove redundant code and also allows the generic search to be used to use maps to convert attributes.
* Store the original memberof attributes if anySimo Sorce2009-11-061-7/+30
| | | | | Also change the interface of sdap_save_user_send() so that it can be more easily reused like it was done for sdap_save_group_send().
* Make useful function more broadly available.Simo Sorce2009-11-063-30/+30
|
* Make available method to quickly retrive stringSimo Sorce2009-11-062-3/+35
| | | | | sysdb_attrs has a lot of methods to add them but very little to get information out. Start adding a way to retrieve a single valued attribute as a string.
* Build files.c only for toolsStephen Gallagher2009-11-054-13/+14
| | | | Move files.c into tools directory
* Increase the sbus dispatch DEBUG level to 9Stephen Gallagher2009-11-051-2/+2
| | | | | This is heavy noise and low-usefulness for debugging normal operating issues.
* Update midpoint refresh logic to be relative to cache timeoutStephen Gallagher2009-11-056-15/+49
|
* Add configure check for sasl.hStephen Gallagher2009-11-051-0/+2
|
* add replacements for missing Kerberos callsSumit Bose2009-11-057-48/+160
|
* Do not delete users, groups outside domain rangeJakub Hrozek2009-11-042-11/+35
| | | | Fixes: 240
* Simplify debug_fn()Stephen Gallagher2009-11-041-12/+2
| | | | | | We don't need to be allocating an output string here. This was also causing a runtime bug when the output string contained characters that would be interpreted by fprintf as specifiers.
* Fix for a seg fault during recursive deleteSumit Bose2009-11-041-1/+7
|
* Add sysdb_attrs_replace_name to sysdb API.Sumit Bose2009-11-043-0/+80
|
* Free the PCRE regexp with destructorJakub Hrozek2009-11-041-0/+10
|
* Rename sdap_id_map to sdap_attr_mapSimo Sorce2009-11-037-21/+75
| | | | | | Also start adding some infrastructure to use the USN counter when available. In particular add a place to add generic attrs mapping, ie attributes that are neither user nor group specific.
* Add complete pydoc for SSSDConfig APIStephen Gallagher2009-11-031-1/+534
|
* Localize SSSDConfig stringsStephen Gallagher2009-11-034-3/+919
|
* Add support for option descriptions to SSSDConfig APIStephen Gallagher2009-11-032-14/+148
| | | | | Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
* Remove magic_private_groups from SSSDConfig API schemaStephen Gallagher2009-11-032-3/+0
|
* Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher2009-11-035-17/+134
| | | | | | | | The config_file_version should never be changed by the API, so we will hide the option inside the SSSDConfig API and remove it from the schema. Guarantee that the config file is of the correct version
* add sysdb_delete_recursive request to sysdb APISumit Bose2009-11-024-4/+282
|
* Make debug message less irritating.Sumit Bose2009-11-021-2/+2
| | | | | | The 'Unable to load' debug message is now only shown when the backend target is given explicitly in the config file. I the other case we let the caller decided how to handle this error condition.
* set ipa_hostname if not given in config fileSumit Bose2009-11-021-0/+20
|
* Fix segfault when SASL is not used at allSimo Sorce2009-10-302-2/+4
|
* remove old sysdb file before starting testsSumit Bose2009-10-301-0/+8
|
* Fix compiler warnings in krb5_utils-tests.Sumit Bose2009-10-301-21/+21
|
* Add AM_CFLAGS to unit testsSumit Bose2009-10-301-8/+12
|
* Add support to get rootDSE from the LDAP server.Simo Sorce2009-10-296-121/+398
| | | | | | | | | | | | Also fic sdap_get_generic_send() to be a bit more "generic" :-) Also figs bugs within it. This patch allow us 2 good things. A) we check that the server effectively supports GSSAPI auth before we try to use it. B) against IPA it substantially cuts delays when the server is offline because it uses a 5 second async timeout on the connection and doesn't try to do a slow synchronous kinit+sasl_bind if the server is not even available.
* Tidy up ipa optionsSimo Sorce2009-10-299-223/+239
| | | | | | | | | | | | | | Do not replicate every and each option we may want to set in ipa. Just read out ldap and krb provider options (added reference in the manual too, and removed mention of ipa specific timeout values, use ldap options for that) Avoid calling auth module initialization twice, just pass the auth context to the chpass module too. Add a new ldap option SDAP_SEARCH_BASE, so that a single searching base can be used for both users and groups. the user and group search bases can still be set separately if necessary but they are now optional and set to be identical to SDAP_SEARCH_BASE if not explicitly specified in the configuration.
* Allow sysdb_search_entry request to return more than one resultSumit Bose2009-10-293-27/+178
|
* added a ASQ search API for sysdbSumit Bose2009-10-293-0/+356
|
* Kill the ldap connection when we go offlineSimo Sorce2009-10-281-5/+16
| | | | | | This patch uses a wrapper to kill the ldap connection when we are marked offline. This also makes sure we do not try to reuse a bad connection handler after a fatal error.
* Fix sssd.api.conf with correct entry_cache_timeoutStephen Gallagher2009-10-282-2/+5
| | | | | Changeset 3a21103f61bf9b60256cc2d0da54b757b634319f moved the wrong option to the domain list, and also didn't update the unit tests.
* Do not migrate Data ProviderJakub Hrozek2009-10-271-22/+57
| | | | | | Add a way to make changes to the most recent format of config files. Use it to remove all traces of Data Provider from the config file which is being migrated.
* Move responsibility for entry expiration timeoutSimo Sorce2009-10-2717-75/+109
| | | | | The providers are now responsible for determining how long a cached entry is considered valid. The default is the same as before (600s)
* Add proper support for IPA/AD schemasSimo Sorce2009-10-274-202/+574
| | | | | | Nested groups weren't properly handled. Add 2 pass strategy to update groups memberships Stuff work as expected when enumeration is enabled now.
* Fix segfaultSimo Sorce2009-10-271-1/+1
| | | | | | Fix copy/paste error that picked up the wrong request structure to pass down. This was causing the talloc code that checks for the right signature to fail and abort as the 2 request structures have different state structures attacched.