[GSoC][Samba4] Segfault after calling libnet_UserInfo_send()
Andrew Bartlett
abartlet at samba.org
Wed Aug 8 12:39:32 GMT 2007
On Wed, 2007-08-08 at 14:38 +0200, Rafal Szczesniak wrote:
> On Wed, Aug 01, 2007 at 08:15:14AM +1000, Andrew Bartlett wrote:
> > Anyway, if you set
> >
> > user_info->in.domain_name = domain->libnet_ctx->samr.name
> >
> > Then this should null out the check in lit libnet_UserInfo code that is
> > trying to close the pipe...
>
> The thing I need to check is why the function segfaulted instead of
> closing the handle and opening the new one.
It turned out the policy handle (I think) was incorrectly initialised.
Perhaps test the close call with invalid inputs.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070808/be10e0da/attachment.bin
More information about the samba-technical
mailing list