比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

uiduserPasswordoueduPersonAffiliation
testuid4test004testpw4test004technologystudent

1. ldifファイル(sample1.ldif)の作成

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
dn: ou=technology,o=test_o,dc=ac,c=JP
objectClass: organizationalUnit
ou: technology

# 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  

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
# ldapadd -x -h localhost -D "cn=olmgr,o=test_o,dc=ac,c=JP" -w csildap -f sample1.ldif

 

...


...

属性の追加方法

利用者に「displayName」属性を追加する例を示します。

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
dn: uid=testuid4test004,ou=technology,o=test_o,dc=ac,c=JP
changetype: modify
add: displayName
displayName: Test4

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
# ldapmodify -x -h localhost -D "cn=olmgr,o=test_o,dc=ac,c=JP" -w csildap -f sample2.ldif

...

 

...

属性のリリース方法

先に追加した「displayName」属性をSPへリリースする例を示します。

...