From db389d85f80f4246f711b76ba9ba18cfa3726cbd Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 20 Dec 2009 19:47:50 +0000 Subject: [PATCH] better error message if homedir path could not be determined --- lam/lib/lamdaemon.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index 0762c161..230e42c9 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -172,8 +172,8 @@ sub manageHomedirs { sub createHomedir { my $homedir = $user[7]; if ($homedir eq '') { - $return = "ERROR,Lamdaemon ($hostname),Home directory path is empty."; - logMessage(LOG_ERR, "Home directory path is empty."); + $return = "ERROR,Lamdaemon ($hostname),Unable to determine home directory path. Please check if NSS LDAP is correctly configured."; + logMessage(LOG_ERR, "Unable to determine home directory path. Please check if NSS LDAP is correctly configured."); return; } my $path = $homedir;