summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Don't use server after SRV data collapsedJakub Hrozek2012-08-091-5/+8
|
* SRV resolution for backup servers should not be permitted.Michal Zidek2012-08-095-6/+37
| | | | https://fedorahosted.org/sssd/ticket/1463
* Change default for ldap_idmap_range_min to 200000Jakub Hrozek2012-08-094-4/+4
| | | | https://fedorahosted.org/sssd/ticket/1462
* Abort PAM access phase if HBAC does not return PAM_SUCCESSJakub Hrozek2012-08-091-0/+1
|
* Backward GOTOs rewritten into do-while loops.Ondrej Kos2012-08-092-245/+271
|
* Change default value of ldap_sasl_string to host/hostname@REALM in man page.Michal Zidek2012-08-091-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1464
* Replaced "id_max" & "id_min"Ondrej Kos2012-08-081-4/+4
|
* Allocate on top of a talloc context, not NULLJakub Hrozek2012-08-081-0/+3
|
* Always mark SRV servers as primaryJakub Hrozek2012-08-071-0/+1
| | | | https://fedorahosted.org/sssd/ticket/1459
* Remove SYSDB_SUDO_CACHE_OC from attribute listsPavel Březina2012-08-072-2/+0
| | | | It is not an attribute.
* Rename SYSDB_SUDO_CACHE_AT_OC to SYSDB_SUDO_CACHE_OCPavel Březina2012-08-075-8/+8
| | | | | It does not contain name of the object class attribute but the value itself. I renamed it to avoid confusion.
* Remove redefinition of some SYSDB_* macrosPavel Březina2012-08-071-10/+0
|
* Subdomains: Send the DP reply in the correct formatJakub Hrozek2012-08-071-14/+41
| | | | | The DP was sending the reply in a format the responder did not expect, so the responder always failed to parse the message.
* monitor: set debug level when unable to load configurationPavel Březina2012-08-071-0/+6
| | | | | | | | | https://fedorahosted.org/sssd/ticket/1345 When the monitor is unable to load configuration and non debug level is set (e.g. when sssd is started via 'service'), none message was saved into logs. This patch forces debug messages to be written in this scenario.
* Failover: Return last tried server if it's still being triedJakub Hrozek2012-08-071-2/+6
| | | | | | | | | | | | | | | | | In the failover, we treat both KDC and LDAP on the IPA server as a single "port", numbered 0. This was done in order to make sure that the SSSD always talks to the same server for both LDAP and Kerberos. However, this clever hack breaks when the IPA provider needs to establish an GSSAPI encrypted LDAP connection because we're asking the fail over code to yield a server while no server has yet been marked as tried. This triggers a fail over for the KDC, so in effect, the TGT is received from second server. If the second server is not available for some reason, the whole provider goes offline. The fail over needs to detect that the server asked for is still being resolved and return the same pointer.
* Add end of line to debug messagePavel Březina2012-08-071-2/+2
|
* IPA: Securely set umask for mkstemp in subdomain providerStephen Gallagher2012-08-061-0/+3
| | | | https://fedorahosted.org/sssd/ticket/1457
* SYSDB: Use ldb_msg_add_string for simple string additionsJakub Hrozek2012-08-063-12/+12
|
* IPA: Do not attempt to close the same file twiceStephen Gallagher2012-08-061-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1456
* shadow attributes can contain -1Pavel Březina2012-08-061-1/+1
| | | | https://fedorahosted.org/sssd/ticket/1393
* SYSDB: Check the return valueJakub Hrozek2012-08-061-0/+1
|
* Removed unused variable assignmentOndrej Kos2012-08-061-2/+0
| | | | https://fedorahosted.org/sssd/ticket/1453
* SSSDConfig: Fix nonfunctional SSSDDomain.remove_provider()Stephen Gallagher2012-08-052-0/+10
| | | | | | Also adds a regression test to the unit test suite. https://fedorahosted.org/sssd/ticket/1388
* Fix various typos in documentation.Yuri Chornoivan2012-08-034-5/+5
|
* Don't call fo_set_{server,port}_status for SRV serversJakub Hrozek2012-08-031-2/+3
| | | | This bug was producing harmless, but annoying error messages.
* Return value of fread in src/tools/sss_debuglevel.c no longer ignored.Michal Zidek2012-08-031-1/+9
| | | | https://fedorahosted.org/sssd/ticket/1426
* Update translations for 1.9.0 beta 6 releasesssd-1_9_0_beta6sssd-1_8_96Jakub Hrozek2012-08-0112-4172/+10100
|
* Create a domain-realm mapping for krb5.conf to be includedJakub Hrozek2012-08-011-0/+135
| | | | | | | | When new subdomains are discovered, the SSSD creates a file that includes the domain-realm mappings. This file can in turn be included in the krb5.conf using the includedir directive, such as: includedir /var/lib/sss/pubconf/realm_mappings
* Add automatic periodic retrieval of subdomainsSimo Sorce2012-08-011-1/+44
|
* Add online callback to enumerate subdomainsSimo Sorce2012-08-011-24/+49
|
* Limit refreshes keeping track of last refresh timeSimo Sorce2012-08-011-26/+46
|
* Change refreshing of subdomainsSimo Sorce2012-08-016-90/+185
| | | | | | | | | This patch keeps a local copy of the subdomains in the ipa subdomains plugin context. This has 2 advantages: 1. allows to check if anything changed w/o always hitting the sysdb. 2. later will allows us to dump this information w/o having to retrieve it again. The timestamp also allows to avoid refreshing too often.
* Expose an initializer function from subdomainSimo Sorce2012-08-013-32/+46
| | | | | | Instead of exporting internal structures, expose an initilizer function like the autofs code and initialize everything inside the ipa_subdomains.c file.
* Add realm paramter to subdomain listSimo Sorce2012-08-014-6/+93
| | | | This will be used later for setting domain_realm mappings in krb5.conf
* Use a more tractable name for subdomain requestSimo Sorce2012-08-013-10/+8
| | | | | I am all for readable names, but there is a tradeof between expressing purpose and compactness.
* 80 col and style fixesSimo Sorce2012-08-011-20/+48
| | | | | | | Something like this: sysdb = (be_req->sysdb)?be_req->sysdb:be_req->be_ctx->sysdb; really is not readable, and we always discourage using obfuscated C, please refrain in future.
* Make structure initializer more readableSimo Sorce2012-08-011-7/+15
|
* Fix return error and debug messageSimo Sorce2012-08-011-2/+7
| | | | | | The debuf message was trying to print the number of returned entries, but no integer was provided. Return ENOENT as the error for when there are no entries, not EINVAL.
* Use ldb_msg_add_string with bare stringsSimo Sorce2012-08-011-9/+7
|
* Fix wrong elements used in comparisonSimo Sorce2012-08-012-3/+3
|
* Fix double semi-colonsSimo Sorce2012-08-011-5/+5
|
* 80 columns policeSimo Sorce2012-08-011-8/+13
|
* tests: Remove useless constsSimo Sorce2012-08-011-27/+15
| | | | | Declaring a bunch of structures as const and then wrapping all uses in discard_const_p() is a bit silly. Remove all these useless decorations.
* Change subdomain_infoSimo Sorce2012-08-016-41/+47
| | | | | Rename the structure to use a standard name prefix so it is properly name-spaced, in preparation for changing the structure itself.
* First-boot sss_seed toolNick Guay2012-08-015-2/+1000
|
* Fix bad checkJakub Hrozek2012-08-011-1/+1
|
* Added unit test for sysdb_ssh.cMichal Zidek2012-08-011-0/+447
|
* Primary server support: new option in AD providerJan Zeleny2012-08-016-2/+8
| | | | | | This patch adds support for new config option ad_backup_server. The description of this option's functionality is included in man page in one of previous patches.
* Primary server support: new option in IPA providerJan Zeleny2012-08-016-5/+9
| | | | | | This patch adds support for new config option ipa_backup_server. The description of this option's functionality is included in man page in one of previous patches.
* Primary server support: new options in krb5 providerJan Zeleny2012-08-0115-11/+45
| | | | | | This patch adds support for new config options krb5_backup_server and krb5_backup_kpasswd. The description of this option's functionality is included in man page in one of previous patches.