LDAP-SCHEMA-MANAGER(1) | Schema2ldif Documentation | LDAP-SCHEMA-MANAGER(1) |
ldap-schema-manager - manage schema to be inserted into in openldap server in cn=config mode
ldap-schema-manager [-y] [-n] [-c] [-o options] [path] [-h|-l|-i schema1 schema2|-m schema1 schema2|-e schema1 schema2]
This program will list, insert, empty or modify the ldap schemas into an openldap server in cn=config mode. If a schema is not listed as a path, it will be searched for in the provided path, or in /etc/ldap/schema/ if no path has been provided. To insert schemas from working directory prepend them with "./". Schema with no extension is assumed to be .ldif. Specify .schema if you want the tool to autoconvert the schema to ldif file. See the examples for more information
admin@ldapserver$ ldap-schema-manager -i /etc/ldap/otherschema/myschema.ldif Insert the schema /etc/ldap/otherschema/myschema.ldif admin@ldapserver$ ldap-schema-manager -i /etc/ldap/otherschema/myschema.schema Convert /etc/ldap/otherschema/myschema.schema to ldif and insert it admin@ldapserver$ ldap-schema-manager -i myschema Insert the schema myschema.ldif from default directory (/etc/ldap/schema/) admin@ldapserver$ ldap-schema-manager -i myschema.schema Insert the schema myschema.schema from default directory (/etc/ldap/schema/) admin@ldapserver$ ldap-schema-manager -m /etc/ldap/otherschema/myschema.schema Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one admin@ldapserver$ ldap-schema-manager -e myschema Empty the schema myschema admin@ldapserver$ ldap-schema-manager -o "-H ldap://my.ldap.com -ZZ -D 'cn=admin,cn=config' -w password -x" -l Connect to another ldap server and list schemas
Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to <https://forge.fusiondirectory.org/projects/fdirectory/issues/new>
Come Bernigaud
This code is part of FusionDirectory <http://www.fusiondirectory.org>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
2017-04-19 | Schema2ldif 1.3 |