[Samba] Re: Unicode, ASCII, and Samba3 ...
Hi, Thanks for all reply to my question. They helped me to find the solution. Here's this solution for the next person with the same problem :) If the parametter "character set" is not set, Samba2 don't convert filenames' charset, and write them "as they arrive from the client". My files also have theyr names in CodePage 850 :x , on an system configured to work with ISO8859-1 Samba3 can't work like this (or if it can... I didn't found how). There are 2 solutions : A/ Rebuilding Samba3 with Lib-iconv , and adding unix charset = CP850 in the samba config. B/ Converting all filenames from CP850 to the real unix charset (eg UTF8 or ISO8859-1 or ... I don't know your system :), and adding unix charset = LOCALE in the samba config . To do this, you can use convmv ( http://j3e.de/linux/convmv/ - thanks goes to Nicholas Brealey for the link). Or mix these 2 solutions in a "migration plan". (I will do the A/ first, and ii the future the B/ ... ) The B/ is great, because your files are now realy in the system's charset, and special chars are displayed fine, even in a simple text console, but it's an heavy operation and can be difficult to do if you have a huge volume of files and lot of users working on them. Julien AILHAUD From: Tom Schaefer <[EMAIL PROTECTED]> To: samba@lists.samba.org CC: [EMAIL PROTECTED] Subject: [Samba] Re: Unicode, ASCII, and Samba3 ... Date: Wed, 2 Nov 2005 07:43:27 -0600 I work at a university and when I upgraded from 2 to 3 only 1 user ever complained, a professor in the foreign languages department. I started to go down the road of conversion utilities and fiddling with code pages and character sets. Then a potential easy solution occurred to me. We have several Samba servers and the Unix boxes have a lot of disk in common; I still had Samba 2 on some systems. On the UNIX side I moved her files to where they where once again being shared by a Samba 2 server. As would be expected, from the client side, MS Windows, all the file names where instantly intact again. I copied all her files down from the Samba 2 server to local disk of a MS Windows box. From the MS Windows box I then copied the files up to the Samba 3 server. Ta da. Now they where on the Samba 3 server with file names intact. Of course doing something like that may not be feasible in your case. Good luck. Tom Schaefer On Wed, 26 Oct 2005 16:57:56 +0200 "Julien Ailhaud" <[EMAIL PROTECTED]> wrote: > > > Problem summary : > Files created with samba2 are now unreadable with samba3. I tested all > possible settings in samba, rebuild it with libiconv, already posted here > without reply ... without success. > > Today I analyzed the traffic between my station and the server, and I found an > interresting thing : > > With both version, filenames are transmited in ascii > code 130 gives "é" > code 135 gives "ç" > code 151 gives "ù" > > But ... > > In packets exchanged by my Samba2 server and the stastion, the flag "unicode > strings" is set to Zero ( --> ASCII ) > > In packets exchanged by my Samba3 server and the stastion, the flag "unicode > strings" is set to One ( --> UNICODE ) > > > I think that the problem is here, but I can't find how to change it, forcing > my Samba to use ASCII there. > > Any Idea ?? > > Thanks. _ Une chance par jour de gagner un voyage au soleil avec Magic Search ! http://www.magicsearch.fr -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba probleme
Bonjour, Pour info ceci est une Mailing List anglophone (même si tout serait tellement mieux en Français..:) . Also speak english here. Try this allow host parametter : allow hosts = 192.168.2. 127.0.0.1 Most computer user don't know what is a "dream box". You can explain what it is in your Post. Is it that : http://www.dream-multimedia-tv.de/english/products_dm7000.php ?? Regards. Julien [EMAIL PROTECTED] a écrit : > bonjour, je tente de faire fonctionner samba sur une dreambox. > > Voici les erreurs dans le log: > Got device type ? > 2005/10/27 22:25:41 Denied connection from THIERRY_SIDONIE (192.168.2.34) to > hdd > 2005/10/27 22:25:41 error packet at line 165 cmd=117 (SMBtconX) eclass=2 > ecode=4 > > voici le fichier smb.conf: > [global] > > log file = /media/hdd/log/samba/log.%m > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > netbios name = dreambox > server string = dreambox > username map = /etc/user.map > guest ok = yes > guest account = root > encrypt passwords = yes > smb passwd file = /etc/passwd > wins support = yes > local master = yes > domain master = yes > password server = none > security = share > #wins server = 192.168.2.3 > #interfaces = 192.168.2.3 > remote announce = 192.168.2.1/vorms.ch > workgroup = Mshome > debug level =7 > os level = 0 > > [hdd] > comment = HDD on Dreambox > writeable = yes > path = /media/hdd > guest ok = yes > browseable = yes > valid users = root, nobody, guest, invite, Thierry, Administrateur > allow hosts = 192.168.2./255.255.255.0,127.0.0.1 > public = yes > > [root] > > comment = Root on Dreambox ( Attention ! ) > path = / > writeable = yes > browseable = yes > guest ok = yes > valid users = root, nobody, guest, invite, Thierry, > ftpUser,Administrateur > allow hosts = 192.168.2./255.255.255.0,127.0.0.1 > public = yes > user.map > > root = root Thierry invite guest Administrateur THIERRY_SIDONIE > nobody = guest pcguest smbguest Thierry > > hosts > 127.0.0.1 localhost.localdomainlocalhost > 192.168.2.3 dreambox > 192.168.2.34 THIERRY_SIDONIE > > Merci beaucoup pour toute suggestion qui pourrait m'aider > Thierry Vorms > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] starting samba on aix
Hi. Which version did you install ? Where does the package come from ? Some package from BullFreeware sucks. Their version 3.0.4.0 ~works . I'm now testing Samba 3.0.20b compiled here with 'C for AIX Compiler, Version 6'. Regards Julien Chris Lenhard a écrit : > I've installed Samba using smit. Everything installed just fine. I've > configured my smb.conf file nicely. Whenever i try to start nmbd it looks > like it starts but when i do a ps -ef i can't find it. Whenever I try to > start "smbd", I get the following error: > > exec(): 0509-036 Cannot load program ./smbd because of the following errors: > 0509-130 Symbol resolution failed for smbd because: > 0509-136 Symbol strndup (number 198) is not exported from >dependent module /usr/lib/libc.a(shr.o). > 0509-192 Examine .loader section symbols with the > 'dump -Tv' command. > > Any help would be greatly appreciated! Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Unicode, ASCII, and Samba3 ...
Problem summary : Files created with samba2 are now unreadable with samba3. I tested all possible settings in samba, rebuild it with libiconv, already posted here without reply ... without success. Today I analyzed the traffic between my station and the server, and I found an interresting thing : With both version, filenames are transmited in ascii code 130 gives "é" code 135 gives "ç" code 151 gives "ù" But ... In packets exchanged by my Samba2 server and the stastion, the flag "unicode strings" is set to Zero ( --> ASCII ) In packets exchanged by my Samba3 server and the stastion, the flag "unicode strings" is set to One ( --> UNICODE ) I think that the problem is here, but I can't find how to change it, forcing my Samba to use ASCII there. Any Idea ?? Thanks. Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Charset issue with Samba 3.0.* and AIX5.2 ML5
Hey, I have AIX5.2 running with en_US ( ISO8859-1) as charset (see smitty shot bellow). Change/Show Cultural Convention, Language, or Keyboard Primary CULTURAL convention ISO8859-1 English (United States) [en_US] + Primary LANGUAGE translationISO8859-1 English (United States) [en_US] + I installed samba 3.0.4.0 from Bullfreeware. It works, but I have a big charset issue : Files created with the old Samba2, and which have special char in their filename (eg : é , ç , ... ) are now unreadable. Special char are replaced by an unknow char (displayed like a pipe), and are not accessible from, clients. Here is the [global] section of smb.conf where charset params are : [global] display charset = UTF8 unix charset = LOCALE #unix charset = ASCII #unix charset = UTF8 dos charset = ASCII I tested this, useless : - Without the dos charset parameter, filenames are truncated on the first special char. - With dos charset = ISO8859-1 , same result that with ascii - Compiled Samba 3.0.20b : special chars are replaced by underscores, but ... files are readable ! :) . Do someone have an idea ? How can I know exactly how my Samba 2 works with charset on my machine ? The testparm doesn't give a lot of info about charsets... Thanks Ce message est protégé par les règles relatives au secret des correspondances. Il est donc établi à destination exclusive de son destinataire. Celui-ci peut donc contenir des informations confidentielles. La divulgation de ces informations est à ce titre rigoureusement interdite. Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que toute pièce jointe. This message is protected by the secrecy of correspondence rules. Therefore, this message is intended solely for the attention of the addressee. This message may contain privileged or confidential information, as such the disclosure of these informations is strictly forbidden. If, by mistake, you have received this message, please return this message to the addressser whose e-mail address is written above and destroy this message and all files attached.-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba