svn commit: samba r13378 - branches/SAMBA_3_0/source/rpcclient
trunk/source/rpcclient
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Feb 7 23:15:55 GMT 2006
On Wed, Feb 08, 2006 at 10:09:46AM +1100, Andrew Bartlett wrote:
> Can you point me at the code for that?
We've added a tdb for the share->index mapping so that
lp_load is not O(n^2) over the number of shares anymore. Or
was it even O(n^3)? See for example the function
hash_a_service().
But maybe that becomes less important with Jeremy's
usershare stuff that only enumerates shares on demand. The
servers I've seen with those silly share numbers had only a
very limited number of share types.
BTW, We might generalize that a bit, maybe we want to fetch
the user shares out of ldap or so. This might be a good
compromise: Do the core stuff in a file, and the day-to-day
administration in a directory.
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060208/688bc4fd/attachment.bin
More information about the samba-technical
mailing list