From: Richard Lamboj on

Hello,

when i send the SIGHUP signal to Samba, then Samba won't load the printers
from CUPS. I need to shutdown Samba and start it again.

Now when i'am running cupsaddsmb i got the following errors(this error occours
in 3.5.x but not in 3.2.x):

server-p:/# cupsaddsmb -H server-p -v edv01 edv02 edv03
Kennwort für root erforderlich, um über SAMBA auf server-p zugreifen zu
können:
Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6546c6f -c
„mkdir W32X86;put /tmp/4ba38b6126eb3
W32X86/edv01.ppd;put /usr/share/cups/drivers/ps5ui.dll
W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
W32X86/pscript5.dll“
Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/4ba38b6126eb3 as \W32X86/edv01.ppd (2216,4 kb/s) (average
2216,4 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (136486,7
kb/s) (average 12545,9 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (510,9
kb/s) (average 3075,8 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
(41426,1 kb/s) (average 14224,2 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
(234488,6 kb/s) (average 19230,4 kb/s)

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c
„adddriver "Windows NT
x86" "edv01:pscript5.dll:edv01.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,edv01.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“
Printer Driver edv01 successfully installed.

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6546c6f -c „setdriver
edv01 edv01“
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!
Successfully set edv01 to driver edv01.
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!

Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b6611474 -c
„mkdir W32X86;put /tmp/4ba38b6611328
W32X86/edv02.ppd;put /usr/share/cups/drivers/ps5ui.dll
W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
W32X86/pscript5.dll“
Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/4ba38b6611328 as \W32X86/edv02.ppd (272350000,0 kb/s)
(average inf kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (136486,7
kb/s) (average 163096,7 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (437,9
kb/s) (average 3291,6 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
(30460,4 kb/s) (average 13442,6 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
(234488,6 kb/s) (average 18196,5 kb/s)

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c
„adddriver "Windows NT
x86" "edv02:pscript5.dll:edv02.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,edv02.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“
Printer Driver edv02 successfully installed.

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b6611474 -c „setdriver
edv02 edv02“
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!
Successfully set edv02 to driver edv02.
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!

Befehl ausführen: smbclient //server-p/print$ -N -A /tmp/4ba38b66759ee -c
„mkdir W32X86;put /tmp/4ba38b667589a
W32X86/edv03.ppd;put /usr/share/cups/drivers/ps5ui.dll
W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp
W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf
W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll
W32X86/pscript5.dll“
Domain=[PRUEFUNG] OS=[Unix] Server=[Samba 3.5.1]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/4ba38b667589a as \W32X86/edv03.ppd (272350000,0 kb/s)
(average inf kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (136486,7
kb/s) (average 163096,7 kb/s)
putting file /usr/share/cups/drivers/pscript.hlp as \W32X86/pscript.hlp (252,8
kb/s) (average 1914,5 kb/s)
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf
(30460,4 kb/s) (average 9267,3 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll
(234488,6 kb/s) (average 12628,9 kb/s)

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c
„adddriver "Windows NT
x86" "edv03:pscript5.dll:edv03.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,edv03.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"“
Printer Driver edv03 successfully installed.

Befehl ausführen: rpcclient server-p -N -A /tmp/4ba38b66759ee -c „setdriver
edv03 edv03“
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!
Successfully set edv03 to driver edv03.
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
received from host server-p!

Kind Regard

Richi
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba