pdbedit - Export to LDIF

Alexander Bokovoy ab at samba.org
Wed Jun 2 16:50:33 GMT 2004

On Wed, Jun 02, 2004 at 12:19:17PM -0400, Julius Enarusai 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.
Why in /tmp? Would stdout be a better target?

/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/

More information about the samba-technical mailing list