net rpc vampire performance

Don Watson dwwatson at us.ibm.com
Thu Jun 16 08:27:11 GMT 2005


Hi,

Attached is a patch to help improve vampire performance.  It works by writing 
the vampired information to a file in the form of ldap adds and mods.  Using 
the data in this file, ldif files can be created against which ldapadd and 
ldapmodify can be run to create the ldap database for the Samba PDC.

Using this technique, it is not necessary to pre-populate the ldap database 
with smbldap-populate.  The code takes care of the initial population.

The code is activated with the command "net rpc vampire ldif <output filename> 
-S <existing domain machine> -U <domain admin%domain passwd>".

Note that this code could be modified to create output in any desired format, 
such as XML.

Let me know what you think.
-- 
Don Watson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vampire_perf.patch
Type: text/x-diff
Size: 34842 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050616/44e9ace0/vampire_perf.bin


More information about the samba-technical mailing list