- 论坛徽章:
- 0
|
试了好几天了,也用了好几种办法,就是不行呢,大家快点儿帮忙解决吧,谢谢了!!!
我现在是删除我自己的原来的信息,完全按照在网上找到的向导来安装的,但是还是报错,请大家帮着看看。
[root@sapcont openldap]# vi example02-1.ldif.utf8
#set name
dn: cn=zhou,ou=hr,ou=unit,ou=company,dc=l-penguin,dc=idv,dc=tw
cn: zhou
sn: zh
objectclass: person
objectclass: inetOrgPerson
givenName: zhou
mail: c293831287@l-penguin.idv.tw
telephoneNumber: 02-29587572
mobile: 0939689593
postalAddress: taiwanshi
postalCode: 235
ou: banshiyuan
但在添加的时候还是报错:
[root@sapcont openldap]# ldapmodify -D "cn=Manager,dc=l-penguin,dc=idv,dc=tw" -w 111111 -x -a -f example02-1.ldif.utf8
adding new entry "cn=zhou,ou=hr,ou=unit,ou=company,dc=l-penguin,dc=idv,dc=tw"
ldap_add: Invalid syntax (21)
additional info: objectclass: value #1 invalid per syntax
原来的example02-1.ldif.utf8 里面有中文,转换成utf-8后,我添加完以后报错,后来我把中文全换成英文了,添加也报错,我要疯了!!
[ 本帖最后由 chinadjzh 于 2008-8-25 09:19 编辑 ] |
|