[Samba] smbclient queue and cancel commands not working

Joerg Thuemmler listen at vordruckleitverlag.de
Thu Mar 4 01:57:22 MST 2010


Hi,

I'm trying to manage printer queues on a XP box in the lan. Other client
commands work well, even

echo "test"  | smbclient //XPBOX/PRINTER  -c "print -"

works as expected and starts a print job. But either queue and cancel
don't work, without debug flags with no errors. Cancel even says job is
deleted. With -d4 I see

# smbclient -d3 //volker/HPDJ1120C -U admin  -c "cancel 1"

lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
interpret_interface: using netmask value 24 from config file on
interface eth1
added interface eth1 ip=192.168.0.1 bcast=192.168.0.255
netmask=255.255.255.0
Client started (version 3.2.7-11.4.1-2210-SUSE-CODE11).
Connecting to 192.168.0.10 at port 445
Enter admin's password:
Doing spnego session setup (blob length=16)
server didn't supply a full spnego negprot
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
Domain=[VOLKER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
dos_clean_name [(null)]
Job 1 cancelled

This is OpenSuSE's (11.1) samba-version 3.2.7-11.4.1 but it's the same
with Knoppix (6.2) samba-version 3.4.2

I searched the web for this but with no success (infos on the "server
didn't supply a full spnego negprot" were related to general samba
access errors which I don't have)


any help is thankfully accepted

cu jth


More information about the samba mailing list