summaryrefslogtreecommitdiffstats
path: root/src/util/sss_nss.c
Commit message (Collapse)AuthorAgeFilesLines
* Make DEBUG macro invocations variadicNikolai Kondrashov2014-02-121-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | Use a script to update DEBUG macro invocations to use it as a variadic macro, supplying format string and its arguments directly, instead of wrapping them in parens. This script was used to update the code: grep -rwl --include '*.[hc]' DEBUG . | while read f; do mv "$f"{,.orig} perl -e \ 'use strict; use File::Slurp; my $text=read_file(\*STDIN); $text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs; print $text;' < "$f.orig" > "$f" rm "$f.orig" done Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Allow using flatname for subdomain home dir templateJakub Hrozek2013-04-101-1/+13
| | | | https://fedorahosted.org/sssd/ticket/1609
* NSS: Add original homedir to home directory template optionsStephen Gallagher2013-02-101-1/+13
| | | | https://fedorahosted.org/sssd/ticket/1805
* Moved expand_homedir_template() from NSS responder to utility codeJan Zeleny2012-04-241-0/+136