Antwort: Re: [Samba] Samba 3.3.4 Umlaut in Share comment

2009-06-03 Thread Howard Allison


 Re: [Samba] Samba 3.3.4 Umlaut in Share comment

 Quoting Howard Allison (howard.alli...@pva.sozvers.at):
 
 
  Hi, I just upgraded from 3.0.32 to 3.3.4 on Aix 6.1, and noticed that a
  'net view' command from a windows xp workstation fails with a system
error
  1745. The share works perfectly fine, just the net view command
doesn't.
  This occurs when there is an umlaut in the comment line of the share.
Is
  this WAD?

 How is the smb.conf file encoded? Is it UTF-8 or ISO-8859-1?


 --
I assume ISO8859-1(In the smitty 'convert flat file' menu UTF-8 isn't an
option for the target - there are a few issues with the utf-8 packages for
AIX 6... they don't seem to exist...
In any case it's the same smb.conf that worked in 3.0.32...with umlauts...


--
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: Antwort: Re: [Samba] Samba 3.3.4 Umlaut in Share comment

2009-06-03 Thread Christian Perrier
Quoting Howard Allison (howard.alli...@pva.sozvers.at):

  How is the smb.conf file encoded? Is it UTF-8 or ISO-8859-1?
 
 
  --
 I assume ISO8859-1(In the smitty 'convert flat file' menu UTF-8 isn't an
 option for the target - there are a few issues with the utf-8 packages for
 AIX 6... they don't seem to exist...




 In any case it's the same smb.conf that worked in 3.0.32...with umlauts...


IIRC, full Unicode-only internal handling on strings has only been
completed in 3.2 (samba developers would probably better confirm this
than me) so it wouldn't be surprising that it doesn't work anymore.

You really should convert that file to UTF-8:

iconv -f iso-8859-1 -t utf-8 smb.conf smb.conf.new

Hopefully, AIX 6 has iconv..:-)...otherwise you need to edit the file
on an UTF-8 enabled system (any recent Linux distro is probably well
suited).

at worst, just try replacing the umlauts with ASCII characters, just
to see (of course that will lead to Ugly German...).


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: Antwort: Re: [Samba] Samba 3.3.4 Umlaut in Share comment

2009-06-03 Thread William Jojo

Christian Perrier wrote:

Quoting Howard Allison (howard.alli...@pva.sozvers.at):

  

How is the smb.conf file encoded? Is it UTF-8 or ISO-8859-1?


--
  

I assume ISO8859-1(In the smitty 'convert flat file' menu UTF-8 isn't an
option for the target - there are a few issues with the utf-8 packages for
AIX 6... they don't seem to exist...






  

In any case it's the same smb.conf that worked in 3.0.32...with umlauts...




IIRC, full Unicode-only internal handling on strings has only been
completed in 3.2 (samba developers would probably better confirm this
than me) so it wouldn't be surprising that it doesn't work anymore.

You really should convert that file to UTF-8:

iconv -f iso-8859-1 -t utf-8 smb.conf smb.conf.new

Hopefully, AIX 6 has iconv..:-)...otherwise you need to edit the file
on an UTF-8 enabled system (any recent Linux distro is probably well
suited).

  


It does, but the AIX iconv is deficient (and has been for some time). 
You will likely need GNU libiconv (1.11 or higher - 1.13 is now available).


You can also download the AIX binaries from my site. :-) Just follow the 
Binaries link from the Samba site.



Cheers,
Bill


at worst, just try replacing the umlauts with ASCII characters, just
to see (of course that will lead to Ugly German...).


  


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Antwort: Re: Antwort: Re: [Samba] Samba 3.3.4 Umlaut in Share comment

2009-06-03 Thread Howard Allison


 Christian Perrier bubu...@debian.org
 Gesendet von: samba-bounces+howard.allison=pva.sozvers...@lists.samba.org

 03.06.2009 19:22

 An

 samba@lists.samba.org

 Kopie

 Thema

 Re: Antwort: Re: [Samba] Samba 3.3.4 Umlaut in Share comment

 Quoting Howard Allison (howard.alli...@pva.sozvers.at):

   How is the smb.conf file encoded? Is it UTF-8 or ISO-8859-1?
  
  
   --
  I assume ISO8859-1(In the smitty 'convert flat file' menu UTF-8 isn't
an
  option for the target - there are a few issues with the utf-8 packages
for
  AIX 6... they don't seem to exist...




  In any case it's the same smb.conf that worked in 3.0.32...with
umlauts...


 IIRC, full Unicode-only internal handling on strings has only been
 completed in 3.2 (samba developers would probably better confirm this
 than me) so it wouldn't be surprising that it doesn't work anymore.

 You really should convert that file to UTF-8:

 iconv -f iso-8859-1 -t utf-8 smb.conf smb.conf.new

 Hopefully, AIX 6 has iconv..:-)...otherwise you need to edit the file
 on an UTF-8 enabled system (any recent Linux distro is probably well
 suited).

 at worst, just try replacing the umlauts with ASCII characters, just
 to see (of course that will lead to Ugly German...).


 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba
Thanks Christian, as William Jojo suggested - the AIX iconv isn't up to the
task - I've built a gnu iconv on AIX 6.1 here - and it does fix the
problem, but the umlaut isn't legible anymore with vi - looks like we'll be
sticking with the 'ugly German' solution :-)

thanks both for your help!


--
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba