summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-02-07 07:13:52 -0500
committerMartin Kosek <mkosek@redhat.com>2012-02-09 18:11:57 +0100
commitd706c411ef0c24a96451c15ef16c4fbfbfe177e0 (patch)
treefd9bf3d3403c3f3a66a2720ec87f569845e3b175 /ipapython
parent44c69ef33ef63030007e55b0f0dddcac12372543 (diff)
downloadfreeipa-d706c411ef0c24a96451c15ef16c4fbfbfe177e0.tar.gz
freeipa-d706c411ef0c24a96451c15ef16c4fbfbfe177e0.tar.xz
freeipa-d706c411ef0c24a96451c15ef16c4fbfbfe177e0.zip
Honor default home directory and login shell in user_add
The homedirectory argument had a default_from '/home/<name>', ignoring the ipahomesrootdir config setting. This patch removes that default, and adds a test case for ipahomesrootdir. https://fedorahosted.org/freeipa/ticket/2332 The login shell had the same problem. Again this patch removes the client-side default and adds a test. Building the home directory from the default is changed to use posixpath.join instead of string formatting and ad-hoc cleanup, and to use '/home' instead of failing when the ipahomesrootdir setting is not present for some reason.
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions