PANIC: assert failed rpc_parse/parse_net.c

Gordon Butt gordon at edam.demon.co.uk
Sat Sep 16 22:09:52 GMT 2000


David,

Traced the above PANIC to a define:-

    ./include/nterr.h:   #define NT_STATUS_NO_SUCH_PRIVILEGE (96)

The 96 was the entry allocation for the number of NT groups a single user could
belong to.

The failing users had around 105-130 groups..... the apps used by each user are
controlled by these NT groups.

Setting it to1000 didn't seem to change the size of the running program....But
fixed the problem.

Regards

Gordon

Gordon Butt wrote:

> I did some experimentation today and found it wasn't the number of secondary
> Unix groups causing this effect, but that of the NT groups the user was a
> member of.
>
> Server affected was 2.0.7 with NT authentication ( security = domain).
>
> It seems that 2.0.4b (the other server version I have access to) does not
> panic, it just fails to connect.
>
> Users in more than 80 NT groups are affected.
>
> Now I need a fix for the parse_net.c! Unless someone else has another way
> round this problem?
>
> Gordon
>
> Gordon Butt wrote:
>
> > It was a site build,  not a binary.
> >
> > A recomple could prove something though... I'll try it and come back.
> >
> > Thanks
> >
> > Gordon Butt
> >
> > David Collier-Brown wrote:
> >
> > > You asked:
> > > --
> > > Has anyone come across the above in 2.0.7 in a Solaris/Sunos
> > > environment.
> > >
> > > The result is that certain users cann't map drives.
> > >
> > > Thought it might be something specifc to this version and the user
> > > being
> > > a secondary member of a large group (not netgroups)...
> > > --
> > >
> > >         Doesn't happen on my 2.0.7 system: I looked
> > >         at the source, and the code that's failing is
> > >                 SMB_ASSERT_ARRAY(a,n)
> > >         which is
> > >                 SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
> > >
> > >         This looks like a smashed pointer or compilation
> > >         error...  Are you using a precompiles version, or
> > >         did you build it yourself?
> > >
> > > --dave
> > > --
> > > David Collier-Brown,  | Always do right. This will gratify some people
> > > 185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
> > > Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
> > > Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com





More information about the samba mailing list