Pixel Pedals of Tomakomai

北海道苫小牧市出身の初老の日常

Net::LDAPを再び使う

Net::LDAPを久しぶりに使う。bindした後には必ずunbindするべきなのかとばっかり思っていたら、podによると



If you wish to switch to another set of credentials while continuing to use the same connection, re-binding with another DN and password, without unbind-ing, will generally work.





だそうな。new, bind, bind, bind, ..., bind, unbind って使い方が推奨なのか。



それはそうと、久しぶりに何にも縛られずに自由に組むと楽しいね〜。この仕事って、昔はこんなに楽しかったんだ(爆)。