Chinaunix

标题: 请问LDAP中,怎样在schem中增加一个新的属性? [打印本页]

作者: moqing2008    时间: 2007-12-12 11:41
标题: 请问LDAP中,怎样在schem中增加一个新的属性?
不好意思,又麻烦各位了!

想作成test.ldif

dn: uid=ldap11,ou=Users,dc=hello,dc=local
objectClass: person
objectClass: inetOrgPerson
sn: qq
cn: qq
xxx: 0411  -----------------------------------此属性怎样在SCHEME中定义???
uid: ldap11


高人能否指点一下,怎样在schema中增加 “xxx”  属性,在导入test.ldif后,服务器不抱错。

谢谢各位,小弟实在是着急!!!
作者: forxy    时间: 2008-01-03 00:04
参考core.schema中属性的写法
作者: tiamos    时间: 2008-01-09 10:12
新加的attribute的格式和其他schema是一样
但是你要弄清楚 OID 和syntax 才能比较好的定义一个attribute




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2