summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-10Add cleanup taskSimo Sorce9-156/+915
2009-11-10Refactor delete functions and add a fewSimo Sorce4-234/+648
Refactor user/group delete functions so that they can be used without a transaction (they autostart an operation). Add user and group search function where a subfilter can be specified.
2009-11-10Add check for access-time rules to ipa_access.Sumit Bose4-0/+74
2009-11-10Simplify krb5 child handlerSumit Bose1-17/+18
Currently the Kerberos child handler evaluates the siginfo_t structure to wait for a specific child. This scheme is prone to error, especially when there are more than one child process active, and can produce missleading debug message. This patch simplifies the scheme as it waits for any child.
2009-11-09Fix segfault on unknown user/domainStephen Gallagher1-2/+2
2009-11-09Fix tevent_req error checking.Simo Sorce16-284/+111
When possible using a macro that correctly deals with tstate
2009-11-09Assorted manpage fixesJakub Hrozek1-27/+14
* do not mention the sbus_timeout parameter at all * document the config_file_version parameter * different wording for negative cache
2009-11-09Fix regression in error message when deleting groupsJakub Hrozek1-6/+4
2009-11-09Fix enumerationsSimo Sorce1-2/+6
The counter was not set so we were storing only the first user for each anumeration.
2009-11-09IPA time rules parsing routinesJakub Hrozek4-0/+1841
2009-11-09Add missing includeJakub Hrozek1-0/+1
2009-11-09Check return, zero free hostent, adhere to styleSimo Sorce4-20/+28
2009-11-07Fix ldap driverSimo Sorce1-0/+3
2009-11-07Fix buildSimo Sorce1-4/+8
2009-11-07added access module of IPA providerSumit Bose6-4/+1697
2009-11-06Add fail over utility functionsMartin Nagy4-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.
2009-11-06Add simple reference counting wrappers for tallocMartin Nagy4-1/+373
2009-11-06Add DLIST_FOR_EACH() macroMartin Nagy1-0/+3
2009-11-06Check is ccache structure is initialized before calling krb5_cc_destroySumit Bose1-8/+16
2009-11-06Update sssd.spec to use only the required KRB5_LIBS and NSS_LIBSStephen Gallagher1-0/+2
2009-11-06Clean up unused dependenciesStephen Gallagher4-9/+38
2009-11-06Fix a bad free in async_resolv.cMartin Nagy1-6/+0
Also remove redundant talloc_free()'s. They are not needed since their parent should be freed right after calling the _recv() function.
2009-11-06Add missing include file to files-tests.cMartin Nagy1-0/+1
2009-11-06Always set last update and expire timeSimo Sorce4-114/+110
modifications to existing users/groups were setting metadata, but creation was not. Fixes #259
2009-11-06Split async helpers in multiple filesSimo Sorce6-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.
2009-11-06Reorganize ldap id provider filesSimo Sorce5-547/+584
Split enum task in a separate file.
2009-11-06Unify code to use the generic search interfaceSimo Sorce1-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.
2009-11-06Fix and enhance initgroups callSimo Sorce1-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
2009-11-06Unify parse routines, use maps in generic searchesSimo Sorce4-130/+77
This remove redundant code and also allows the generic search to be used to use maps to convert attributes.
2009-11-06Store the original memberof attributes if anySimo Sorce1-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().
2009-11-06Make useful function more broadly available.Simo Sorce3-30/+30
2009-11-06Make available method to quickly retrive stringSimo Sorce2-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.
2009-11-05Build files.c only for toolsStephen Gallagher4-13/+14
Move files.c into tools directory
2009-11-05Increase the sbus dispatch DEBUG level to 9Stephen Gallagher1-2/+2
This is heavy noise and low-usefulness for debugging normal operating issues.
2009-11-05Update midpoint refresh logic to be relative to cache timeoutStephen Gallagher6-15/+49
2009-11-05Add configure check for sasl.hStephen Gallagher1-0/+2
2009-11-05add replacements for missing Kerberos callsSumit Bose7-48/+160
2009-11-04Do not delete users, groups outside domain rangeJakub Hrozek2-11/+35
Fixes: 240
2009-11-04Simplify debug_fn()Stephen Gallagher1-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.
2009-11-04Fix for a seg fault during recursive deleteSumit Bose1-1/+7
2009-11-04Add sysdb_attrs_replace_name to sysdb API.Sumit Bose3-0/+80
2009-11-04Free the PCRE regexp with destructorJakub Hrozek1-0/+10
2009-11-03Add Requires: cyrus-sasl-gssapiStephen Gallagher1-0/+1
This is needed by LDAP GSSAPI binds.
2009-11-03Rename sdap_id_map to sdap_attr_mapSimo Sorce7-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.
2009-11-03Add complete pydoc for SSSDConfig APIStephen Gallagher1-1/+534
2009-11-03Localize SSSDConfig stringsStephen Gallagher4-3/+919
2009-11-03Add support for option descriptions to SSSDConfig APIStephen Gallagher2-14/+148
Addresses https://fedorahosted.org/sssd/ticket/242 related to authconfig integration
2009-11-03Remove magic_private_groups from SSSDConfig API schemaStephen Gallagher2-3/+0
2009-11-03Make config_file_version a hidden setting in SSSDConfig APIStephen Gallagher5-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
2009-11-02add sysdb_delete_recursive request to sysdb APISumit Bose4-4/+282