...
uid | userPassword | ou | eduPersonAffiliation |
---|---|---|---|
testuid4test004 | testpw4test004 | technology | student |
1. ldifファイル(sample1.ldif)の作成
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
dn: ou=technology,o=test_o,dc=ac,c=JP # testuid4test004, technology, test_o, ac, JP dn: uid=testuid4test004,ou=technology,o=test_o,dc=ac,c=JP objectClass: eduPerson objectClass: inetOrgPerson ou: technology sn: test_sn_4 cn: test_cn_4 uid: testuid4test004 userPassword: testpw4test004 eduPersonAffiliation: student |
...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# ldapadd -x -h localhost -D "cn=olmgr,o=test_o,dc=ac,c=JP" -w csildap -f sample1.ldif |
...
...
属性の追加方法
利用者に「displayName」属性を追加する例を示します。
...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
dn: uid=testuid4test004,ou=technology,o=test_o,dc=ac,c=JP changetype: modify add: displayName displayName: Test4 |
...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# ldapmodify -x -h localhost -D "cn=olmgr,o=test_o,dc=ac,c=JP" -w csildap -f sample2.ldif |
...
...
属性のリリース方法
先に追加した「displayName」属性をSPへリリースする例を示します。
...