On Wed, 2006-04-26 at 00:11 +0200, Christian Perrier wrote: > This is Debian bug #168732: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=168732 > > The most important part is probably Steve langasek's comments: > > > It appears that 'smbclient -L' is not able to view shares on an NT > server (or above) that are created with a space in the name, although it > is possible to access these shares if the name is given explicitly. The > reason is that NT, 2K, and XP will not return these shares in response > to a NetShareEnum, presumably because (as a warning under NT suggests > when creating such a share) DOS clients will be confused by such share > names. > > Windows clients get around this by doing a NetrShareEnum call on > \SRVSVC instead. Samba also implements this functionality, but the > necessary code is not linked into smbclient. > > Should it be? It seems easy enough to link it in, but so far smbclient > doesn't include any RPC code. Is it better to recommend that people use > one of the other RPC-aware tools (e.g., 'net share')? In that case, > what should be done for libsmbclient, which also has this problem? FWIW, Volker fixed this in upstream SVN a few weeks (days?) ago. smbclient will now actually try to use RPC first and fall back to RAP.
Cheers, Jelmer
signature.asc
Description: This is a digitally signed message part