pdbedit - Export to LDIF

Julius Enarusai enarusai at us.ibm.com
Wed Jun 2 18:32:28 GMT 2004

Anthony Liguori wrote:

> > The attached patch provides the abililty to export all users in tbdsam
> > to a LDIF file. More specifically, it adds two additional options, "-E
> > or --Export-ldif" and "-F or --ldiffilename" and exports all the 
> records
> > to the specified file in LDIF format, using the ldap user suffix from
> > smb.conf. If the filename option is not provided, it creates the ldif
> > file in /tmp directory. Any comments will be appreciated.
> How about changing --Export-ldif to --export-ldif[=FILE] (have it take 
> an optional file parameter).  If none is specified, it defaults to 
> standard output.

Actually, this seems to be a better alternative, since it only takes up 
one option instead of two. I'll re-submit a new patch, unless someone 

More information about the samba-technical mailing list