トップ «前の日記(2006-11-19 (Sun)) 最新 次の日記(2006-11-24 (Fri))» 編集

ふたつの川うるおう日記


2006-11-20 (Mon)

_ [Server][Admin][Project] smbldap-entry-tools-0.2 has been released

すごい久しぶりにPerl書いた。そして、やり方うる覚えだったけどSourceForge.netでリリース作業した。というわけで、smbldap-attributeというコマンドを追加して、smbldap-entry-tools-0.2をリリースしました。smbldap-attributeは、LDAPサーバ上の任意のエントリの属性と値を追加・編集・削除できるコマンドです。

-d    delete mode
-s    separate character (default ':')
-h,?  show this help message

add attribute and value (support multiple values):
  smbldap-attribute "uid=user1,dc=example,dc=com" "attribute:value"
  smbldap-attribute "uid=user1" "attribute:value"
  smbldap-attribute user1 "attribute:value"
  smbldap-attribute -s "_" "uid=user1,dc=example,dc=com" "attribute_value"

modify value:
  smbldap-attribute "uid=user1,dc=example,dc=com" "attribute:current:new"
  smbldap-attribute "uid=user1" "attribute:current:new"
  smbldap-attribute user1 "attribute:current:new"
  smbldap-attribute -s "/" user1 "attribute/current/new"

delete value:
  smbldap-attribute -d "uid=user1,dc=example,dc=com" "attribute:value"
  smbldap-attribute -d "uid=user1" "attribute"
  smbldap-attribute -d user1 "attribute"

このコマンドはある意味最強かも。なんで今まで作らなかったんだろうというぐらい(;´ー`)。

smbldap-attribute "cn=s2directory,ou=Groups" "description:/home/groups/sandbox/s2directory"

とか出来ちゃう。dc=seasar,dc=orgは補完されるので省略してOK。

| Bookmark:

_ [Java][Project] SVNKit

JavaSVNがSVNKitって名前に変わってた。

ディレクトリでJNDI APIいっぱい触ったけど、いまいちJNDIの詳細見てなかったのでメリットが良くわかってなかったり(汗。とりあえず、JNDIは無視してSVNKitいじくってます。僕のコード理解したり書く速度が遅いのであっという間に遅れてたり。

| Bookmark:

_ [大学] CyberAgentとmixiの企業セミナー

うちの学部向けでなんかやってたので見てきた。mixiの中の人が良いキャラでCyberAgentの中の人が霞んでたw。でも一番印象的だったのはHyper Estraierの中の人(写真)のはっちゃけ振りでした(゜ー゜)。あとは、CyberAgentの社内の椅子が岡本製作所のバロンのオレンジで僕が家で使ってるのと同じ椅子だったヽ(´ー`)ノ。でも、某G社のアーロンチェアに座らせてもらうとやっぱアーロンチェアの方が快適かもとたまに思う。

| Bookmark:
[]

| Return to page top | Vicuna CMS - WordPress Theme - Vicuna Ninja Style for tDiary |