summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.h
Commit message (Collapse)AuthorAgeFilesLines
* nss: Store entries in responder to initgr mmap cacheLukas Slebodnik2015-07-031-0/+1
| | | | | | | Resolves: https://fedorahosted.org/sssd/ticket/2485 Reviewed-by: Michal Židek <mzidek@redhat.com>
* nss: parse user_attributes optionSumit Bose2014-11-051-0/+2
| | | | Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
* Make the space override responder-agnosticJakub Hrozek2014-08-131-1/+0
| | | | | | | | | | | https://fedorahosted.org/sssd/ticket/2397 In order to make the override_space option usable by other responders, we need to move the override_space option to the generic responder structure. Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
* Only replace space with the specified substitutionJakub Hrozek2014-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/2397 - make sss_replace_whitespaces only replace space (' ') not any whitespace - make sss_replace_whitespaces only replace a single char, not the whole string - rename CONFDB_NSS_OVERRIDE_DEFAULT_WHITESPACE to CONFDB_NSS_OVERRIDE_DEFAULT_SPACE - rename the override_default_whitespace option to override_space - rename sss_replace_whitespaces() to sss_replace_space() - rename sss_reverse_replace_whitespaces() to sss_reverse_replace_space() - rename nctx->override_default_wsp_str to nctx->override_space - make the return value of sss_replace_space non-const to avoid freeing the result without compilation warnings Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
* NSS: Replace spaces with specified string in names.Lukas Slebodnik2014-07-281-0/+1
| | | | | | | | | | | | This patch add possibility to replace whitespace in user and group names with a specified string. With string "-", sssd will return the same result as winbind enabled option "winbind normalize names" Resolves: https://fedorahosted.org/sssd/ticket/1854 Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Michal Židek <mzidek@redhat.com>
* NSS: Add option to expand homedir template formatLukas Slebodnik2014-06-021-0/+1
| | | | | | | | | LDAP server can contain template for home directory instead of plain string. This patch adds new expand option "%H", which will be replaced with value from configuration option homedir_substring (from sssd.conf) Resolves: https://fedorahosted.org/sssd/ticket/1853
* nss: save global name configuration to the nss contextSumit Bose2013-11-151-0/+1
|
* Include external headers with #include <foo.h>Jakub Hrozek2013-10-221-5/+7
| | | | | | I find it more readable to include headers from outside the sssd tree with <foo.h>, not "foo.h". The latter should be used for in-tree headers only.
* Add idmap context to nss contextSumit Bose2013-05-021-0/+3
| | | | | This allows the nss responder to use libsss_idmap to convert between different SID representations.
* Remove unused functionsJakub Hrozek2013-03-041-2/+0
|
* RESPONDERS: Create a common file with service names and versionsJakub Hrozek2012-12-181-3/+0
| | | | | | | The monitor sends calls different sbus methods to different responders. Instead of including headers of the particular responders directly in monitor, which breaks layering a little, create a common header file that will be included from src/responder/common/
* NSS: Add override_shell optionStephen Gallagher2012-07-201-0/+1
| | | | | | | | | 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
* NSS: Add default_shell optionStephen Gallagher2012-05-091-0/+1
| | | | | | | 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
* NSS: Add fallback_homedir optionStephen Gallagher2012-05-091-0/+1
| | | | | | | | 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
* nsssrv: add handling of memory cache group mapSimo Sorce2012-03-191-0/+1
|
* nsssrv: shared memory cache server initializationSimo Sorce2012-03-191-0/+3
|
* NSS: Add service enumeration support to NSS providerStephen Gallagher2012-01-271-0/+1
|
* Move sized_string declaration to utilsStephen Gallagher2012-01-231-8/+0
|
* nsssrv: add string manipulation helperSimo Sorce2012-01-091-0/+8
| | | | | the sized_string structure makes it easier to keep track of string lengths and makes passing around data more compat and readable.
* Add vetoed_shells optionJohn Hodrien2011-07-291-0/+1
| | | | | | | | There may be users in LDAP that have a valid but unwelcome shell set in their account. This adds a blacklist of shells that should always be replaced by the fallback_shell. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Add new options to override shell valueJakub Hrozek2011-05-201-0/+3
| | | | https://fedorahosted.org/sssd/ticket/742
* Add a new option to override home directory valueJakub Hrozek2011-05-201-0/+2
| | | | https://fedorahosted.org/sssd/ticket/551
* Remove unused enumeration cache timeout checksSumit Bose2011-01-061-2/+0
| | | | | The existence of the getent_ctx is used to track the enumeration cache timeout.
* Add netgroup support to the NSS responderStephen Gallagher2010-10-131-0/+1
|
* Refactor the negative cacheStephen Gallagher2010-06-171-2/+1
| | | | | Rename functions from nss_ncache_* to sss_ncache_* Move negative cache to responder/common and rename as negcache.c/h
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+70
Also update BUILD.txt