schema2ad.pl -- convert standard LDAP schema into a format that AD can digest
schema2ad.pl schema-file AD-schema-file
schema2ad.pl parses the contents of the schema file schema-file, converts them to Active Directory / Active Directory Application Mode / Active Directory Lightweight Directory Service compatible format, and writes the result to AD-schema-file.
schema2ad.pl takes two arguments:
Input file in LDIF format containing a schema entry with its attributeTypes and objectClasses attributes, as e.g. returned by Net::LDAP::Schema's dump() method.
Output file holding the generated AD compatible schema.
Peter Marschall <peter@adpm.de>
Copyright (c) 2012-2015 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::LDAP
CPAN shell
perl -MCPAN -e shell install Net::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.