sessionid.tdb missing after build and client read failutre

Jeremy Allison jra at
Thu Jul 4 14:32:02 GMT 2002

On Wed, Jul 03, 2002 at 04:37:23PM -0500, Esh, Andrew wrote:
> I think I see the problem. The code is reaching line 532 of smbd/service.c
> with conn->user set to NULL. I was looking for reasons that this can occur,
> and I noticed that conn_free is called whenever there is an error. Right
> after that, the function returns immediately with a NULL result. This is not
> done in one case:
> smbd/service.c, make_connection_snum(510)
>   } else {
>    conn_free(conn);
>    *status = NT_STATUS_NO_SUCH_GROUP;
>    DEBUG(1,("Couldn't find group %s\n",gname));
>   }
> conn->free will NULL the user pointer. I don't see what would prevent the
> code from running from that point straight into "initialise_groups", which
> needs conn->user to be set.
> Don't we need this instead?

Fixed it - thanks !


More information about the samba-technical mailing list