SOLVED - Re: [Samba] Windows 2000/2003 shares -> danish character
problem.
Martin Moeller
martin at liga.dk
Thu Aug 5 10:07:00 GMT 2004
Forwarding didn't work. Trying again...
Hello-lo-o All-anybody?-none_I_guess,,.
I have managed to get the 'ø' (o-slash) I need by using 'cifs' to mount
my shares in stead of 'smbfs'. Here is an example:
mount -t cifs //10.20.30.40/data /mnt/Server -o
user=someuser,password=somepassword,iocharset=iso8859-1
(without iocharset you get UTF8, which is fine for the most part, but
not on all systems). Various other options can be specified, such as uid
and gid.
I get many error messages of various kinds if I do not explicitly state
'password=' (on Mandrake against W2K server).
On SuSE this works:
martin:/mnt # mount -t cifs //w2k/inetpub windows/ -o
username=martin,iocharset=iso8859-1
Password:
On Mandrake it wouldn't work unless I used the IP address in stead of
the NetBEUI name of the server. That stumped me for a while...
This worked really well on SuSE Linux 9.1, but I needed to update the
kernel on Mandrake 10 for it to function. I fetched this one:
ftp://ftp.sunet.se/pub/Linux/distributions/mandrakelinux/devel/10.1/
i586/Mandrake/RPMS/kernel-2.6.8.0.rc1.1mdk-1-1mdk.i586.rpm
(one line)
It is possible that all I needed to change was NetBEUI name to IP, but
the error messages were different on the two kernels..
The latest pam_mount works with cifs, but apparently doesn't remember to
add '-lz' to the Makefiles so you'll need to help it out there...
The options to pam_mount for cifs are bugging me right now, but I should
have a handle on that soon.
So, fellow Scandinavians, if you are lacking parts of you native
alphabet, try mounting with 'cifs' in stead of 'smbfs' and see what
happens.
I hope others will find this useful, since I have not found a single
thing out there that mentions this as a possible solition for native
alphabets gone wrong...
--
###
Martin Moeller
Liga LinDist ApS.
Faelledvej 16D
DK-2200 Copenhagen N
Tel: +45 35 36 95 05
Fax: +45 35 36 92 05
http://www.liga.dk
mailto: martin at liga.dk
More information about the samba
mailing list