summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/service.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-24 22:05:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:13 -0500
commit1f033febfe19d6bb0b45524a672eaf1d1373f15e (patch)
treed39f4a956b08c1a9b94ad0dc35f5cb7253866a21 /source4/smb_server/service.c
parent73f1ec5b0c4042728aed1a9cf22739aa1349090c (diff)
downloadsamba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.tar.gz
samba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.tar.xz
samba-1f033febfe19d6bb0b45524a672eaf1d1373f15e.zip
r861: remove the next round of unused stuff
metze (This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)
Diffstat (limited to 'source4/smb_server/service.c')
-rw-r--r--source4/smb_server/service.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source4/smb_server/service.c b/source4/smb_server/service.c
index d219e6cee0d..86c42a2ee67 100644
--- a/source4/smb_server/service.c
+++ b/source4/smb_server/service.c
@@ -70,27 +70,6 @@ static int find_service(const char *service)
iService = lp_servicenumber(service);
- /* now handle the special case of a home directory */
- if (iService == -1) {
- char *phome_dir = get_user_home_dir(service);
-
- if(!phome_dir) {
- /*
- * Try mapping the servicename, it may
- * be a Windows to unix mapped user name.
- */
-/* REWRITE:
- if (map_username(service))
- phome_dir = get_user_home_dir(service);
-*/
- }
-
- DEBUG(3,("checking for home directory %s gave %s\n",service,
- phome_dir?phome_dir:"(NULL)"));
-
- iService = add_home_service(service,service /* 'username' */, phome_dir);
- }
-
/* If we still don't have a service, attempt to add it as a printer. */
if (iService == -1) {
int iPrinterService;