I have actually seen similar questions to this in mulitple places, but no answers so I thought I'd try here. Here's the deal - I'm running a minimal version of samba which consists of only smbclient and smb.conf to do some limited queries. Specifically I'm trying to get a lists of shares on another system. Anyhow, this works fine most of the time but on rare occasions I get the error: load_client_codepage: filename /usr/local/samba/lib/codepages/codepage.850 does not exist. load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does not exist. added interface ip=10.16.7.3 bcast=10.16.7.255 nmask=255.255.252.0 added interface ip=192.168.100.2 bcast=192.168.100.255 nmask=255.255.255.0 session request to 10.15.100.10 failed (Error: Unknown error (7,0)) session request to 10 failed (Error: Unknown error (7,0)) The part that puzzles me is if this is a needed file, how could this ever work? On the other hand it would appear it's only needed occasionally and that's what is biting me. Could someone explain the conditions under which this is needed so I can try to avoid it OR better yet tell if there is some other command I could use that would accomplish the same thing without the codepages. The command I'm executing is: smbclient -s ./smb.conf -N -L address -mark
On Wed, 17 Apr 2002, Mark Seger wrote:> I have actually seen similar questions to this in mulitple places, but > no answers so I thought I'd try here. > > Here's the deal - I'm running a minimal version of samba which consists > of only smbclient and smb.conf to do some limited queries. SpecificallySo why not add these to /usr/local/samba/lib/codepages codepage.850 unicode_map.850 unicode_map.ISO8859-1 ?> The part that puzzles me is if this is a needed file, how could this > ever work? On the other hand it would appear it's only needed > occasionally and that's what is biting me.The codepage would be needed to translate any non us-ascii characters. So some server/share names might work without it some not. But it shouldn't be requested unless you have specified it in your smb.conf. OTOH, how do you know the failure is related to those error messages?> smbclient -s ./smb.conf -N -L addressIf 'address' is an ip number, then I don't see why it would fail. /Urban