[GSoC][Samba4] Segfault after calling libnet_UserInfo_send()

Rafal Szczesniak mimir at samba.org
Wed Aug 8 13:01:58 GMT 2007


On Wed, Aug 08, 2007 at 10:39:32PM +1000, Andrew Bartlett wrote:
> 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.

You mean policy handle in libnet context (your recent commit
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi?rev=24127&view=rev) or
policy handle initialisation inside rpc server ?


cheers,
-- 
Rafal Szczesniak
Samba Team member  http://www.samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20070808/805d4fa7/attachment.bin


More information about the samba-technical mailing list