Operating System - HP-UX
1833875 Members
1649 Online
110063 Solutions
New Discussion

unicode_map.xxxx does not exist

 
SOLVED
Go to solution
Jeroen_D
Regular Advisor

unicode_map.xxxx does not exist

Hi,

after installing Samba 2.2.3a I see these errors in the
/var/opt/samba/log.smbd-file.

I installed Samba on HP-UX 11.0 and have domain security enabled.
I can access my shares and everything seems to work just fine, but why do I
get those errors ? The files they refer to exist although the error says
they don't.


[2002/04/23 16:15:55, 0] lib/util_unistr.c:(582)

load_unicode_map: filename /opt/samba/lib/codepages/unicode_map.850 does
not exist.

[2002/04/23 16:15:55, 0] lib/util_unistr.c:(582)

load_unicode_map: filename /opt/samba/lib/codepages/unicode_map.ISO8859-1
does not exist.

Anyone an idea ?

Thanks in advance,

Jeroen.
8 REPLIES 8
hpuxrox
Respected Contributor

Re: unicode_map.xxxx does not exist

What userid is running smbd and nmbd?
The reason I ask is it could be permissions on the files.

Peace....
Jeff Schussele
Honored Contributor

Re: unicode_map.xxxx does not exist

Hi Jeroen,

These appear to be errors due to the Codepage or char map the particular Windows clients are announcing when they access the share. Samba is looking for the map file & cannot find it.
If the users are not complaining about it, they can be ignored. Else the client(s) will have to set a codepage Samba knows before they connect.
Check the dir the error msg references to see just what codepages it does know.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeroen_D
Regular Advisor

Re: unicode_map.xxxx does not exist

Hi,

the smbd and nmbd are running in the root-context as shown by ps -ef | grep mbd
I have done a chmod 777 on the files in the codepages directory but still the same error.

I have these files in the /opt/samba/lib/codepages-dir :

hpc160-2:/opt/samba/lib/codepages # ll
total 24
-rwxrwxrwx 1 root sys 196 Apr 18 14:14 codepage.437
-rwxrwxrwx 1 root sys 148 Apr 18 14:14 codepage.737
-rwxrwxrwx 1 root sys 388 Apr 18 14:14 codepage.775
-rwxrwxrwx 1 root sys 132 Apr 18 14:14 codepage.850
-rwxrwxrwx 1 root sys 172 Apr 18 14:14 codepage.852
-rwxrwxrwx 1 root sys 132 Apr 18 14:14 codepage.857
-rwxrwxrwx 1 root sys 460 Apr 18 14:14 codepage.861
-rwxrwxrwx 1 root sys 588 Apr 18 14:14 codepage.866
-rwxrwxrwx 1 root sys 8 Apr 18 14:14 codepage.932
-rwxrwxrwx 1 root sys 8 Apr 18 14:14 codepage.936
-rwxrwxrwx 1 root sys 8 Apr 18 14:14 codepage.949
-rwxrwxrwx 1 root sys 8 Apr 18 14:14 codepage.950
hpc160-2:/opt/samba/lib/codepages #

They came with Samba....I find it quite weird that the most used codepages (every Samba I've installed lacks em) aren't there. Most of the time our clients are Win2k's.
This is the latest version : 2.2.3a but I had these errors on previous versions too.

The users aren't complaining so I guess I can leave the error as it is....

Jeroen.
Jeff Schussele
Honored Contributor

Re: unicode_map.xxxx does not exist

 
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeroen_D
Regular Advisor

Re: unicode_map.xxxx does not exist

Hi,

thanks for looking up the info.
I tried with the server security setting and had the
same error.

I also did a "chcp" on my PC and found out I needed 437 :
C:\>chcp
Active code page: 437

I changed the smb.conf but then I had this error :

[2002/04/25 15:58:24, 0] lib/util_unistr.c:(582)
load_unicode_map: filename /opt/samba/lib/codepages/unicode_map.437 does not e
xist.
[2002/04/25 15:58:24, 0] lib/util_unistr.c:(582)
load_unicode_map: filename /opt/samba/lib/codepages/unicode_map.ISO8859-1 does
not exist.

Apparently Samba still wants to see ISO8859-1 which requires codepages 850.

The users don't have problems but this "problem" is weird. Am I truly the only one who is experiencing this ?

Thanks for all the help,
Jeroen.
Mahmood Akhtar
New Member

Re: unicode_map.xxxx does not exist

I installed Samba on HP-UX 11.0.I can not access my shares from Windows NT/2000 client but on Unix client I can see. I have added all my clients in smb.conf file.

I am getting following errors.


[2002/04/23 16:15:55, 0] lib/util_unistr.c:(582)

load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does
not exist.

[2002/04/23 16:15:55, 0] lib/util_unistr.c:(582)

load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1
does not exist.

Anyone an idea ?

Thanks in advance,

Mahmood
Rodney Hills
Honored Contributor
Solution

Re: unicode_map.xxxx does not exist

I know this kind of an old thread, but I recently installed samba 2.2.5 on hpux11i and received the same unicode messages.

To get the unicodes I did the following-

I restored a copy of the source for samba 2.2.5

I put a copy of samba2.2.5/source/codepages to a linux system.

I ran "make_unicodemap" on each of the CP*.TXT files to create each unicode_map.### file.

I copied the unicode_map.### files to /usr/local/samba/lib/codepages.

Now the warnings have gone away...


I have attached a .tgz file with this reply of the "compiled" unicode_map files.

Hope this can help someone else dealing with samba.

-- Rod Hills
There be dragons...
Jeroen_D
Regular Advisor

Re: unicode_map.xxxx does not exist

Thanks Rodney,

unfortunately I can't get the attachment (I get an error from ITRC).

Apparently, those people who created the binary packages that we can download from the samba-site didn't do their job very well. hmz..."job", guess I should say "spare time". Luckily the error isn't bad and does not interrupt the most important function of Samba. That is : file sharing.

You do not need to repost the files for me, since I'll get the errors with every new version imho. I'm just glad I now know why I got them.

Best regards,
Jeroen.