[samba-jp:21999] 【質問】AIXにおけるsambaの文字コード設定について

Masataka Taguchi TAGUCHIM @ jp.ibm.com
2013年 6月 3日 (月) 14:50:36 JST


AIXにおけるSambaの文字コード設定について教えてください。

現在下記バージョンのAIXおよびsamba(expansion packに同梱)を使用しておりま
す。

AIX:7100-01-05-1228(oslevel -sの出力結果)
samba.base    3.3.12.0
bos.iconv.com  7.1.1.15

ここで、sambaの文字コードをデフォルトの「UTF-8」から「SJIS」へ変換しようと
思い、
/usr/lib/smb.comfファイルの[global]セクションに下記3行を追加しました。

unix charset = IBM-943 
dos charset = IBM-943 
display charset = IBM-943 

その後sambaを再起動したところ、下記のワーニングが出力されました。

init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to ASCII not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to ASCII not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from ASCII to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from ASCII to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to ASCII not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from ASCII to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from ASCII to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to ASCII not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from UTF-16LE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from IBM-943 to UTF-16LE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE   
 
init_iconv: Conversion from IBM-943 to UTF8 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from IBM-943 to UTF-16BE not supported  
init_iconv: Attempting to replace with conversion from ASCII to UTF-16BE   
 
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF8 to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from ASCII to ASCII   
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
init_iconv: Conversion from UTF-16BE to IBM-943 not supported  
init_iconv: Attempting to replace with conversion from UTF-16BE to ASCII   
 
 

※IBM-943部分を「CP932」に変えても状況は変わりませんでした。 


この状態でWINDOWS(SJIS)からファイル作成すると、ファイル名が文字化けしてし
まいます。

こちらの原因につきまして、どのようなことが考えられますでしょうか。(現在の
sambaのバージョンではSJIS変換はサポートされていないのでしょうか)

ご回答をどうぞよろしくお願いいたします。


samba-jp メーリングリストの案内