2007年12月30日日曜日

今年も手帳は高橋

今年使った手帳と同じものを使うことになるとは。 月毎にインデックスタブがあって、そこを開くと一ヶ月のカレンダー、次のページからは見開きで一週間分の時間が書かれた週間カレンダー。シンプルなんだけど使い勝手がいい。 今年は他のものを‥‥と色々と探してみたのだが、やっぱりこれがしっくり来る。シンプルだけど、よく考えられています。

Canonの最新プリンターにはLinux用ドライバも存在する

Macで使うためにキヤノン PIXUS MP610を買ってきた。

Macのドライバーを探してCanonのサイトを探しまわっていたら、なにげにLinux用ドライバが存在しているじゃありませんか。

中身を見てないのでアレだが、Macの印刷フレームワークがCUPSなので、Linux用ドライバがCUPSなのだとしたら、比較的低コストで提供できるのだろうな。

MP610はスキャナも付いた複合機なのだが、プリンターだけでなく、スキャナ用ドライバもあったりする。これはSANE用ドライバだろうか。

ウチにはSolarisをインストールしたマシンが一台あるが、そろそろSolarisに飽きてきた頃なので、Linuxを入れて実用的(Solarisは実用的じゃないのか)に使おうと計画しているところ。入れ直したらこのドライバを入れてみようかな。

2007年12月28日金曜日

Apacheでケータイの機能差を吸収するmod_ktai

こういう変換を行うHTTP Proxyタイプのアプライアンスとかあったけど、なるほどApacheにやらせるのは自然だね。
ちょっと調べたらオープンソースのやつもあった。

mod_chxjはオープンソースの携帯向けコンテンツ変換Apache2.0用モジュールであり、CHTML(DoCoMo i-Mode用CHTML3.0)で記述された文書や通常のHTMLで記述された文書を、アクセスに来た端末のUser-Agentヘッダを見て、それぞれの端末にあった形式に変換します。HTML文書に限らず、画像(jpg、gif、png)、絵文字についても、定義ファイルに従ってそれぞれのキャリアにあった絵文字に変換します。Cookie非対応端末、Refer非対応端末のために、Set-Cookie、CookieヘッダやRefererヘッダをシミュレートすることもできます(EXPERIMENTAL)。

ScribeFireを使ってみる

ScribeFireはFirefoxのアドオンとして実装されたblogエディタ。
このblogをホスティングしているbloggerにももちろん対応。

bloggerのエディタはAJAXを駆使したものでミタメは良いが、遅くて操作感はイマイチ。
投稿するのが段々おっくうになっていたのだが、これで投稿の頻度が増えるかな? :)

Macのソフトを色々買った

ビッグカメラで色々と。

プレゼンソフトのKeynote、ワープロのPages、表計算ソフトのNumbersという3つのソフトウェアがパックになったソフトウェア。ノートMacも買うかも知れないので5ライセンスあるファミリーパックを購入した。(11800円)

なかでもNumbersはとても使い勝手が良い。これのためだけにiWorkを買ったみたいなもん。一つのシートに、いくつも表を貼るという形式は表計算の革命と言っても良いんじゃなかろうか。

ちなみに定番のMicrosoft Officeは高いし、仕事でめちゃくちゃ使っているので仕事を想起させる。プライベートでは使いたくない。という理由で候補外。

OpenOffice.orgはX11アプリなのでクリップボードなどの使い勝手があまりよくないので候補外。

OpenOffie.orgのCocoa版NeoOfficeはGUIがJavaなのでAquaSKKでの入力ができないので候補外。

iSync(Macのアドレス帳やカレンダーをPDAや携帯と同期する仕組み)やBluetoothにも対応している携帯電話管理ソフトウェア。iCalがGoogleカレンダーに対応したら素敵なんだけどなぁ。

USBケーブルが付いて5180円。俺の携帯(Softbank 811SH)にはBluetoothが付いているので、たぶんUSBケーブルは使わないけど。

個人向け資産管理ソフトウェア。4080円。まだ先日インストールした試用版の試用日数が残っているが、高いものではないので、思いきって購入。

