1.新增上传.schema文件之前,需要先新增.ldif文件,定义好根路径名称如wanda.ldif,并上传到/openldap/openldap2.3.43/libexec下
这个网上方式很多,也可以通过客户端直接创建。
2.进入正题,本机创建一个.schema文件,并编辑内容。
# inetstaff.schema -- InetOrgPerson (RFC2798)
# $OpenLDAP: pkg/ldap/servers/slapd/schema/inetorgperson.schema,v 1.16.2.4 2008/02/11 23:24:26 kurt Exp $
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2008 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
#
# Inetstaff (RFC2798)
#
# Depends upon