SMBD cores in create_volume_objectid

Shilpa K shilpa.krishnareddy at gmail.com
Mon Jun 1 03:13:56 MDT 2015


Yes, Windows client is sending NetShareDel to stop sharing the share.

We did add "delete share command" to [global] section of the smb.conf

On Sat, May 30, 2015 at 3:35 AM, Jeremy Allison <jra at samba.org> wrote:

> On Fri, May 29, 2015 at 03:20:07PM +0530, Shilpa K wrote:
> > Below is the code snippet leading to crash:
> >
> > unsigned char *create_volume_objectid(connection_struct *conn, unsigned
> char
> > objid[16])
> > {
> > E_md4hash(lp_servicename(talloc_tos(), SNUM(conn)),objid);
> > return objid;
> > }
> >
> > Here lp_servicename() returns NULL.
>
> OK, that tells me what happens, I'm assuming that
> the call the Windows client is making to remove
> the share is NetShareDel. Can you confirm ?
>
> Also, do you have a "delete share command"
> set up in the [global] section of your smb.conf ?
>
> Thanks !
>
> Jeremy.
>


More information about the samba-technical mailing list