ミタメは大変地味だが、業務アプリ的な操作感は慣れるとなんだかんだで使い勝手は良い。

2007年7月29日日曜日

FKB8579を復活させる

FKB8579は当時HHKキラーとか言われていた、ぷらっとホームから出ていたキーボード。CtrlがAの隣にあるという素敵配列。使っていた当時はバリバリのLinux使いだったなぁ(遠い目 カイシャのPCのキーボードがあまりにアレなので、押入れから発掘。こいつにアーベルのPS/2→USB変換ケーブルを付けて使おうって魂胆。 当時ヘヴィスモーカーだったのもあってすごく汚れていたので、一通り掃除をしてみたのだけど、キートップ表面が黄色く変色しているのが取れない。キッチンハイターで漂白を試みたものの、これまたイマイチ。経年変化なんだろうなぁ。 で、カイシャのセキュアPCに繋いでみたら、キッチリ認識。よしよし。これで生産性アップである。

2007年7月15日日曜日

LDAPUXからOpenLDAPを使う

LDAPUXはUP-HXのLDAPクライアントツール。これを使うとHP-UXでLDAPを使った認証その他が出来るようになる。公式にはOpenLDAPには対応していない(Netscape DirectoryとActive Directoryに対応)が、以下のようなスキーマを作ってslapd.confからincludeしてあげれば、OpenLDAPをサーバとしても動作する。 この場合/opt/ldapux/config/setupを実行する際に、Netscape Directoryを選択する。 スキーマは以下のようにして生成したものを加工した。
cd /opt/ldapux/config/
strings create_profile_schema |grep -iE '^(attributetype|objectclass)
.+:' | sed 's/ypes:/ype/' | sed 's/lasses:/lass/'
スキーマの内容は以下のような感じ。
attributeType ( 1.3.18.0.2.4.1107 NAME 'printer-xri-supported' DESC 'The unordered list of XRI (extended resource identifiers) supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributeType ( 1.3.18.0.2.4.1108 NAME 'printer-aliases' DESC 'List of site-specific administrative names of this printer in addition to the value specified for printer-name.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1109 NAME 'printer-charset-configured' DESC 'The configured charset in which error and status messages will be generated (by default) by this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{63} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1110 NAME 'printer-job-priority-supported' DESC 'Indicates the number of job priority levels supported by this printer.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1111 NAME 'printer-job-k-octets-supported' DESC 'The maximum size in kilobytes (1,024 octets actually) incoming print job that this printer will accept.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1112 NAME 'printer-current-operator' DESC 'The identity of the current human operator responsible for operating this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1113 NAME 'printer-service-person' DESC 'The identity of the current human service person responsible for servicing this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1114 NAME 'printer-delivery-orientation-supported' DESC 'The possible delivery orientations of pages as they are printed and ejected from this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1115 NAME 'printer-stacking-order-supported' DESC 'The possible stacking order of pages as they are printed and ejected from this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1116 NAME 'printer-output-features-supported' DESC 'The possible output features supported by this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1117 NAME 'printer-media-local-supported' DESC 'Site-specific names of media supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} )
attributeType ( 1.3.18.0.2.4.1118 NAME 'printer-copies-supported' DESC 'The maximum number of copies of a document that may be printed as a single job on this printer.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1119 NAME 'printer-natural-language-configured' DESC 'The configured natural language in which error and status messages will be generated (by default) by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1120 NAME 'printer-print-quality-supported' DESC 'List of print qualities supported for printing documents on this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1121 NAME 'printer-resolution-supported' DESC 'List of resolutions supported for printing documents by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} )
attributeType ( 1.3.18.0.2.4.1122 NAME 'printer-media-supported' DESC 'The standard names/types/sizes (and optional color suffixes) of the media supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} )
attributeType ( 1.3.18.0.2.4.1123 NAME 'printer-sides-supported' DESC 'The number of impression sides (one or two) and the two-sided impression rotations supported by this printer.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1124 NAME 'printer-number-up-supported' DESC 'The possible numbers of print-stream pages to impose upon a single side of an instance of a selected medium.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributeType ( 1.3.18.0.2.4.1125 NAME 'printer-finishings-supported' DESC 'The possible finishing operations supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} )
attributeType ( 1.3.18.0.2.4.1126 NAME 'printer-pages-per-minute-color' DESC 'The nominal number of color pages per minute which may be output by this printer.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1127 NAME 'printer-pages-per-minute' DESC 'The nominal number of pages per minute which may be output by this printer.' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1128 NAME 'printer-compression-supported' DESC 'Compression algorithms supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} )
attributeType ( 1.3.18.0.2.4.1129 NAME 'printer-color-supported' DESC 'Indicates whether this printer is capable of any type of color printing at all, including highlight color.' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1130 NAME 'printer-document-format-supported' DESC 'The possible source document formats which may be interpreted and printed by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1131 NAME 'printer-charset-supported' DESC 'Set of charsets supported for the attribute values of syntax DirectoryString for this directory entry.' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{63} )
attributeType ( 1.3.18.0.2.4.1132 NAME 'printer-multiple-document-jobs-supported' DESC 'Indicates whether or not this printer supports more than one document per job.' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1133 NAME 'printer-ipp-versions-supported' DESC 'IPP protocol version(s) that this printer supports.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} )
attributeType ( 1.3.18.0.2.4.1134 NAME 'printer-more-info' DESC 'A URI for more information about this specific printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1135 NAME 'printer-name' DESC 'The site-specific administrative name of this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1136 NAME 'printer-location' DESC 'The physical location of this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1137 NAME 'printer-generated-natural-language-supported' DESC 'Natural language(s) supported for this directory entry.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{63} )
attributeType ( 1.3.18.0.2.4.1138 NAME 'printer-make-and-model' DESC 'Make and model of this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1139 NAME 'printer-info' DESC 'Descriptive information about this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{127} SINGLE-VALUE )
attributeType ( 1.3.18.0.2.4.1140 NAME 'printer-uri' DESC 'A URI supported by this printer.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.1.1.1.28 NAME 'nisPublicKey' DESC 'NIS public key' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
attributetype ( 1.3.6.1.1.1.1.29 NAME 'nisSecretKey' DESC 'NIS secret key' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE )
attributetype ( 1.3.6.1.1.1.1.31 NAME 'automountMapName' DESC 'automount Map Name' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.1.1.1.32 NAME 'automountKey' DESC 'Automount Key value' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.1.1.1.33 NAME 'automountInformation' DESC 'Automount information' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.0 NAME 'defaultserverlist' DESC 'Default LDAP server host address used by a DUA' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.1 NAME 'defaultsearchbase' DESC 'Default LDAP base DN used by a DUA' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.10 NAME 'credentiallevel' DESC 'Identifies type of credentials a DUA should use when binding to the LDAP server' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.11 NAME 'objectclassmap' DESC 'Objectclass mappings used by a DUA' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.12 NAME 'defaultSearchScope' DESC 'Default search scope used by a DUA' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.13 NAME 'servicecredentiallevel' DESC 'Identifies type of credentials a DUA should use when binding to the LDAP server for a specific service' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.14 NAME 'servicesearchdescriptor' DESC 'LDAP search descriptor list used by DUA' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.15 NAME 'serviceauthenticationmethod' DESC 'Authentication method used by a service of the DUA' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.2 NAME 'preferredserverlist' DESC 'Preferred LDAP server host addresses to be used by a DUA' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.3 NAME 'searchtimelimit' DESC 'Maximum time in seconds a DUA should allow for a search to complete' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.4 NAME 'bindtimelimit' DESC 'Maximum time in seconds a DUA should allow for the bind operation to complete' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.5 NAME 'followreferrals' DESC 'Tells DUA if it should follow referrals returned by a DSA search result' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.6 NAME 'authenticationmethod' DESC 'A keystring which identifies the type of authentication method used to contact the DSA' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.7 NAME 'profilettl' DESC 'Time to live, in seconds, before a client DUA should re-read this configuration profile' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.11.1.3.1.1.9 NAME 'attributemap' DESC 'Attribute mappings used by a DUA' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

objectClass ( 1.3.18.0.2.6.258 NAME 'printerAbstract' DESC 'Printer related information.' ABSTRACT SUP top MAY ( printer-name $ printer-natural-language-configured $ printer-location $ printer-info $ printer-more-info $ printer-make-and-model $ printer-multiple-document-jobs-supported $ printer-charset-configured $ printer-charset-supported $ printer-generated-natural-language-supported $ printer-document-format-supported $ printer-color-supported $ printer-compression-supported $ printer-pages-per-minute $ printer-pages-per-minute-color $ printer-finishings-supported $ printer-number-up-supported $ printer-sides-supported $ printer-media-supported $ printer-media-local-supported $ printer-resolution-supported $ printer-print-quality-supported $ printer-job-priority-supported $ printer-copies-supported $ printer-job-k-octets-supported $ printer-current-operator $ printer-service-person $ printer-delivery-orientation-supported $ printer-stacking-order-supported $ printer-output-features-supported ) )
objectClass ( 1.3.18.0.2.6.253 NAME 'printerLPR' DESC 'LPR information.' AUXILIARY SUP top MUST ( printer-name ) MAY ( printer-aliases ) )
objectClass ( 1.3.18.0.2.6.255 NAME 'printerService' DESC 'Printer information.' STRUCTURAL SUP printerAbstract MAY ( printer-uri $ printer-xri-supported ) )
objectClass ( 1.3.18.0.2.6.256 NAME 'printerIPP' DESC 'Internet Printing Protocol (IPP) information.' AUXILIARY SUP top MAY ( printer-ipp-versions-supported $ printer-multiple-document-jobs-supported ) )
objectClass ( 1.3.18.0.2.6.257 NAME 'printerServiceAuxClass' DESC 'Printer information.' AUXILIARY SUP printerAbstract MAY ( printer-uri $ printer-xri-supported ) )
objectclass ( 1.3.6.1.1.1.2.14 NAME 'nisKeyObject' DESC 'An object with a public and secret key' SUP top AUXILIARY MUST ( cn $ nisPublicKey $ nisSecretKey ) MAY ( uidNumber $ description ) )
objectclass ( 1.3.6.1.1.1.2.16 NAME 'automountMap' DESC 'Automount Map information' SUP top STRUCTURAL MUST ( automountMapName ) MAY ( description ) )
objectclass ( 1.3.6.1.1.1.2.17 NAME 'automount' DESC 'Automount information' SUP top STRUCTURAL MUST ( automountKey $ automountInformation ) MAY ( description ) )
objectclass ( 1.3.6.1.4.1.11.1.3.1.2.4 NAME 'DUAConfigprofile' SUP top STRUCTURAL DESC 'Abstraction of a base configuration for a DUA' MUST ( cn ) MAY ( defaultServerList $ preferredServerList $ defaultSearchBase $ defaultSearchScope $ searchTimeLimit $ bindTimeLimit $ credentialLevel $ authenticationMethod $ followReferrals $ serviceSearchDescriptor $ servicecredentialLevel $ serviceauthenticationMethod $ objectclassmap $ attributeMap $ profileTTL ) )
なおLinuxとアカウントを共有する場合、ログインシェルに気をつける必要がある。Linuxの場合、たいてい/bin/bashになっていて、HP-UXは/sbin/shになっている。片方ではログインできて、片方ではログインできない場合は、シェルを疑ってみよう。

2007年3月30日金曜日

OSSのサーバ監視ソフトウェア

いろいろ見て回ったところ、hinemosとNagios以外だと以下のようなソフトウェアが人気のようだ。 OpenNMSはJavaで書かれた監視ソフトウェア。OSを問わないのがメリットかな。Zabbixはラトビアの会社が作っているソフトウェア(でもGPL)。PHPを使ったWebインタフェースで、簡単に操作できるところが売り……ってところかな。 どれも統合管理ソフトウェアといった趣で、(hinemosにいたってはJP1/AJSのようなジョブ管理までしてしまう)Nagiosのようなサービス監視ソフトウェアの気分で導入すると、かえって難しいことになってしまうような感じだなぁ。

サーバ監視ソフトウェア

そろそろやろうかなぁってことで、定番のNagiosを試そうとamazonで本を注文したのだけど、タイムリーなニュース。 Open Tech Press | NTTデータ、OSSサーバ監視ソフト「Hinemos」のパートナー制度を開始 デモを見たところ、日立のJP1のようなかなり本格的な製品という感じ。これも試してみるか。

2007年2月12日月曜日

MP3ファイルをクリックしても再生してくれないfirefox

MP3ファイルをクリックしたとき、IEではQuickTimeプラグインがいい感じに動作してくれて、ストリーミング再生してくれるのだけど、firefoxではダウンロードダイアログ(?)が出てくる。なんとも無粋。 この差は何なのだろうと、firefoxのプロファイルディレクトリをmpegとかでgrepしていたらprefs.jsに以下のような記述があるのを発見した。 user_pref("plugin.disable_full_page_plugin_for_types", "audio/mpeg,"); この行を消すと、IEと同じように画面の中にプレイヤーが表示され、ストリーミング再生してくれるようになった……のだが、そもそもこの設定を入れたのは誰なのだろう。俺か? いやそんな記憶はないぞ。

2007年1月14日日曜日

sambaをUTF-8で使う

Sambaのunix charsetはLinuxでの生活を考えてEUC-JPにしていたのだが、ウチからLinuxなクライアントマシンが居なくなってしまったのと、イマドキのLinuxはフツーja_JP.UTF-8でしょ? ってことでUTF-8にすることした。 やることは二つ
  • smb.confのunix charsetをUTF-8に書き換える
  • すでに保存されているファイル名をEUC-JPからUTF8に変換する。
ファイル名の変換にはconvmvを使った。以下のようにして使うと、再帰的にディレクトリをもぐっていって、ファイル名を変換してくれる。ファイル名に変な記号が入っていても変換してくれたので、変換精度は割と良いのじゃなかろうか。 convmv --notest -f euc-jp -t utf8 -r * 余談だけど、PREタグを使うと、空行の開き具合が大きい気がするな。

2007年1月8日月曜日

Googleのサービスあれこれ

このブログを動かしているootsuka.jpではGoogle アプリ 独自ドメイン向けというサービスを申し込んでいる。メールやカレンダー、ウェブページの作成をドメインごとにホスティングする、よくあるサービスなのだが、おなじみのgmailやGoogle Calenderが使えるのがうれしい点。家族が使っているメールはこちらに移行してしまった。 そしてブログもBloggerでホスティング。えー、このブログはBloggerのカスタムドメイン機能を使ってBloggerで書いているのでした。もうすっかりGoogle依存。(欲を言えばPicasaと連携してくれればねぇ) どちらのサービスもDNSをいじるだけで設定できるので、自分で管理しなければいけないサービスはDNSのみ。DNSだってドメイン屋がよく出来たUIとセットで売っていると聞くので、独自ドメインの維持なんて本当に簡単になったものだと思う。 Googleはこんなサービスをただ売りしてよいのかと心配になるのだけど、Googleが売っているものはサービスなのではなくて、このサービス使っているユーザー(つまり我々)を多数保持することの価値(その実態はよくわからんけど)なんじゃないかと考えれば腑に落ちる。なんか気持ち悪いがWin-Winなので気にしない。

ham.ku3g.orgのM/Bを交換してきた

ウチのデスクトップマシンで使用していたM/Bをもって行って交換した。ようやく安定して動くようになった感じ。Celeron800MHzがAthlon (Thunderbird) 1GHz になったので微妙にパワーアップ? で、ウチにはデスクトップPCがなくなってしまったのだがどうしよう。 ばらしたデスクトップ、WindowsをインストールしてDTMマシンとして使っていたものなのだが、最近はノートPCにインストールしたReasonをいじる程度で満足しているので、あまり困っていないと言えば困っていない……から良いか。

ham.ku3g.orgが致命的に調子が悪い件

このところずっと調子の悪いham.ku3g.orgだが、先日その様子を見に行った。 M/Bのコンデンサが腫れている!! コンデンサが腫れている状況というのは、どういう状況なのかよくわからないが、ともかくあまり良い状況ではないような気がする。そんな祝日の午後。あぁどうしようかな。M/B交換しに行こうかな。