[samba3-alpha23] Brand new local profiles

Richard Sharpe rsharpe at richardsharpe.com
Wed Apr 23 23:40:05 GMT 2003


On Wed, 23 Apr 2003, Kristis Makris wrote:

> On Wed, 2003-04-23 at 16:24, Richard Sharpe wrote:
> > On Wed, 23 Apr 2003, Kristis Makris wrote:
> > 
> > > When I try to login, I see the following in the log file for the
> > > particular machine:
> > > 
> > > 
> > > [2003/04/23 15:17:30, 0] smbd/service.c:make_connection(841)
> > >   hotel-win (192.168.10.190) couldn't find service makris_k
> > > [2003/04/23 15:17:30, 0] smbd/service.c:make_connection(841)
> > >   hotel-win (192.168.10.190) couldn't find service makris_k
> > > [2003/04/23 15:17:30, 0] smbd/service.c:make_connection(841)
> > >   hotel-win (192.168.10.190) couldn't find service makris_k
> > 
> > Do you have a [homes] section defined?
> 
> Absolutely, and each user can properly access all files in their
> directory coming off of [homes]:

Hmmm, here is the code in service.c that is producing that message:

   snum = find_service(service);
   if (snum < 0) {
      if (strequal(service,"IPC$") || strequal(service,"ADMIN$")) {
         DEBUG(3,("refusing IPC connection to %s\n", service));
               *status = NT_STATUS_ACCESS_DENIED;
               return NULL;  
      }
   
      DEBUG(0,("%s (%s) couldn't find service %s\n",   
            get_remote_machine_name(), client_addr(), service));
            *status = NT_STATUS_BAD_NETWORK_NAME;
            return NULL;
   }

(reformatted a little).

I know of two or three different reasons for that to fail:

1. The service does not exist

2. The target directory does not exist

3. The target directory is not accessible to the user requesting access.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list