summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-26 20:47:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:30 -0500
commitdf5ee6a6ba2ebe445c8889625c2ee36eea81fcc8 (patch)
tree835a927d6ba0bc57419dcbef6f599bb738be0471 /source3/param
parentdb2ffe10f9283c86f95ae76d38c21916065a4b87 (diff)
downloadsamba-df5ee6a6ba2ebe445c8889625c2ee36eea81fcc8.tar.gz
samba-df5ee6a6ba2ebe445c8889625c2ee36eea81fcc8.tar.bz2
samba-df5ee6a6ba2ebe445c8889625c2ee36eea81fcc8.zip
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)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 5 insertions, 1 deletions
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);
}