diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-12 21:00:35 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-12 21:00:35 +0000 |
commit | f6276724bafdb6145c0c7b565172d80cb04516ea (patch) | |
tree | dc898b2020b32c12b02724fb7209bde351afe47e /source3/lib/util.c | |
parent | 4f8a24522c683761c6f2ee23dba56f6c7913377b (diff) | |
download | samba-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/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 7d099282f8..25769298be 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2091,8 +2091,8 @@ static char *automount_path(char *user_name) /* use the passwd entry as the default */ /* this will be the default if WITH_AUTOMOUNT is not used or fails */ - /* pstrcpy() copes with get_home_dir() returning NULL */ - pstrcpy(server_path, get_home_dir(user_name)); + /* pstrcpy() copes with get_unixhome_dir() returning NULL */ + pstrcpy(server_path, get_unixhome_dir(user_name)); #if (defined(HAVE_NETGROUP) && defined (WITH_AUTOMOUNT)) @@ -2221,7 +2221,7 @@ void standard_sub(connection_struct *conn,char *str) switch (*(p+1)) { case 'H': - if ((home = get_home_dir(conn->user)) != NULL) { + if ((home = get_unixhome_dir(conn->user)) != NULL) { string_sub(p,"%H",home); } else { p += 2; |