A fix to override the location of a user's home directory if it is
authorTim Potter <tpot@samba.org>
Tue, 18 Dec 2001 06:11:32 +0000 (06:11 +0000)
committerTim Potter <tpot@samba.org>
Tue, 18 Dec 2001 06:11:32 +0000 (06:11 +0000)
commitf0e8a3d5e8bef267c032c0e6a4df666547334cb3
tree6672281c4b6dec52ce5edb01aaaa031507773606
parent7cb202e33cf3dd301729cea5adff3b7b1ca58ce3
A fix to override the location of a user's home directory if it is
specified in the [homes] section of the smb.conf file.

Jeremy, can you take a look at this?  This is in response to someone on the
samba mailing list worrying about it.

Tim.

From: Phil Thompson <philnanne@mediaone.net>
To: samba@lists.samba.org
Subject: Different [homes] behavior in 2.2.2
X-Original-Date: Mon, 17 Dec 2001 23:09:28 -0500

Is it possible to configure samba to disregard the home directory in the
passwd file when using [homes]?  Even though an alternate "path" is set
in [homes], the service fails since the unix home directory is invalid
(nonexistent) on the server.

[...]

This behavior of validating the user's home dir as set in the passwd
files appears to be new
in 2.2.2 and the latest CVS. Anyway to work around this?
(This used to be commit c15dec74a360c6b20f536708e00e61d1d27dcbfc)
source3/lib/username.c