winbindd4: Force home directory in internal winbind to use a lower-case username
authorAndrew Bartlett <abartlet@samba.org>
Thu, 23 Oct 2014 04:58:40 +0000 (17:58 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 5 May 2015 23:22:14 +0000 (01:22 +0200)
commit7fcaa07e2009066647b2e6c71ab82ce5724b43b5
tree44383710285387cde31e939cfda9d1facc5654e2
parent4aa2246dd9a463e84fdf21a63581a98f2031fd2f
winbindd4: Force home directory in internal winbind to use a lower-case username

This is a BEHAVIOUR CHANGE from Samba 4.0 and 4.1, if mixed-case
usernames were in use.

However, it matches the behaviour in winbindd in all other use cases.

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/winbind/wb_cmd_getpwnam.c
source4/winbind/wb_cmd_getpwuid.c