I'm using 3.0.24 with patches from http://us4.samba.org/samba/patches/.
On my XP client the print services for Unix are installed, I shared the
local printer named 'jet' on the XP client to all users and the
connecting user is an existing user on linux (system and samba user) and XP.
I cannot execute the dir command in smbclient for this printer:
deveis # smbclient -Utb%password //192.168.0.15/jet
Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \> dir
NT_STATUS_ACCESS_DENIED listing \*
0 blocks of size 0. 9 blocks available
smb: \> q
Here a try with a local smb printer queue on the linux host:
deveis # smbclient -Utb%password //192.168.0.14/remoteljet
Domain=[TOMMAIK] OS=[Unix] Server=[Samba 3.0.24-for-eisfair-3]
smb: \> dir
. D 0 Sun Feb 18 23:43:34 2007
.. DR 0 Sun Feb 18 23:20:24 2007
38234 blocks of size 262144. 21005 blocks available
smb: \> q
I mean this was functional in older samba versions...
der tom
On Mon, Feb 19, 2007 at 12:05:10AM +0100, Thomas Bork wrote:> I mean this was functional in older samba versions...Can you send sniffs of both behaviours? Thanks, Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070219/576823b0/attachment.bin
Volker Lendecke wrote:>> I mean this was functional in older samba versions... > Can you send sniffs of both behaviours?Mmmh, in 3.0.23c and 3.0.21c the behavior is the same: deveis # smbclient -Utb%password //192.168.0.15/jet Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \> dir NT_STATUS_ACCESS_DENIED listing \* 0 blocks of size 0. 9 blocks available smb: \> q deveis # smbd -V Version 3.0.23c-for-eisfair-2 deveis # smbclient -Utb%password //192.168.0.15/jet Domain=[TB3] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] smb: \> dir NT_STATUS_ACCESS_DENIED listing \* 0 blocks of size 0. 0 blocks available smb: \> q deveis # smbd -V Version 3.0.21c-for-eisfair-3 deveis # But why is it impossible to listing the printer share directory on windows clients? der tom
On Mon, Feb 19, 2007 at 07:00:22PM +0100, Thomas Bork wrote:> But why is it impossible to listing the printer share directory on > windows clients?Asked the other way round: What would you expect there? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070219/438c4ddc/attachment.bin
Volker Lendecke wrote:>> But why is it impossible to listing the printer share directory on >> windows clients? > Asked the other way round: What would you expect there?The same output as on linux machines: From the first posting: Here a try with a local smb printer queue on the linux host: deveis # smbclient -Utb%password //192.168.0.14/remoteljet Domain=[TOMMAIK] OS=[Unix] Server=[Samba 3.0.24-for-eisfair-3] smb: \> dir . D 0 Sun Feb 18 23:43:34 2007 .. DR 0 Sun Feb 18 23:20:24 2007 38234 blocks of size 262144. 21005 blocks available smb: \> q der tom