Hello everyone, I am a newbie to samba. I am trying to mount a Windows 2000 share directory on my linux box using smbmount. I am able to do so successfully. But I do see some errors pop up when I run the command. My mount seems to be stable and it is mounted as rw. # smbmount "//EngineerWKS85/My Drivers" /mnt/samba -o username=MyUsername,password=MyPassword,workgroup=MyWorkgroup params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf": No such file or directory Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it 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. load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 does not exist. smbfs: failed to load nls 'iso8859-1' Why do I need smb.conf file???? Is there no way I can override it? How do I get those codepage files in? What is the message on nls??? Any input would be very appreciated. Thanks a lot. Navin Boppuri
On Thu, 14 Mar 2002, Navin Boppuri wrote:> params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf": No such file or directory > Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it > 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. > load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 > does not exist. > smbfs: failed to load nls 'iso8859-1' > > Why do I need smb.conf file???? Is there no way I can override it? Howsmbmount reads some default values from it. Try creating an empty file.> do I get those codepage files in? What is the message on nls???Your installation is missing the samba codepages. They are normally installed by a 'make install' but maybe you did something else. The "smbfs: failed to load nls ..." message means that you have specified a default kernel nls module, but that the requested module doesn't exist. Probably because you didn't configure the kernel build to build it. /Urban
smbmount is a program that allows a linux box to mount smb shares. In the past, it was considered entirely separate from the samba organization. They finally took it over or something, so now it comes with the samba distribution. In theory, it doesn't really need smb.conf, I think, although, there may be some configuration information it looks at. smb.conf is for your smbd, which allows others to mount your shares. So, I think you can ignore the smb.conf errors, providing all seems to be going well with smbmount. I don't know anything about code pages. This sounds as though you are running smbmount without having installed the rest of the samba package, perhaps. That might work. Don't know. Joel On Thu, Mar 14, 2002 at 01:27:13PM -0600, Navin Boppuri wrote:> Hello everyone, > > I am a newbie to samba. I am trying to mount a Windows 2000 share directory on my linux box using smbmount. I am able to do so successfully. But I do see some errors pop up when I run the command. My mount seems to be stable and it is mounted as rw. > > # smbmount "//EngineerWKS85/My Drivers" /mnt/samba -o username=MyUsername,password=MyPassword,workgroup=MyWorkgroup > > params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf": No such file or directory > Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it > 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. > load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.ISO8859-1 > does not exist. > smbfs: failed to load nls 'iso8859-1' > > Why do I need smb.conf file???? Is there no way I can override it? How do I get those codepage files in? What is the message on nls??? > > Any input would be very appreciated. Thanks a lot. > > Navin Boppuri > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
>smbmount reads some default values from it. Try creating an empty file.This seems to work.> do I get those codepage files in? What is the message on nls???Your installation is missing the samba codepages. They are normally installed by a 'make install' but maybe you did something else. I created the code pages using the make_codepages and make_unicodemap binaries and the definition files in codepages directory in samba source. I've managed to get rid of all the error messages and now, I get this error: root@sp_06:~# smbmount "//Engineer/My Drivers" /mnt/samba -o username=MyUsername,password=MyPassword,workgroup=MyWorkGroup 148: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed Access denied errros. Something happens that messes up the way I am sending the username and password (my guess). What do you think is going on here. Without all those codepages, things seems to work fine. Thanks for your help. Navin.
I tried making the change in the smb.conf file. Did not help. I have the same problem. Is there something else I can do?? Navin. Access denied errros. Something happens that messes up the way I am sending the username and password (my guess). What do you think is going on here. win2k certanly needs an encrypted password. So try the following in the smb.conf: [ global] encrypted passwords = yes I never tryed to mount a share from an window maschine, so its just a guess. the other way is to switsch off the encrypted password on the win2k maschine. there are patches for the windows registry in the docs thet are shiped with Samba. good luck tom Without all those codepages, things seems to work fine. Thanks for your help. Navin. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba