summaryrefslogtreecommitdiff
path: root/source3/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
commitf6276724bafdb6145c0c7b565172d80cb04516ea (patch)
treedc898b2020b32c12b02724fb7209bde351afe47e /source3/smbd/service.c
parent4f8a24522c683761c6f2ee23dba56f6c7913377b (diff)
downloadsamba-f6276724bafdb6145c0c7b565172d80cb04516ea.tar.gz
samba-f6276724bafdb6145c0c7b565172d80cb04516ea.tar.bz2
samba-f6276724bafdb6145c0c7b565172d80cb04516ea.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. (This used to be commit 054195df9b6187c663ede5cf4489499abbdc29fc)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index f0af82fb4e..64abf3de1d 100644
--- a/source3/smbd/service.c
+++ b/source3/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,