net rpc vampire performance

Don Watson dwwatson at
Fri Jun 24 08:13:58 GMT 2005

Hi John,

Attached is a patch which I think addresses the segfaults you found.  I have 
re-written the group/account mapping code.

I'm looking at what to do about the suffix checks.  I want to be sure removing 
the checks does not have bad effects later.

Let me know how this patch works.

On Monday 20 June 2005 14:11, you wrote:
> Don -
> I'm testing this patch for use at a customer environment where I have 3
> domains to migrate each with about 25000 users.  Right now the net command
> segfaults with your patch because the RIDs in this domain are larger than
> the number of entries you are allocating for the groupmap array.  I don't
> have time to fix this properly now so I just set the number of entries to
> allocate to be one larger than the maximum RID in the domain.
> I also had to comment out the check for the ldap idmap suffix because the
> domain controllers are not storing an idmap in ldap.
> Let me know if you want any more info on the segfaults.
> Thanks,
> John Janosik
> IBM Global Services Unix & Intel Servers
> Rochester, MN
> (507)253-6790 t/l: 553-6790
> jpjanosi at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vampire_perf.patch.Jun23
Type: text/x-diff
Size: 36404 bytes
Desc: not available
Url :

More information about the samba-technical mailing list