summaryrefslogtreecommitdiffstats
path: root/source/smbd/service.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-12 21:00:35 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-12 21:00:35 +0000
commit054195df9b6187c663ede5cf4489499abbdc29fc (patch)
tree5125f9e510b9a6b2a473e039d0d12f58dc7c4855 /source/smbd/service.c
parentcaa50525220b0d0250fa139367593c2de2c12135 (diff)
downloadsamba-054195df9b6187c663ede5cf4489499abbdc29fc.tar.gz
samba-054195df9b6187c663ede5cf4489499abbdc29fc.tar.xz
samba-054195df9b6187c663ede5cf4489499abbdc29fc.zip
changed function name of get_home_dir() to get_unixhome_dir(), to stop
clash with gnu readline library. fixed issue with [homes] service not being there - call lp_add_home() just before starting the msrpc processing.
Diffstat (limited to 'source/smbd/service.c')
-rw-r--r--source/smbd/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/service.c b/source/smbd/service.c
index f0af82fb4e1..64abf3de1dd 100644
--- a/source/smbd/service.c
+++ b/source/smbd/service.c
@@ -91,7 +91,7 @@ int find_service(char *service)
/* now handle the special case of a home directory */
if (iService < 0)
{
- char *phome_dir = get_home_dir(service);
+ char *phome_dir = get_unixhome_dir(service);
pstring home_dir;
if(phome_dir == NULL)
@@ -101,7 +101,7 @@ int find_service(char *service)
* be a Windows to unix mapped user name.
*/
if(map_username(service))
- phome_dir = get_home_dir(service);
+ phome_dir = get_unixhome_dir(service);
}
DEBUG(3,("checking for home directory %s gave %s\n",service,