svn commit: samba r13378 - branches/SAMBA_3_0/source/rpcclient
trunk/source/rpcclient
simo
idra at samba.org
Tue Feb 7 23:20:43 GMT 2006
On Wed, 2006-02-08 at 00:15 +0100, Volker Lendecke wrote:
> 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.
In that case you may wont to get back form Attic the code I made to read
the conf from ldap. It can be already used the way you say as it works
like include files.
Simo.
--
Simo Sorce
Samba Team
email: idra at samba.org
http://samba.org/~idra
More information about the samba-technical
mailing list