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/smbd | |
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/smbd')
-rw-r--r-- | source3/smbd/password.c | 2 | ||||
-rw-r--r-- | source3/smbd/reply.c | 2 | ||||
-rw-r--r-- | source3/smbd/service.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index fa46a74c14..e15e08a1af 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -470,7 +470,7 @@ BOOL check_hosts_equiv(char *user) if (lp_use_rhosts()) { - char *home = get_home_dir(user); + char *home = get_unixhome_dir(user); if (home) { extern int Client; slprintf(rhostsfile, sizeof(rhostsfile)-1, "%s/.rhosts", home); diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 10146c1287..fed82b5e54 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -765,7 +765,7 @@ user %s attempted down-level SMB connection\n", user)); lp_servicenumber(user) < 0) { int homes = lp_servicenumber(HOMES_NAME); - char *home = get_home_dir(user); + char *home = get_unixhome_dir(user); if (homes >= 0 && home) { pstring home_dir; 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, |