summaryrefslogtreecommitdiff
path: root/src/responder/nss
AgeCommit message (Collapse)AuthorFilesLines
2012-10-23Fix two errors in the nss responderSumit Bose1-1/+3
One is a copy-and-paste error which was introduce by 1774ee9a61b9d691dadd1a0538f32bcdcc84f72f. The second fixes a missing explicit setting of the return value. In the case where we want fully qualified names ret contains the number of characters from the last snprintf() which is almost ever not 0.
2012-10-18Allow setting the default_shell option per-domain as wellJakub Hrozek1-1/+3
https://fedorahosted.org/sssd/ticket/1583
2012-10-12Check for subdomains if getpwuid or getgrgid are the first requestsSumit Bose1-0/+72
Fixes https://fedorahosted.org/sssd/ticket/1561
2012-10-11nss_cmd_retpwent(): do not go into infinite loop if n < 0Pavel Březina1-0/+8
https://fedorahosted.org/sssd/ticket/1551
2012-10-09Fix typosYuri Chornoivan1-1/+1
2012-10-02Fix few coding style issuesPavel Březina1-1/+1
2012-10-01Add new option default_domain_suffixSumit Bose3-8/+18
2012-09-24sss_cache tool invalidates records in memory cache.Michal Zidek3-2/+126
2012-09-13NSS: Fix off-by-one error in parse_getservbynameJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1438
2012-07-20NSS: Add override_shell optionStephen Gallagher3-2/+18
If override_shell is specified in the [nss] section, all users managed by SSSD will have their shell set to this value. If it is specified in the [domain/DOMAINNAME] section, it will apply to only that domain (and override the [nss] value, if any). https://fedorahosted.org/sssd/ticket/1087
2012-07-18Fix uninitialized valuesNick Guay1-3/+3
https://fedorahosted.org/sssd/ticket/1379
2012-07-12Add newline to DEBUG messagesJakub Hrozek1-2/+2
2012-06-21Fix re_expression matching with subdomainsJan Zeleny2-37/+99
This patch fixes an issue which resulted in a need to initialize responder with data from local domain, otherwise it would not correctly detect requests for subdomains. Similar situation can occur if new subdomain is added at runtime. The solution is to ask for a list of subdomains in case there is a candidate domain identified in the process of matching re_expressions with given name.
2012-06-20Move some debug lines to new debug log levelsStef Walter1-1/+1
* These are common lines of debug output when starting up sssd https://bugzilla.redhat.com/show_bug.cgi?id=811113
2012-06-12Make re_expression and full_name_format per domain optionsStef Walter4-20/+21
* Allows different user/domain qualified names for different domains. For example Domain\User or user@domain. * The global re_expression and full_name_format options remain as defaults for the domains. * Subdomains get the re_expression and full_name_format of their parent domain. https://bugzilla.redhat.com/show_bug.cgi?id=811663
2012-06-10Allow fast memcache timeout to be configurableJan Zeleny3-5/+15
https://fedorahosted.org/sssd/ticket/1318
2012-05-31Ghost members - various small changesJan Zeleny1-1/+1
2012-05-31Ghost members - NSS responder changesJan Zeleny1-89/+147
Since there are two attributes storing information about user memberships of the group we have to include both of them in results. This will apply only for objects that have ghost members (i.e. they contain the SYSDB_GHOST attribute). If an object has this attribute, values of this attribute are not projected to the memberuid attribute.
2012-05-25NSS: Restore original protocol for getservbyportStephen Gallagher1-1/+1
When fixing an endianness bug, we changed the protocol unnecessarily.
2012-05-25Send 16bit protocol numbers from the sss_clientJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1348
2012-05-24NSS: Fix segfault when mmap cache cannot be initializedStephen Gallagher1-2/+2
2012-05-16NSS: Expire in-memory netgroup cache before the nowait timeoutStephen Gallagher1-1/+9
The fact that we were keeping it in memory for the full duration of the cache timeout meant that we would never reap the benefits of the midpoint cache refresh. https://fedorahosted.org/sssd/ticket/1340
2012-05-15Use sized_string correctly in FQDN domainsJakub Hrozek1-2/+2
2012-05-15NSS: keep a pointer to body after body is reallocatedJakub Hrozek1-0/+3
2012-05-10Send the correct enumeration requestJakub Hrozek1-1/+1
https://fedorahosted.org/sssd/ticket/1329
2012-05-09NSS: Add default_shell optionStephen Gallagher3-1/+15
This option will allow administrators to set a default shell to be used if a user does not have one set in the identity provider. https://fedorahosted.org/sssd/ticket/1289
2012-05-09NSS: Add fallback_homedir optionStephen Gallagher3-2/+27
This option is similar to override_homedir, except that it will take effect only for users that do not have an explicit home directory specified in LDAP. https://fedorahosted.org/sssd/ticket/1250
2012-05-02NSS: fix returning group from cacheJakub Hrozek1-1/+1
2012-05-02NSS: Check return code of sss_mmap_cache_gr_storeJakub Hrozek1-0/+5
2012-04-24NSS: Only return data from initgroups onceJakub Hrozek1-3/+10
Do not let nss_cmd_initgroups_search() return data itself, but let the caller return data. This is more intuitive and more consistent with the rest of the nss_cmd_*_search() functions. Also fixes a typo - nss_cmd_initgroups_cb used to call getpw_send_reply instead of initgr_send_reply.
2012-04-24Lowercase group members in case-insensitive domainsJakub Hrozek1-1/+7
https://fedorahosted.org/sssd/ticket/1312
2012-04-24Moved expand_homedir_template() from NSS responder to utility codeJan Zeleny1-108/+1
2012-04-24Check sub-domains in nss_cmd_get{pwuid|grgid}_search()Sumit Bose1-4/+26
2012-04-24Ask for subdomains in responder in the first request after startupJan Zeleny1-0/+30
2012-04-24Retrieve subdomains if there is a request for fully qualified userJan Zeleny3-31/+192
2012-04-24Modified responder_get_domain()Jan Zeleny4-6/+6
Now it checks for subdomains as well as for the domain itself
2012-04-20Convert read and write operations to sss_atomic_readJakub Hrozek1-10/+10
https://fedorahosted.org/sssd/ticket/1209
2012-04-18Prevent printing NULL from DEBUG messagesJakub Hrozek2-4/+8
2012-03-21NSS: Look for services with correct case when cache is updatedJakub Hrozek1-7/+7
https://fedorahosted.org/sssd/ticket/1259
2012-03-21Save alias of the primary name, tooJakub Hrozek1-8/+14
2012-03-20NSS: Fix debug messageStephen Gallagher1-0/+2
2012-03-19nsssrv: add handling of memory cache group mapSimo Sorce5-4/+98
2012-03-19nsssrv: add handling of memory cache passwd mapSimo Sorce3-3/+101
2012-03-19nsssrv: Add memory cache record handling utilsSimo Sorce1-0/+279
2012-03-19nsssrv: shared memory cache server initializationSimo Sorce4-0/+350
2012-03-08Handle errors from lookup_netgr_step gracefullyJakub Hrozek1-3/+10
2012-03-08Save original name into the in-memory cacheJakub Hrozek1-1/+1
2012-03-08Use the correct hash table for pending requestsSimo Sorce1-1/+1
The function that handled pending requests on reconnect was checking an orphaned global variable that was never used, redenring the whole function uselsess. This fixes a very nasty bug that was causing requests for which we never received an answer for (for example because the backend failed and was restarted) to be never removed and therefore causing a black hole effect for any other request of the same type. Fixes: https://fedorahosted.org/sssd/ticket/1229
2012-02-29Remove sysdb_get_ctx_from_list()Sumit Bose3-25/+26
2012-02-21Don't give memory context in confdb where not neededJan Zeleny1-6/+6