summaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Collapse)AuthorFilesLines
2009-12-07Allow nesting to fix #310Simo Sorce3-0/+5
2009-12-07Add offline support for ipa_accessSumit Bose2-17/+134
2009-12-07Add checks to test the memberuid handlingSumit Bose1-13/+495
2009-12-07Try to renew Kerberos credentialsSumit Bose5-2/+189
When using GSSAPI we need a valid service ticket to talk to the LDAP server. If the ticket is expired the LDAP client returns with 'Can't contact LDAP server'. Currently we set the backend offline if this error occurs although the server is still available. This patch checks if the TGT is expired and tries to renew the credentials before going offline.
2009-12-07Add basic OS detectionSumit Bose4-2/+40
Detect if the OS is Fedora, RHEL or SUSE and install the SUSE start-script on SUSE systems.
2009-12-07Fix nested group membershipsSimo Sorce6-221/+299
Search the local db to find the local DN using the original DN as search key. This way we do not have to rely on weak and faulty heuristicts based on DN names. Add a few helper functions in the process and change the way we pass members to sysdb_store_group_send(), instead of passing users and groups list, just add member DNs to the other sysdb attrs.
2009-12-07Make strdn build functions more availableSimo Sorce3-42/+58
2009-12-07Resolve nested groups also when rfc2307bis is usedSimo Sorce1-68/+2
2009-12-07Do not treat missing proc files as errors.Sumit Bose1-0/+10
2009-12-07Add sysdb_search_custom requestSumit Bose3-74/+206
2009-12-03Raise debug log level for LDB_DEBUG_WARNINGStephen Gallagher1-1/+1
Level 3 was far too low for mostly-useless messages
2009-12-03Make debug log timestamps human-readableStephen Gallagher2-4/+13
2009-12-03Use the custom password field in groups too.Simo Sorce1-3/+5
Groups also need to honor the settable password field and use * by default.
2009-12-03Use memberuid and not member in group enumerationsSimo Sorce2-54/+9
This allows for correctly reporting nested group members, while at the same time not paying a too high price for caluclating nested groups at runtime e very time a search is made.
2009-12-03Compute and save memberuid in cache as wellSimo Sorce1-108/+690
This patch adds a new generated attribute to every group that has direct or indirect members. This attribute is called memberuid and contains the name of the users that are directo or indirect members of this group. This is done to greatly speed up group enumerations when NSS reads groups off the cache.
2009-12-03Fix memberof pluginSimo Sorce1-12/+15
A loop was badly built and was skipping entries. This left some memberof attributes in place that should have been removed.
2009-12-03Check LDAP structure before calling ldap_unbind_ext()Sumit Bose1-1/+3
2009-12-03Check the services started against a list of known servicesJakub Hrozek1-0/+29
Fixes: #241
2009-12-03Setup ldap child logging from IPA backendJakub Hrozek4-45/+54
Fixes: #296
2009-12-03Copy-edit sssd-ipa man pageDavid O'Brien1-18/+17
Mainly typo fixes and grammar updates. Application of RH doc styles where appropriate.
2009-12-01Better error message when there is no local domain configuredJakub Hrozek7-7/+31
Fixes: #235
2009-12-01Warn visibly about permission problems with the config fileJakub Hrozek1-1/+8
Fixes: #268
2009-12-01Immediately return a krb5 change password request when offlineSumit Bose1-0/+7
2009-12-01Fix tabsSimo Sorce1-21/+21
2009-11-25Remove unneeded debugging codeSumit Bose1-9/+0
2009-11-25Fix an internal error when cache_credentials=FALSESumit Bose1-1/+4
2009-11-25Fix bug with bad ldb pkg-config filesStephen Gallagher1-1/+1
2009-11-25Update PL translationraven1-7/+6
2009-11-25Get TGT in a child process.Jakub Hrozek10-165/+1081
To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277
2009-11-25Split helpers for child processesJakub Hrozek8-174/+267
Moves several functions out of providers/krb5 hierarchy into a separate module so it can be shared by the ldap child.
2009-11-25In IPA, the realm is always the domain uppercased.Simo Sorce1-2/+7
2009-11-25Make ldb lib dir configurableSumit Bose2-1/+19
2009-11-25Use ldb modules from build root for testsSumit Bose2-0/+5
2009-11-25Fix internal options numbers testSimo Sorce1-12/+24
Unfortunately since we changed the defines to an enum the preprocessor test stopped working. Turn tests into runtime tests that will abort the process.
2009-11-23Really check return value from pam_set_itemSumit Bose1-3/+3
2009-11-23Fix ticket #289Simo Sorce1-0/+18
When I converted fill_grent to speed up enumerations I left out this check by mistake.
2009-11-23Update translation strings for string freezeStephen Gallagher5-382/+463
2009-11-23Read KDC info from file instead from environmentSumit Bose12-74/+474
Then name or IP adress of the KDC is written into the pubconf directory into a file named kdcinfo.REALM. The locator plugin will then read this file and pass the data to the kerberos libraries.
2009-11-23Speed up user requests while offlineStephen Gallagher6-52/+102
This adds a new boolean option to sss_dp_send_acct_req() called fast_reply. If we make a request to the backends and we are currently offline, this option will determine whether we should immediately return from the cache (acceptable for NSS requests) or potentially wait for an online check to complete (required for PAM requests).
2009-11-23Make backend request type a bitfieldStephen Gallagher3-5/+5
2009-11-23Update PL translationStephen Gallagher1-79/+80
2009-11-23Add ldap_pwd_policy optionSumit Bose7-45/+129
2009-11-20Add initial failover support for ldap and ipaSimo Sorce22-69/+938
The retun values are still not directly used with ldap libraries that still do their own name resolution, but this patch introduces a very basic framework to have a multiple providers in one domain use and share a single failover service if they want to.
2009-11-20Raise some timeoutsSimo Sorce2-3/+3
When using high debug levels or valgrind the code maybe slow enough that these timeouts were too strict.
2009-11-20Filter by id range before actually storing entries.Simo Sorce4-31/+89
This way we do not need to check for id ranges on every search.
2009-11-20Optimize sysdb_enumgrentSimo Sorce3-504/+203
This brings down the time needed to enumerate my group database from 2.4 seconds to 0.15 seconds.
2009-11-20Only display errors in unit testsStephen Gallagher10-11/+21
If you want to turn verbosity back on, just set the environment variable CK_VERBOSITY=verbose
2009-11-20Enhance check for remote hostsSumit Bose2-55/+97
2009-11-20Add ipa_authSumit Bose5-1/+352
To support IPA DS to Kerberos password migration a seperate authentication target is added. It calls the Kerberos authentication target and in the case of a 'Preauthentication Error' the LDAP authentication target. On success the Kerberos target is called again to request the TGT.
2009-11-20Add reference to sssd-krb5 man page.Simo Sorce1-0/+3
Thanks to Marko Myllynen for spotting this.