[Samba-it] problema samba 3.0.21a: cancellazione driver

Fabio fabio.marcone at duet.it
Mon Jan 9 10:37:01 MST 2006


ciao a tutti,
ho aggiornato un pdc samba+ldap dalla versione 3.0.20 a 3.0.21a e ho i
seguenti errori nella cancellazione dei driver:

# rpcclient <dominio> -U <user>%<pass> -c "deldriver \"HP LaserJet 4\""
Failed to remove driver HP LaserJet 4 for arch [Windows NT x86] - error
0xbb9!
Failed to remove driver HP LaserJet 4 for arch [Windows NT x86] - error
0xbb9!
result was WERR_UNKNOWN_PRINTER_DRIVER

# rpcclient  <dominio> -U <user>%<pass> -c "setdriver \"HP LaserJet 4\" none"
rpc_api_pipe: Remote machine <dominio> pipe \spoolss fnum 0x7475returned
critical error. Error was Call returned zero bytes (EOF)
prs_mem_get: reading data of size 4 would overrun buffer by 4 bytes.
SetPrinter call failed!
rpc_api_pipe: Remote machine <dominio> pipe \spoolss fnum 0x7475returned
critical error. Error was Call returned zero bytes (EOF)
prs_mem_get: reading data of size 4 would overrun buffer by 4 bytes.
result was WERR_GENERAL_FAILURE
cli_rpc_pipe_close: cli_close failed on pipe \spoolss, fnum 0x7475 to
machine <dominio>.  Error was Call returned zero bytes (EOF)


Il primo errore è dovuto al fatto che il driver che voglio cancellare è
associato ad una stampante (almeno è quello che ho capito googlendo un
po). Il problema è che il secondo comando (setdriver, che mi permette di
disassociare un driver da una stampante) non viene eseguito e gli errori
riportati non mi hanno aiutato molto (google non mi è stato amico).

Questa è la situazione delle stampanti:
# rpcclient  <dominio> -U <user>%<pass> -c 'enumprinters'                 
    flags:[0x800000]
        name:[\\<dominio>\hp LaserJet 1010]
        description:[\\<dominio>\hp LaserJet 1010,hp LaserJet 1010,HP
laserjet 1010 di Marino]
        comment:[HP laserjet 1010 di Marino]

        flags:[0x800000]
        name:[\\<dominio>\HP LaserJet 4]
        description:[\\<dominio>\HP LaserJet 4,HP LaserJet 4,HP Laserjet 4]
        comment:[HP Laserjet 4]


Questa è la situazione dei driver:
# rpcclient  <dominio> -U <user>%<pass> -c 'enumdrivers'

[Windows NT x86]
Printer Driver Info 1:
        Driver Name: [hp LaserJet 1010]

Printer Driver Info 1:
        Driver Name: [HP LaserJet 4]



Qualcuno mi può dare una mano?

Grazie,
Fabio




More information about the samba-it mailing list