net rpc vampire performance

Stefan Gohmann gohmann at
Thu Jun 23 07:56:26 GMT 2005


attached the xml patch against plain 3.0.14a.  Let me know if you want a diff 
against 3.0.20pre1.

"net rpc vampire xml <xml filename> -S ..." write the vampired informations to 
a xml file.

I think it might be easy to cretae a ldif file from this xml output.

Any comments?

Stefan Gohmann

Am Donnerstag, 16. Juni 2005 10:27 schrieb Don Watson:
> 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.

Stefan Gohmann     <gohmann at>       fon: +49 421 22 232- 0
Entwicklung        Linux for Your Business
Univention GmbH     fax: +49 421 22 232-99
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net_rpc_samsync.diff
Type: text/x-diff
Size: 12237 bytes
Desc: not available
Url :

More information about the samba-technical mailing list