summaryrefslogtreecommitdiffstats
path: root/source/lib/username.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/lib/username.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/lib/username.c')
-rw-r--r--source/lib/username.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/username.c b/source/lib/username.c
index 9f51d066424..23bdb54faf2 100644
--- a/source/lib/username.c
+++ b/source/lib/username.c
@@ -302,7 +302,7 @@ char *uidtoname(uid_t uid)
/****************************************************************************
get a users home directory.
****************************************************************************/
-char *get_home_dir(char *user)
+char *get_unixhome_dir(char *user)
{
const struct passwd *pass;
static pstring home_dir;
@@ -312,7 +312,7 @@ char *get_home_dir(char *user)
if (pass == NULL || pass->pw_dir == NULL) return(NULL);
pstrcpy(home_dir, pass->pw_dir);
- DEBUG(10,("get_home_dir: returning %s for user %s\n", home_dir, user));
+ DEBUG(10,("get_smbhome_dir: returning %s for user %s\n", home_dir, user));
return home_dir;
}