LDAP-LDIF文件完全混乱

LDAP-LDIF文件完全混乱,ldap,freebsd,openldap,ldif,Ldap,Freebsd,Openldap,Ldif,有人能解释一下openldap上的LDIF文件的用途吗?这就是您设置数据库模式的方式吗?或者这就是在数据库中输入用户的方式?下面我有什么 dn:ou=people,dc=example,dc=org 对象类:top 对象类:organizationalUnit 欧:人 dn:uid=tuser,ou=people,dc=example,dc=org 对象类:person 对象类:posixAccount 对象类:shadowAccount 对象类:top UID号码:10000 电话号码:10

有人能解释一下openldap上的LDIF文件的用途吗?这就是您设置数据库模式的方式吗?或者这就是在数据库中输入用户的方式?下面我有什么

dn:ou=people,dc=example,dc=org
对象类:top
对象类:organizationalUnit
欧:人
dn:uid=tuser,ou=people,dc=example,dc=org
对象类:person
对象类:posixAccount
对象类:shadowAccount
对象类:top
UID号码:10000
电话号码:10000
home目录:/home/tuser
登录商店:/bin/csh
uid:tuser
cn:tuser
dn:ou=组,dc=示例,dc=组织
对象类:top
对象类:organizationalUnit
ou:小组
dn:cn=tuser,ou=groups,dc=example,dc=org
对象类:posixGroup
对象类:top
电话号码:10000

cn:tuser
LDIF代表LDAP数据交换格式,表示从LDAP目录服务器输入数据或导出数据的文本方式。在上面的例子中,这表示“dc=example,dc=com”域下用户和组的目录结构

这些数据必须遵守LDAP模式,该模式可能已经在服务器中定义,也可能没有定义(默认情况下,OpenLDAP中应该已经存在)