If you install Samba on Mybook from Debian “lenny” repo, you probably face to the following problem:
$ smbclient -L //localhost/
Domain=[NAS] OS=[Unix] Server=[Samba 3.0.26a]
Sharename Type Comment
--------- ---- -------
TTTTTTTTTTTT Disk
llllll Disk
IIIII IPC IIIIIIIIIIIIIIIIIIIIIIIII
Domain=[NAS] OS=[Unix] Server=[Samba 3.0.26a]
Server Comment
--------- -------
Workgroup Master
--------- -------
WORKGROUP
that is every “share” appears with first letter of share name, repeated length+1 chars of the name length.
This is caused by a bug of gcc compiler for ARM, that fails code generation if you use any level of optimization. This bug affect Samba up to release 3.0.28-1, and will be corrected in the 3.0.28-2 release of the Debian package.
References:
- Debian bug report #445566
- Honza Stastny website, that talk about this bug, and the battle to bring Samba to life on his Mybook
Note
The disk I installed on my Mybook (the one I use to made all the tests) fails, without warning, after less than five months. Having smartd installed not helped at all…
So I’m currently unable to do more tests, or give any help.
I’m sorry.


