[Samba] samba 302 alpha cupsaddmdriver failed

pouchou jean-marc.pouchoulon at ac-montpellier.fr
Mon Feb 17 14:35:17 GMT 2003


Hi, 
I am working on samba 302 alpha with cups-1-1-18.
Cupsaddm failed on setdriver command and upon two differents servers:
Using rpcclient 227a version with smbserver 30alpha2 provides the same
error.


[root@ tmp]# rpcclient localhost -N -U'root%xxxxxx' -c 'setdriver lx98 lx98'
-d3
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf" Processing section "[global]" added
interface ip=X.X.X.X bcast= nmask=255.255.248.0
resolve_wins: Attempting wins lookup for name localhost<0x20>
resolve_wins: using WINS server 127.0.0.1 and tag '*'
Got a positive name query response from 127.0.0.1 ( 127.0.0.1 ) Connecting
to host=localhost share=IPC$ Connecting to 127.0.0.1 at port 445 Doing
spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got
principal=NONE
lsa_io_sec_qos: length c does not match size 8
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL

On level 99 debug one error :
rpc_check_hdr: rdata->data_size = 28
000000 smb_io_rpc_hdr rpc_hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 02
    0003 flags     : 03
    0004 pack_type0: 10
    0005 pack_type1: 00
    0006 pack_type2: 00
    0007 pack_type3: 00
    0008 frag_len  : 001c
    000a auth_len  : 0000
    000c call_id   : 00000009
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 00000004
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
rpc_api_pipe: len left: 0 smbtrans read: 28
rpc_api_pipe: fragment first and last both set
000018 spoolss_io_r_setprinter
    0018 status: WERR_ACCESS_DENIED


Printers OK:
Got a positive name query response from 127.0.0.1 ( 127.0.0.1 ) Doing spnego
session setup (blob length=58)
        flags:[0x800000]
        name:[\\serv5\lx98]
        description:[\\serv5\lx98,,]
        comment:[]


        
Drivers OK:
[root@ tmp]# rpcclient localhost -N -U'root%XXXXXXX' -c 'enumdrivers' added
interface ip= bcast= nmask=255.255.248.0 Got a positive name query response
from 127.0.0.1 ( 127.0.0.1 ) Doing spnego session setup (blob length=58)

[Windows 4.0]
Printer Driver Info 1:
        Driver Name: [lx98]


[Windows NT x86]
Printer Driver Info 1:
        Driver Name: [lx98]


Any ideas ?
Thanks.



More information about the samba mailing list