我正在尝试将以下条目添加到 LDAP。
dn: dc=testdomain,dc=in
dc: testdomain
objectClass: top
objectClass: domain
dn: ou=People,dc=testdomain,dc=in
ou: People
objectClass: top
objectClass: organizationalUnit
dn: ou=Group,dc=testdomain,dc=in
ou: Group
objectClass: top
objectClass: organizationalUnit
我收到错误:
adding new entry "dc=testdomain,dc=in"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #1 invalid per syntax