From df5ee6a6ba2ebe445c8889625c2ee36eea81fcc8 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 26 Aug 2004 20:47:58 +0000 Subject: r2077: fix logic bug in the check for creating a user's home directory in register_vuid(); add a few extra debug lines (This used to be commit 02571e7f5040a577840c969ff9c46a1e533edc21) --- source3/param/loadparm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2750cc7eda..bc2b0ced08 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2305,6 +2305,10 @@ static int add_a_service(const service *pservice, const char *name) copy_service(ServicePtrs[i], &tservice, NULL); if (name) string_set(&ServicePtrs[i]->szService, name); + + DEBUG(8,("add_a_service: Creating snum = %d for %s\n", + i, ServicePtrs[i]->szService)); + return (i); } @@ -2344,7 +2348,7 @@ BOOL lp_add_home(const char *pszHomename, int iDefaultService, ServicePtrs[i]->autoloaded = True; DEBUG(3, ("adding home's share [%s] for user '%s' at '%s'\n", pszHomename, - user, newHomedir)); + user, ServicePtrs[i]->szPath )); return (True); } -- cgit