7f97e6098503a4426dbeeb773b48f27041440be2 |
|
07-Mar-2017 |
Ignacio Reguero <Ignacio.Reguero@cern.ch> |
UTIL: first letter of user name template for override_homedir
Resolves:
https://pagure.io/SSSD/sssd/issue/2668
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
accff8ebe158251b1d25a95b3b035fe7e08fd1ee |
|
07-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
UTIL: expand_homedir_template manages usernames internally
expand_homedir_template() can be considered an outward-facing interface,
therefore the function and its input structure will accept the internal
name format and parse it internally into a username and domain
component.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
adf9c23d663c308cfeeaa5ad0a33c399c85b27ec |
|
12-Oct-2014 |
Pavel Reichl <preichl@redhat.com> |
NSS: UPN as a template expansion for homedir mappings
Fixes:
https://fedorahosted.org/sssd/ticket/2340
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
ae0a5011e2644eaa482ea1b9e1451eff05c676b9 |
|
02-Jun-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
NSS: Add option to expand homedir template format
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 |
5cd660aaa885bca95ac3dca660bb77e5786d5f8e |
|
02-Jun-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
NSS: Refactor expand_homedir_template
Function expand_homedir_template had lot of parameters.
After adding new expand option, all function call should be rewritten,
(usually argument NULL will be added)
This patch wraps all necessary arguments to structure. |
a3c8390d19593b1e5277d95bfb4ab206d4785150 |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Make DEBUG macro invocations variadic
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> |
6fc4702a3037d9bb5b27bcb58f70edf1802b7b19 |
|
10-Apr-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
Allow using flatname for subdomain home dir template
https://fedorahosted.org/sssd/ticket/1609 |
2cbb879c517f2c756a2eb3962527979bac01ddab |
|
10-Feb-2013 |
Stephen Gallagher <sgallagh@redhat.com> |
NSS: Add original homedir to home directory template options
https://fedorahosted.org/sssd/ticket/1805 |
29be7d76c949b82350c7603cfd362a1fcb47eb1b |
|
24-Apr-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Moved expand_homedir_template() from NSS responder to utility code |