Odp: smbclient -> amount of free disk space incorrect
Rafał Szcześniak
rszczesniak at mis.com.pl
Thu Sep 28 10:17:42 GMT 2000
Emmanuel Flachaire <e.flachaire at lse.ac.uk>
00-09-27 19:14
Do: "Rafał Szcześniak" <rszczesniak at mis.com.pl>
DW: samba-ntdom at us4.samba.org
Temat: Odp: smbclient -> amount of free disk space incorrect
>>Linux: ~ > smbclient //SERVER/printer1
>>added interface ip=198.149.153.40 bcast=198.149.159.255
nmask=255.255.248.0
>>Got a positive name query response from 198.149.199.221 ( 198.149.153.51
)
>>Domain=[TOTO] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
>>smb: \> dir
>>ERRDOS - ERRnoaccess (Access denied.) listing \*
>>
>> 0 blocks of size 0. 0 blocks available
>>smb: \>
> What do you expect to achieve, by typing such command in printer share?
> Rafa
I cannot print. So, I am diagnosing my samba server with the list of tests
proposed by Andrew Tridgell and detailed in the documentation of samba on
my Debian/Linux computer (file /usr/doc/samba/DIAGNOSIS.txt.gz). In this
documentation, Test 7 recommends to run the command
smbclient //BIGSERVER/TMP
and says :
<<Once connected (smb: \>), you should especially check that the amount
of
free disk space shown is correct when you type "dir">>.
That is what I do.
Emmanuel
Yes, but this make sense in disk share, as opposed to printer. I would
suggest to replace lpr/lpq/lprm params in smb.conf with commands
like this:
echo "Attempt to use lpr command to do a new print job"
or
echo "Attempt to use lpr command to do a new print job" >> logfile
and then watch your console/logfile. If printing at smb-level works you'll
notice some messages.
Rafał
More information about the samba-ntdom
mailing list