Joerg Thuemmler
2010-Mar-04 08:57 UTC
[Samba] smbclient queue and cancel commands not working
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
Joerg Thuemmler
2010-Mar-05 07:28 UTC
[Samba] smbclient queue and cancel commands not working
Joerg Thuemmler schrieb:> 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" >Hi, meanwhile I saw the Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot -d3 output is the same for the working print command above, so it's not related to the problem I think. Are the "queue" and "cancel" commands working for others? Or how are doing that: kill a print job on a win box??? any help is thankfully accepted cu jth
I have same issue when using smbclient, queue and cancel command. have you found the solution of this issue? I use AIX V7.5.3 with Windows 2003 print server. Thanks, Fred Joerg Thuemmler wrote:> > 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 > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >-- View this message in context: http://old.nabble.com/smbclient-queue-and-cancel-commands-not-working-tp27778375p28806892.html Sent from the Samba - General mailing list archive at Nabble.com.